summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/arm/blx-local.s
blob: ed587c9e4c5864d29a6dd259e374a16cbce857a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# objdump: -fdrw --prefix-addresses --show-raw-insn
# not-target: *-*-*aout* *-*-pe

  .text
  .arch armv5t
  .arm
one:
        blx	foo
	blx     foo2
	bl	foo
	bl	foo2
	blx	fooundefarm
	bl      fooundefarm
	blx     fooundefthumb
	bl      fooundefthumb
	
	.thumb
	.type foo, %function
	.thumb_func
foo:
	nop
	nop
fooundefthumb:
 	nop

 	.align 2
        .type foo2, %function
	.arm
foo2:
 	bleq  fooundefthumb @no relocs
 	beq   fooundefthumb @no relocs
 	b     fooundefthumb @no relocs
 	bleq  foo  @ R_ARM_PCREL_JUMP
 	beq   foo  @ R_ARM_PCREL_JUMP
 	b     foo  @ R_ARM_PCREL_JUMP
	nop
fooundefarm:
 	nop
OpenPOWER on IntegriCloud