1 # RUN: llvm-objdump -D %p/Inputs/xcoff-section-headers.o | \
2 # RUN: FileCheck --check-prefixes=COMMON,PLAIN %s
4 # RUN: llvm-objdump -D --symbol-description %p/Inputs/xcoff-section-headers.o | \
5 # RUN: FileCheck --check-prefixes=COMMON,DESC %s
7 # RUN: llvm-objdump -D -r --symbol-description %p/Inputs/xcoff-section-headers.o | \
8 # RUN: FileCheck --check-prefixes=COMMON,DESC,RELOC %s
10 # xcoff-section-headers.o Compiled with IBM XL C/C++ for AIX, V16.1.0
11 # compiler command: xlc -qtls -o xcoff-section-headers.o -c test.c
17 ## __thread double d = 3.14159;
23 COMMON: Inputs/xcoff-section-headers.o: file format aixcoff-rs6000
24 COMMON: Disassembly of section .text:
25 PLAIN: 00000000 <.func>:
26 DESC: 00000000 (idx: 16) .func:
27 COMMON-NEXT: 0: 80 62 00 04 lwz 3, 4(2)
28 RELOC: 00000002: R_TOC (idx: 26) a[TC]
29 COMMON-NEXT: 4: 80 63 00 00 lwz 3, 0(3)
30 COMMON-NEXT: 8: 4e 80 00 20 blr
31 COMMON-NEXT: c: 00 00 00 00 <unknown>
32 COMMON-NEXT: 10: 00 00 20 40 <unknown>
33 COMMON-NEXT: 14: 00 00 00 01 <unknown>
34 COMMON-NEXT: 18: 00 00 00 0c <unknown>
35 COMMON-NEXT: 1c: 00 04 66 75 <unknown>
36 COMMON-NEXT: 20: 6e 63 00 00 xoris 3, 19, 0
38 COMMON: Disassembly of section .data:
39 PLAIN: 00000080 <func>:
40 DESC: 00000080 (idx: 22) func[TC]:
41 COMMON-NEXT: 80: 00 00 00 94 <unknown>
42 RELOC: 00000080: R_POS (idx: 20) func[DS]
44 DESC: 00000084 (idx: 26) a[TC]:
45 COMMON-NEXT: 84: 00 00 00 a4 <unknown>
46 RELOC: 00000084: R_POS (idx: 24) a[RW]
48 DESC: 00000088 (idx: 30) b[TC]:
49 COMMON-NEXT: 88: 00 00 00 a0 <unknown>
50 RELOC: 00000088: R_POS (idx: 28) b[RW]
52 DESC: 0000008c (idx: 34) c[TC]:
53 COMMON-NEXT: 8c: 00 00 00 08 <unknown>
54 RELOC: 0000008c: R_TLS (idx: 32) c[UL]
56 DESC: 00000090 (idx: 38) d[TC]:
57 COMMON-NEXT: 90: 00 00 00 00 <unknown>
58 RELOC: 00000090: R_TLS (idx: 36) d[TL]
59 PLAIN: 00000094 <func>:
60 DESC: 00000094 (idx: 20) func[DS]:
61 COMMON-NEXT: 94: 00 00 00 00 <unknown>
62 RELOC: 00000094: R_POS (idx: 16) .func
63 COMMON-NEXT: 98: 00 00 00 80 <unknown>
64 RELOC: 00000098: R_POS (idx: 18) TOC[TC0]
65 COMMON-NEXT: 9c: 00 00 00 00 <unknown>
67 DESC: 000000a0 (idx: 28) b[RW]:
68 COMMON-NEXT: a0: 00 00 30 39 <unknown>
69 COMMON: Disassembly of section .bss:
71 DESC: 000000a4 (idx: 24) a[RW]:
73 COMMON: Disassembly of section .tdata:
75 DESC: 00000000 (idx: 36) d[TL]:
76 COMMON-NEXT: 0: 40 09 21 f9 bdnzfl 9, 0x21f8
77 COMMON-NEXT: 4: f0 1b 86 6e <unknown>
78 COMMON: Disassembly of section .tbss:
80 DESC: 00000008 (idx: 32) c[UL]: