binutils-gdb/ld/testsuite/ld-arm/farcall-group4.s
Christophe Lyon 8cd931b713 09-03-05 Christophe Lyon <christophe.lyon@st.com>
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.
2009-03-06 08:57:58 +00:00

14 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