bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Fri, 6 May 2011 10:21:32 +0000 (10:21 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Fri, 6 May 2011 10:21:32 +0000 (10:21 +0000)
commit7d24e6a65a15d57859faadac48cd1cfa79f1b94d
tree716b57b4eadbe7141184c8ac08e45de0ecb354e3
parent1342dcfc8294c553c3f1f67652b306a1b1573533
bfd/
* elf32-arm.c (cortex_a8_erratum_scan): If the stub is a Thumb
branch to a PLT entry, redirect it to the PLT's Thumb entry point.

ld/testsuite/
* ld-arm/cortex-a8-fix-b-plt.s, ld-arm/cortex-a8-fix-b-plt.d,
ld-arm/cortex-a8-fix-bcc-plt.s, ld-arm/cortex-a8-fix-bcc-plt.d,
ld-arm/cortex-a8-fix-bl-plt.s, ld-arm/cortex-a8-fix-bl-plt.d,
ld-arm/cortex-a8-fix-blx-plt.s, ld-arm/cortex-a8-fix-blx-plt.d,
ld-arm/cortex-a8-fix-plt.ld: New tests.
* ld-arm/arm-elf.exp: Run them.
13 files changed:
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-b-plt.s [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-bcc-plt.d [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-bcc-plt.s [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-bl-plt.d [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-bl-plt.s [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-blx-plt.d [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-blx-plt.s [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-fix-plt.ld [new file with mode: 0644]