Commit | Line | Data |
---|---|---|
e821645d | 1 | #objdump: --syms --special-syms -d |
aa32346d | 2 | #name: ARM Mapping Symbols for .short (ELF version) |
e821645d | 3 | # This test is only valid on ELF based ports. |
0085488a | 4 | #not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-*eabi* *-*-syymbianelf *-*-linux-* *-*-vxworks *-*-elf *-*-nacl* |
aa32346d | 5 | #source: mapshort.s |
e821645d DJ |
6 | |
7 | # Test the generation and use of ARM ELF Mapping Symbols | |
8 | ||
9 | .*: +file format .*arm.* | |
10 | ||
11 | SYMBOL TABLE: | |
12 | 0+00 l d .text 00000000 .text | |
13 | 0+00 l d .data 00000000 .data | |
14 | 0+00 l d .bss 00000000 .bss | |
15 | 0+00 l F .text 00000000 foo | |
16 | 0+00 l .text 00000000 \$a | |
17 | 0+04 l .text 00000000 \$t | |
18 | 0+08 l .text 00000000 \$d | |
19 | 0+12 l .text 00000000 \$t | |
20 | 0+16 l .text 00000000 \$d | |
21 | 0+18 l .text 00000000 \$a | |
22 | 0+1c l .text 00000000 \$d | |
23 | 0+1f l .text 00000000 bar | |
90723616 RE |
24 | 0+00 l .data 00000000 wibble |
25 | 0+00 l .data 00000000 \$d | |
aa32346d | 26 | # The ELF based port does not generate a .ARM.attributes symbol |
e821645d DJ |
27 | |
28 | Disassembly of section .text: | |
29 | ||
30 | 0+00 <foo>: | |
fe56b6ce NC |
31 | 0: e1a00000 nop ; \(mov r0, r0\) |
32 | 4: 46c0 nop ; \(mov r8, r8\) | |
33 | 6: 46c0 nop ; \(mov r8, r8\) | |
e821645d DJ |
34 | 8: 00000002 .word 0x00000002 |
35 | c: 00010001 .word 0x00010001 | |
36 | 10: 0003 .short 0x0003 | |
fe56b6ce NC |
37 | 12: 46c0 nop ; \(mov r8, r8\) |
38 | 14: 46c0 nop ; \(mov r8, r8\) | |
e821645d DJ |
39 | 16: 0001 .short 0x0001 |
40 | 18: ebfffff8 bl 0 <foo> | |
41 | 1c: 0008 .short 0x0008 | |
42 | 1e: 09 .byte 0x09 | |
43 | 0+1f <bar>: | |
44 | 1f: 0a .byte 0x0a |