Import binutils 2.18
[nacl-binutils.git] / ld / testsuite / ld-arm / arm-call1.s
blobe6ea1f2ec5c4463b1c5fcc74e92c0b01cff862de
1 # Test R_ARM_CALL and R_ARM_JUMP24 relocations and interworking
2 .text
3 .arch armv5t
4 .global _start
5 _start:
6 bl arm
7 bl t1
8 bl t2
9 bl t5
10 blx t1
11 blx t2
12 b t1
13 b t2
14 blne t1
15 blne t2
16 blne arm
17 blx arm
18 blx thumblocal
19 .thumb
20 thumblocal:
21 bx lr
22 .global t3
23 .thumb_func
24 t3:
25 bx lr
26 .global t4
27 .thumb_func
28 t4:
29 bx lr
30 nop