da17376b70
* 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.
8 lines
82 B
ArmAsm
8 lines
82 B
ArmAsm
.globl foo
|
|
foo:
|
|
mov pc,lr
|
|
bal foo(PLT)
|
|
|
|
.data
|
|
.word foo-.
|
|
.word foo-.+0x100
|