Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / arm / blx-local.d
1 #name: Local BLX instructions
2 #objdump: -drw --prefix-addresses --show-raw-insn
3 #skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-elf
4 #as:
5 # stderr: blx-local.l
6 # Test assembler resolution of blx and bl instructions in ARM mode.
7 .*: +file format .*arm.*
8
9 Disassembly of section .text:
10 0+00 <[^>]*> fa000006   blx     00000020 <foo>
11 0+04 <[^>]*> eb000007   bl      00000028 <foo2>
12 0+08 <[^>]*> fa000004   blx     00000020 <foo>
13 0+0c <[^>]*> eb000005   bl      00000028 <foo2>
14 0+10 <[^>]*> fa00000b   blx     00000044 <fooundefarm>
15 0+14 <[^>]*> eb00000a   bl      00000044 <fooundefarm>
16 0+18 <[^>]*> fa000001   blx     00000024 <fooundefthumb>
17 0+1c <[^>]*> eb000000   bl      00000024 <fooundefthumb>
18 0+20 <[^>]*> 46c0       nop                     ; \(mov r8, r8\)
19 0+22 <[^>]*> 46c0       nop                     ; \(mov r8, r8\)
20 0+24 <[^>]*> 46c0       nop                     ; \(mov r8, r8\)
21 0+26 <[^>]*> 46c0       nop                     ; \(mov r8, r8\)
22 0+28 <[^>]*> 0bfffffd   bleq    00000024 <fooundefthumb>
23 0+2c <[^>]*> 0afffffc   beq     00000024 <fooundefthumb>
24 0+30 <[^>]*> eafffffb   b       00000024 <fooundefthumb>
25 0+34 <[^>]*> 0bfffffe   bleq    00000020 <foo>  34: R_ARM_JUMP24        foo
26 0+38 <[^>]*> 0afffffe   beq     00000020 <foo>  38: R_ARM_JUMP24        foo
27 0+3c <[^>]*> eafffffe   b       00000020 <foo>  3c: R_ARM_JUMP24        foo
28 0+40 <[^>]*> e1a00000   nop                     ; \(mov r0, r0\)
29 0+44 <[^>]*> e1a00000   nop                     ; \(mov r0, r0\)