8cd931b713
bfd/ * elf32-arm.c (group_sections): Take next section size into account before accepting to group it. testsuite/ * ld-arm/arm-elf.exp: Add new farcall-group-limit test. * ld-arm/farcall-group-limit.d: New file. * ld-arm/farcall-group3.s: New file. * ld-arm/farcall-group4.s: New file.
13 lines
234 B
ArmAsm
13 lines
234 B
ArmAsm
@ 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"
|
|
.global bar
|
|
bar:
|
|
bx lr
|