[Patch, ARM] PR ld/19368: Add missing relocation type class for R_ARM_IRELATIVE

Jiong Wang jiong.wang@foss.arm.com
Tue Jan 5 14:57:00 GMT 2016


We should map R_ARM_IRELATIVE to reloc_class_ifunc so the generic code
will sort it at the last of .rel.dyn.

OK for master and 2.26 branch?

2016-01-05  Richard Sandiford  <richard.sandiford@arm.com>
             Jiong Wang  <jiong.wang@arm.com>

bfd/
   PR ld/19368
   * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
   reloc_class_ifunc.

ld/testsuite/
   PR ld/19368
   * ld-arm/ifunc-3.rd: Update expected result.
   * ld-arm/ifunc-4.rd: Likewise.
   * ld-arm/ifunc-9.rd: Likewise.
   * ld-arm/ifunc-10.rd: Likewise.
   * ld-arm/ifunc-12.rd: Likewise.
   * ld-arm/ifunc-13.rd: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifunc-order.patch
Type: text/x-patch
Size: 9097 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160105/fe9a4325/attachment.bin>


More information about the Binutils mailing list