1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objdump -p %t | FileCheck %s
4 # CHECK: Dynamic Section:
6 # CHECK-NEXT: PLTRELSZ 0x0000000000000010
7 # CHECK-NEXT: PLTGOT 0x0000000000001000
8 # CHECK-NEXT: HASH 0x0000000000001000
9 # CHECK-NEXT: STRTAB 0x0000000000001000
10 # CHECK-NEXT: SYMTAB 0x0000000000001000
11 # CHECK-NEXT: RELA 0x0000000000001000
12 # CHECK-NEXT: RELASZ 0x0000000000000010
13 # CHECK-NEXT: RELAENT 0x0000000000000789
14 # CHECK-NEXT: STRSZ 0x0000000000000010
15 # CHECK-NEXT: SYMENT 0x0000000000000987
16 # CHECK-NEXT: INIT 0x0000000000001000
17 # CHECK-NEXT: FINI 0x0000000000001000
18 # CHECK-NEXT: SONAME U
20 # CHECK-NEXT: SYMBOLIC 0x1234567890abcdef
21 # CHECK-NEXT: REL 0x0000000000001000
22 # CHECK-NEXT: RELSZ 0x0000000000000010
23 # CHECK-NEXT: RELENT 0x0000000000000123
24 # CHECK-NEXT: PLTREL 0x0000000000000007
25 # CHECK-NEXT: DEBUG 0xfedcba0987654321
26 # CHECK-NEXT: TEXTREL 0x1122334455667788
27 # CHECK-NEXT: JMPREL 0x0000000000001000
28 # CHECK-NEXT: BIND_NOW 0x8877665544332211
29 # CHECK-NEXT: INIT_ARRAY 0x0000000000001000
30 # CHECK-NEXT: FINI_ARRAY 0x0000000000001000
31 # CHECK-NEXT: INIT_ARRAYSZ 0x0000000000000010
32 # CHECK-NEXT: FINI_ARRAYSZ 0x0000000000000010
33 # CHECK-NEXT: RUNPATH w
34 # CHECK-NEXT: FLAGS 0xaabbccddeeff9900
35 # CHECK-NEXT: PREINIT_ARRAY 0x0000000000001000
36 # CHECK-NEXT: PREINIT_ARRAYSZ 0x0000000000000010
37 # CHECK-NEXT: SYMTAB_SHNDX 0x0000000000001000
38 # CHECK-NEXT: RELRSZ 0x0000000000000010
39 # CHECK-NEXT: RELR 0x0000000000001000
40 # CHECK-NEXT: RELRENT 0x0000000000004321
41 # CHECK-NEXT: ANDROID_REL 0x0000000000001000
42 # CHECK-NEXT: ANDROID_RELSZ 0x0000000000000010
43 # CHECK-NEXT: ANDROID_RELA 0x0000000000001000
44 # CHECK-NEXT: ANDROID_RELASZ 0x0000000000000010
45 # CHECK-NEXT: ANDROID_RELR 0x0000000000001000
46 # CHECK-NEXT: ANDROID_RELRSZ 0x0000000000000010
47 # CHECK-NEXT: ANDROID_RELRENT 0x0000000000001234
48 # CHECK-NEXT: GNU_HASH 0x0000000000001000
49 # CHECK-NEXT: TLSDESC_PLT 0x0000000000001000
50 # CHECK-NEXT: TLSDESC_GOT 0x0000000000001000
51 # CHECK-NEXT: RELACOUNT 0x0000000000000000
52 # CHECK-NEXT: RELCOUNT 0x0000000000000000
53 # CHECK-NEXT: FLAGS_1 0x0000000087654321
54 # CHECK-NEXT: VERSYM 0x0000000000001000
55 # CHECK-NEXT: VERDEF 0x0000000000001000
56 # CHECK-NEXT: VERDEFNUM 0x0000000000000000
57 # CHECK-NEXT: VERNEED 0x0000000000001000
58 # CHECK-NEXT: VERNEEDNUM 0x0000000000000000
59 # CHECK-NEXT: AUXILIARY D
60 # CHECK-NEXT: FILTER U
61 # CHECK-NEXT: <unknown:>0x1234abcd 0x0000000000000001
74 Content: "004400550066007700"
111 Value: 0x1234567890abcdef
121 Value: 0xfedcba0987654321
123 Value: 0x1122334455667788
127 Value: 0x8877665544332211
132 - Tag: DT_INIT_ARRAYSZ
134 - Tag: DT_FINI_ARRAYSZ
139 Value: 0xaabbccddeeff9900
140 - Tag: DT_PREINIT_ARRAY
142 - Tag: DT_PREINIT_ARRAYSZ
144 - Tag: DT_SYMTAB_SHNDX
152 - Tag: DT_ANDROID_REL
154 - Tag: DT_ANDROID_RELSZ
156 - Tag: DT_ANDROID_RELA
158 - Tag: DT_ANDROID_RELASZ
160 - Tag: DT_ANDROID_RELR
162 - Tag: DT_ANDROID_RELRSZ
164 - Tag: DT_ANDROID_RELRENT
168 - Tag: DT_TLSDESC_PLT
170 - Tag: DT_TLSDESC_GOT