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)
commiteb7c4339fafb5fcc63a227bf134c0eb97e5d85f7
tree77784cd300c5e95ea7bd5ce65a1c715d5dd795cc
parent30f8113aa76f852675280e7f1575de4c8018dea4
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]