Back to index

cell-binutils  2.17cvs20070401
mapshort-elf.d
Go to the documentation of this file.
00001 #objdump: --syms --special-syms -d
00002 #name: ARM Mapping Symbols for .short (ELF version)
00003 # This test is only valid on ELF based ports.
00004 #not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-*eabi *-*-syymbianelf
00005 #source: mapshort.s
00006 
00007 # Test the generation and use of ARM ELF Mapping Symbols
00008 
00009 .*: +file format .*arm.*
00010 
00011 SYMBOL TABLE:
00012 0+00 l    d  .text   00000000 .text
00013 0+00 l    d  .data   00000000 .data
00014 0+00 l    d  .bss    00000000 .bss
00015 0+00 l     F .text   00000000 foo
00016 0+00 l       .text   00000000 \$a
00017 0+04 l       .text   00000000 \$t
00018 0+08 l       .text   00000000 \$d
00019 0+12 l       .text   00000000 \$t
00020 0+16 l       .text   00000000 \$d
00021 0+18 l       .text   00000000 \$a
00022 0+1c l       .text   00000000 \$d
00023 0+1f l       .text   00000000 bar
00024 # The ELF based port does not generate a .ARM.attributes symbol
00025 
00026 Disassembly of section .text:
00027 
00028 0+00 <foo>:
00029    0:  e1a00000      nop                  \(mov r0,r0\)
00030    4:  46c0          nop                  \(mov r8, r8\)
00031    6:  46c0          nop                  \(mov r8, r8\)
00032    8:  00000002      .word  0x00000002
00033    c:  00010001      .word  0x00010001
00034   10:  0003          .short 0x0003
00035   12:  46c0          nop                  \(mov r8, r8\)
00036   14:  46c0          nop                  \(mov r8, r8\)
00037   16:  0001          .short 0x0001
00038   18:  ebfffff8      bl     0 <foo>
00039   1c:  0008          .short 0x0008
00040   1e:  09            .byte  0x09
00041 0+1f <bar>:
00042   1f:  0a            .byte  0x0a