old-cross-binutils/ld/testsuite/ld-arm/arm-rel32.s
Richard Sandiford da17376b70 bfd/
* elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than
	h->needs_plt when deciding whether to record a possible dynamic reloc.

ld/testsuite/
	* ld-arm/arm-rel32.s, ld-arm/arm-rel32.d: New testcase.
	* ld-arm/arm-elf.exp: Run it.
2011-01-17 16:36:43 +00:00

8 lines
82 B
ArmAsm

.globl foo
foo:
mov pc,lr
bal foo(PLT)
.data
.word foo-.
.word foo-.+0x100