Retro68/binutils/ld/testsuite/ld-arm/farcall-group4.s

15 lines
256 B
ArmAsm
Raw Normal View History

2012-03-26 19:18:29 +00:00
@ Test to ensure that ARM calls exceeding 32Mb generate stubs,
@ and that a large input section forces stub insertion before its
@ contribution.
.text
myfunc:
.space 0x2000000
bl bar
.section .far, "xa"
.type bar, %function
2012-03-26 19:18:29 +00:00
.global bar
bar:
bx lr