bfd/
commitc28d1139c455be6b5c3242a4029a647397f669ab
authorRichard Sandiford <rsandifo@nildram.co.uk>
Fri, 6 May 2011 10:21:26 +0000 (6 10:21 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Fri, 6 May 2011 10:21:26 +0000 (6 10:21 +0000)
tree4fccf0f454804f877725ce767f9b23bed6845695
parent5287b5f4fd196d46a0fdb7f4c7502f29f2935f47
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]