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
9Disassembly of section .text:
100+00 <[^>]*> fa000006 	blx	00000020 <foo>
110+04 <[^>]*> eb000007 	bl	00000028 <foo2>
120+08 <[^>]*> fa000004 	blx	00000020 <foo>
130+0c <[^>]*> eb000005 	bl	00000028 <foo2>
140+10 <[^>]*> fa00000b 	blx	00000044 <fooundefarm>
150+14 <[^>]*> eb00000a 	bl	00000044 <fooundefarm>
160+18 <[^>]*> fa000001 	blx	00000024 <fooundefthumb>
170+1c <[^>]*> eb000000 	bl	00000024 <fooundefthumb>
180+20 <[^>]*> 46c0      	nop			; \(mov r8, r8\)
190+22 <[^>]*> 46c0      	nop			; \(mov r8, r8\)
200+24 <[^>]*> 46c0      	nop			; \(mov r8, r8\)
210+26 <[^>]*> 46c0      	nop			; \(mov r8, r8\)
220+28 <[^>]*> 0bfffffd 	bleq	00000024 <fooundefthumb>
230+2c <[^>]*> 0afffffc 	beq	00000024 <fooundefthumb>
240+30 <[^>]*> eafffffb 	b	00000024 <fooundefthumb>
250+34 <[^>]*> 0bfffffe 	bleq	00000020 <foo>	34: R_ARM_JUMP24	foo
260+38 <[^>]*> 0afffffe 	beq	00000020 <foo>	38: R_ARM_JUMP24	foo
270+3c <[^>]*> eafffffe 	b	00000020 <foo>	3c: R_ARM_JUMP24	foo
280+40 <[^>]*> e1a00000 	nop			; \(mov r0, r0\)
290+44 <[^>]*> e1a00000 	nop			; \(mov r0, r0\)
30