OSDN Git Service

bfd/
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 5 Aug 2009 12:36:14 +0000 (12:36 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Wed, 5 Aug 2009 12:36:14 +0000 (12:36 +0000)
commit8e868d8e839352168cc8fd7708613e0996a6113d
tree1eebd22164b097a315ccfba19441269f619c224f
parentd20636b02d88b392a27c701a22c60c343042b187
bfd/
* elf32-arm.c (elf32_arm_stub_type): Add arm_stub_a8_veneer_lwm.
(arm_build_one_stub): Build a8 veneers as a separate pass.
(cortex_a8_erratum_scan): Add prev_num_a8_fixes and stub_changed_p
parameters.  Use them to check if we create a different a8 fixup
than the previous pass.
(elf32_arm_size_stubs): Move scope of stub_changed and
prev_num_a8_fixes into main loop.
(elf32_arm_build_stubs): Build a8 veneers in a second pass.

ld/testsuite/
* ld-arm/cortex-a8-far-1.s: New.
* ld-arm/cortex-a8-far-2.s: New.
* ld-arm/cortex-a8-far.d: New.
* ld-arm/arm-elf.exp: Add new test.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/cortex-a8-far-1.s [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-far-2.s [new file with mode: 0644]
ld/testsuite/ld-arm/cortex-a8-far.d [new file with mode: 0644]