bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.
authorWill Newton <willnewton@sourceware.org>
Mon, 29 Apr 2013 09:48:32 +0000 (09:48 +0000)
committerWill Newton <willnewton@sourceware.org>
Mon, 29 Apr 2013 09:48:32 +0000 (09:48 +0000)
commitaba8c3de87953e47e5ab45f63789363a22aa0841
treeae9809d5149ebf56da13a3201e29468ee63a058a
parent2810e26c6afef9ada4446fda70bfa621dcf52d35
bfd/efl32-arm.c: Fix handling of IRELATIVE relocs.

bfd/ChangeLog:

2013-04-24  Will Newton  <will.newton@linaro.org>

* elf32-arm.c (elf32_arm_populate_plt_entry): Call
elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs.

ld/testsuite/ChangeLog:

2013-04-24  Will Newton  <will.newton@linaro.org>

* ld-arm/arm-elf.exp: Add IFUNC test 17.
* ld-arm/ifunc-17.dd: New file.
* ld-arm/ifunc-17.gd: Likewise.
* ld-arm/ifunc-17.rd: Likewise.
* ld-arm/ifunc-17.s: Likweise.
* ld-arm/ifunc-1.rd: Reorder relocs to match linker output.
* ld-arm/ifunc-2.rd: Likewise.
* ld-arm/ifunc-5.rd: Likewise.
* ld-arm/ifunc-6.rd: Likewise.
12 files changed:
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/ifunc-1.rd
ld/testsuite/ld-arm/ifunc-17.dd [new file with mode: 0644]
ld/testsuite/ld-arm/ifunc-17.gd [new file with mode: 0644]
ld/testsuite/ld-arm/ifunc-17.rd [new file with mode: 0644]
ld/testsuite/ld-arm/ifunc-17.s [new file with mode: 0644]
ld/testsuite/ld-arm/ifunc-2.rd
ld/testsuite/ld-arm/ifunc-5.rd
ld/testsuite/ld-arm/ifunc-6.rd