Fix assembler tests to work with toolchains that have been configured with --enable...
[external/binutils.git] / gas / testsuite / gas / arm / mapshort-eabi.d
1 #objdump: --syms --special-syms -d
2 #as:  --generate-missing-build-notes=no
3 #name: ARM Mapping Symbols for .short (EABI version)
4 # This test is only valid on EABI based ports.
5 #target: *-*-*eabi* *-*-symbianelf *-*-linux-* *-*-elf *-*-nacl*
6 #source: mapshort.s
7
8 # Test the generation and use of ARM ELF Mapping Symbols
9
10 .*: +file format .*arm.*
11
12 SYMBOL TABLE:
13 0+00 l    d  .text      00000000 .text
14 0+00 l    d  .data      00000000 .data
15 0+00 l    d  .bss       00000000 .bss
16 0+00 l     F .text      00000000 foo
17 0+00 l       .text      00000000 \$a
18 0+04 l       .text      00000000 \$t
19 0+08 l       .text      00000000 \$d
20 0+12 l       .text      00000000 \$t
21 0+16 l       .text      00000000 \$d
22 0+18 l       .text      00000000 \$a
23 0+1c l       .text      00000000 \$d
24 0+1f l       .text      00000000 bar
25 0+00 l       .data      00000000 wibble
26 0+00 l    d  .ARM.attributes    00000000 .ARM.attributes
27
28
29 Disassembly of section .text:
30
31 0+00 <foo>:
32    0:   e1a00000        nop                     ; \(mov r0, r0\)
33    4:   46c0            nop                     ; \(mov r8, r8\)
34    6:   46c0            nop                     ; \(mov r8, r8\)
35    8:   00000002        .word   0x00000002
36    c:   00010001        .word   0x00010001
37   10:   0003            .short  0x0003
38   12:   46c0            nop                     ; \(mov r8, r8\)
39   14:   46c0            nop                     ; \(mov r8, r8\)
40   16:   0001            .short  0x0001
41   18:   ebfffff8        bl      0 <foo>
42   1c:   0008            .short  0x0008
43   1e:   09              .byte   0x09
44 0+1f <bar>:
45   1f:   0a              .byte   0x0a