2007-04-19 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / mapshort-elf.d
CommitLineData
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.
aa32346d
NC
4#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-*eabi *-*-syymbianelf
5#source: mapshort.s
e821645d
DJ
6
7# Test the generation and use of ARM ELF Mapping Symbols
8
9.*: +file format .*arm.*
10
11SYMBOL TABLE:
120+00 l d .text 00000000 .text
130+00 l d .data 00000000 .data
140+00 l d .bss 00000000 .bss
150+00 l F .text 00000000 foo
160+00 l .text 00000000 \$a
170+04 l .text 00000000 \$t
180+08 l .text 00000000 \$d
190+12 l .text 00000000 \$t
200+16 l .text 00000000 \$d
210+18 l .text 00000000 \$a
220+1c l .text 00000000 \$d
230+1f l .text 00000000 bar
aa32346d 24# The ELF based port does not generate a .ARM.attributes symbol
e821645d
DJ
25
26Disassembly of section .text:
27
280+00 <foo>:
29 0: e1a00000 nop \(mov r0,r0\)
30 4: 46c0 nop \(mov r8, r8\)
31 6: 46c0 nop \(mov r8, r8\)
32 8: 00000002 .word 0x00000002
33 c: 00010001 .word 0x00010001
34 10: 0003 .short 0x0003
35 12: 46c0 nop \(mov r8, r8\)
36 14: 46c0 nop \(mov r8, r8\)
37 16: 0001 .short 0x0001
38 18: ebfffff8 bl 0 <foo>
39 1c: 0008 .short 0x0008
40 1e: 09 .byte 0x09
410+1f <bar>:
42 1f: 0a .byte 0x0a
This page took 0.03788 seconds and 4 git commands to generate.