From d326d05fb9c794e93fc7fc0601028f196600f7e2 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 20 Feb 2013 02:37:12 +0000 Subject: [llvm-readobj] Add ELF .dynamic table dumping. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175592 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Object/readobj-shared-object.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test') diff --git a/test/Object/readobj-shared-object.test b/test/Object/readobj-shared-object.test index 3065c6f..2c0b54d 100644 --- a/test/Object/readobj-shared-object.test +++ b/test/Object/readobj-shared-object.test @@ -71,6 +71,19 @@ ELF: .symtab {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} r ELF: .strtab {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} rodata ELF: Total: 14 +ELF:Dynamic section contains 9 entries +ELF: Tag Type Name/Value +ELF: 00000001 (NEEDED) Shared library: [libc.so.6] +ELF: 00000001 (NEEDED) Shared library: [libm.so.6] +ELF: 0000000e (SONAME) Library soname: [libfoo.so] +ELF: 00000004 (HASH) {{[0-9a-f]+}} +ELF: 00000005 (STRTAB) {{[0-9a-f]+}} +ELF: 00000006 (SYMTAB) {{[0-9a-f]+}} +ELF: 0000000a (STRSZ) {{[0-9]+}} (bytes) +ELF: 0000000b (SYMENT) {{[0-9]+}} (bytes) +ELF: 00000000 (NULL) 0x0 +ELF: Total: 9 + ELF:Libraries needed: ELF: libc.so.6 ELF: libm.so.6 -- cgit v1.1