mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
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.
9 lines
82 B
ArmAsm
9 lines
82 B
ArmAsm
.globl foo
|
|
foo:
|
|
mov pc,lr
|
|
bal foo(PLT)
|
|
|
|
.data
|
|
.word foo-.
|
|
.word foo-.+0x100
|