[ARM] Reject R_ARM_REL32 when trying to defer it to runtime
authorJiong Wang <jiong.wang@arm.com>
Wed, 14 Jan 2015 19:11:54 +0000 (19:11 +0000)
committerJiong Wang <jiong.wang@arm.com>
Wed, 14 Jan 2015 19:11:54 +0000 (19:11 +0000)
commit52db4ec2d13f511ef3dfe5b9a159869da6e4c3eb
treecbef8491a91ce1b7751e669435ffe0269066b565
parent3d0064a95d413e7d19ff9c7f6db53fefe44a697b
[ARM] Reject R_ARM_REL32 when trying to defer it to runtime

  bfd/
    * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when
    trying to defer them to runtime.

  ld/testsuite/
    * ld-arm/elf32-reject.s: New testcase.
    * ld-arm/elf32-reject.d: Likewise.
    * ld-arm/elf32-reject-pie.s: Likewise.
    * ld-arm/elf32-reject-pie.d: Likewise.
    * ld-arm/arm-elf.exp: Run new testcases.
    * ld-arm/ifunc-7.s: Delete f2/f4 test items.
    * ld-arm/ifunc-7.rd: Likewise.
    * ld-arm/ifunc-7.gd: Likewise.
    * ld-arm/ifunc-7.dd: Likewise.
    * ld-arm/ifunc-8.s: Likewise.
    * ld-arm/ifunc-8.rd: Likewise.
    * ld-arm/ifunc-8.gd: Likewise.
    * ld-arm/ifunc-8.dd: Likewise.
16 files changed:
bfd/ChangeLog
bfd/elf32-arm.c
ld/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/ifunc-7.dd
ld/testsuite/ld-arm/ifunc-7.gd
ld/testsuite/ld-arm/ifunc-7.rd
ld/testsuite/ld-arm/ifunc-7.s
ld/testsuite/ld-arm/ifunc-8.dd
ld/testsuite/ld-arm/ifunc-8.gd
ld/testsuite/ld-arm/ifunc-8.rd
ld/testsuite/ld-arm/ifunc-8.s
ld/testsuite/ld-arm/rel32-reject-pie.d [new file with mode: 0644]
ld/testsuite/ld-arm/rel32-reject-pie.s [new file with mode: 0644]
ld/testsuite/ld-arm/rel32-reject.d [new file with mode: 0644]
ld/testsuite/ld-arm/rel32-reject.s [new file with mode: 0644]