OSDN Git Service

bfd/
authorrsandifo <rsandifo>
Fri, 6 May 2011 10:21:26 +0000 (10:21 +0000)
committerrsandifo <rsandifo>
Fri, 6 May 2011 10:21:26 +0000 (10:21 +0000)
commitf861fd3cd0fc917af22e61f256913e839b66ef46
treefa050600fba7d276ac9af42a875bcab10331ab73
parentc9c47d16ea0bb46b6a44b78f78efe8f93bed832f
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]