binutils-gdb/ld/testsuite/ld-arm/farcall-group3.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

10 lines
227 B
ArmAsm

@ Test to ensure that ARM calls exceeding 32Mb generate stubs,
@ and that stubs are correctly inserted between input sections
@ when one contribution size exceeds the limit.
.text
.global bar
.global _start
_start:
bl bar