ld: Don't evaluate unneeded PROVIDE expressions.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / farcall-thumb-arm.s
CommitLineData
906e58ca 1@ Test to ensure that a Thumb to ARM call exceeding 4Mb generates a stub.
fe33d2fa 2@ Check that we can generate two types of stub in the same section.
906e58ca
NC
3
4 .global _start
5 .syntax unified
6
fe33d2fa 7@ We will place the section .text at 0x1c01010.
906e58ca
NC
8
9 .text
10 .thumb_func
11_start:
fe33d2fa
CL
12 .global bar
13 bl bar
14@ This call is close enough to generate a "short branch" stub
15@ or no stub if blx is available.
16 .space 0x0300000
906e58ca
NC
17 bl bar
18
19@ We will place the section .foo at 0x2001014.
20
21 .section .foo, "xa"
22
da5938a2
NC
23 .arm
24 .type bar, %function
906e58ca
NC
25bar:
26 bx lr
27
This page took 0.283969 seconds and 4 git commands to generate.