aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2013-02-20 02:37:12 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2013-02-20 02:37:12 +0000
commitd326d05fb9c794e93fc7fc0601028f196600f7e2 (patch)
treecf029adfcba0f251aac254aae9fc6510852a7560 /test
parent7cc098d805b3c294e842f8ceea3e5e55652f33f9 (diff)
downloadexternal_llvm-d326d05fb9c794e93fc7fc0601028f196600f7e2.zip
external_llvm-d326d05fb9c794e93fc7fc0601028f196600f7e2.tar.gz
external_llvm-d326d05fb9c794e93fc7fc0601028f196600f7e2.tar.bz2
[llvm-readobj] Add ELF .dynamic table dumping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Object/readobj-shared-object.test13
1 files changed, 13 insertions, 0 deletions
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