bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 17 Jan 2011 16:36:43 +0000 (16:36 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 17 Jan 2011 16:36:43 +0000 (16:36 +0000)
commitda17376b704177fc4d8fa038169782e28b1f3b24
tree67a2f1be8072c12de87992729ac98caf536875c5
parent1e81e12b2c81710f5b098e18d5146d6704100913
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.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/arm-rel32.d [new file with mode: 0644]
ld/testsuite/ld-arm/arm-rel32.s [new file with mode: 0644]