1 # RUN: llvm-objcopy %p/Inputs/dynamic.so %t
2 # RUN: llvm-readobj --dynamic-table %t | FileCheck %s
3 # RUN: llvm-readobj --sections %t | FileCheck --check-prefix=LINK %s
5 #CHECK: DynamicSection [
6 #CHECK-NEXT: Tag Type Name/Value
7 #CHECK-NEXT: 0x0000000000000006 SYMTAB 0x1C8
8 #CHECK-NEXT: 0x000000000000000B SYMENT 24
9 #CHECK-NEXT: 0x0000000000000005 STRTAB 0x210
10 #CHECK-NEXT: 0x000000000000000A STRSZ 5
11 #CHECK-NEXT: 0x0000000000000004 HASH 0x1F8
12 #CHECK-NEXT: 0x0000000000000000 NULL 0x0
16 #LINK-NEXT: Name: .dynstr
19 #LINK-NEXT: Type: SHT_DYNAMIC