1 # RUN: llvm-objdump -p %p/Inputs/private-headers-x86_64.elf | FileCheck %s
2 # RUN: llvm-objcopy --strip-sections %p/Inputs/private-headers-x86_64.elf %t
3 # RUN: llvm-objdump -p %t | FileCheck %s
5 # CHECK: NEEDED libstdc++.so.6
6 # CHECK: NEEDED libm.so.6
7 # CHECK: NEEDED libgcc_s.so.1
8 # CHECK: NEEDED libc.so.6
9 # CHECK: INIT 0x00000000000006a0
10 # CHECK: FINI 0x0000000000000924
11 # CHECK: INIT_ARRAY 0x0000000000200da8
12 # CHECK: INIT_ARRAYSZ 0x0000000000000010
13 # CHECK: FINI_ARRAY 0x0000000000200db8
14 # CHECK: FINI_ARRAYSZ 0x0000000000000008
15 # CHECK: GNU_HASH 0x0000000000000298
16 # CHECK: STRTAB 0x00000000000003c8
17 # CHECK: SYMTAB 0x00000000000002c0
18 # CHECK: STRSZ 0x000000000000012f
19 # CHECK: SYMENT 0x0000000000000018
20 # CHECK: DEBUG 0x0000000000000000
21 # CHECK: PLTGOT 0x0000000000201000
22 # CHECK: PLTRELSZ 0x0000000000000048
23 # CHECK: PLTREL 0x0000000000000007
24 # CHECK: JMPREL 0x0000000000000658
25 # CHECK: RELA 0x0000000000000550
26 # CHECK: RELASZ 0x0000000000000108
27 # CHECK: RELAENT 0x0000000000000018
28 # CHECK: FLAGS_1 0x0000000008000000
29 # CHECK: VERNEED 0x0000000000000510
30 # CHECK: VERNEEDNUM 0x0000000000000002
31 # CHECK: VERSYM 0x00000000000004f8
32 # CHECK: RELACOUNT 0x0000000000000004
33 # CHECK: RELRSZ 0x0000000000000014
34 # CHECK: RELR 0x0000000087654321
35 # CHECK: RELRENT 0x0000000000000010