mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
48229727d8
* emultempl/armelf.em (fix_cortex_a8): New. (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix. (arm_elf_create_output_section_statements): Add fix_cortex_a8 to bfd_elf32_arm_set_target_relocs. (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New. (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options. (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8. * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options. bfd/ * elf32-arm.c (THUMB16_BCOND_INSN, THUMB32_INSN, THUMB32_B_INSN): New macros. (elf32_arm_stub_a8_veneer_b_cond, elf32_arm_stub_a8_veneer_b) (elf32_arm_stub_a8_veneer_blx): New stub sequences. (elf32_arm_stub_type): Add arm_stub_a8_veneer_b_cond, arm_stub_a8_veneer_b and arm_stub_a8_veneer_blx. (elf32_arm_stub_hash_entry): Add target_addend, orig_insn fields. (a8_erratum_fix, a8_erratum_reloc): New structs. (elf32_arm_link_hash_table): Add a8_erratum_fixes, num_a8_erratum_fixes, fix_cortex_a8 fields. (elf32_arm_link_hash_table_create): Zero fix_cortex_a8. (elf32_arm_add_stub): Split into two parts, creating... (elf32_arm_create_or_find_stub_sec): New function. (elf32_arm_final_link_relocate): Add forward declaration. (arm_build_one_stub): Add support for THUMB32_TYPE, Thumb-2 relocations, multiple relocations per stub. (find_stub_size_and_template): New (using parts of arm_size_one_stub). (arm_size_one_stub): Use find_stub_size_and_template. (a8_reloc_compare): New. (find_thumb_glue): Add forward declaration. (cortex_a8_erratum_scan): New. (elf32_arm_size_stubs): Add Cortex-A8 erratum workaround support. (bfd_elf32_arm_set_cortex_a8_fix): New. (bfd_elf32_arm_set_target_relocs): Add fix_cortex_a8 argument. (arm_map_one_stub): Add THUMB32_TYPE support. (a8_branch_to_stub_data): New. (make_branch_to_a8_stub): New. (elf32_arm_write_section): Add Cortex-A8 erratum workaround support. * bfd-in.h (bfd_elf32_arm_set_cortex_a8_fix): New. (bfd_elf32_arm_set_target_relocs): Add argument for controlling Cortex-A8 erratum workaround. * bfd-in2.h: Regenerate. ld/testsuite/ * ld-arm/cortex-a8-arm-target.s: New. * ld-arm/cortex-a8-thumb-target.s: New. * ld-arm/cortex-a8-fix-b-rel.s: New. * ld-arm/cortex-a8-fix-b-rel-arm.d: New. * ld-arm/cortex-a8-fix-b-rel-thumb.d: New. * ld-arm/cortex-a8-fix-b.s: New. * ld-arm/cortex-a8-fix-b.d: New. * ld-arm/cortex-a8-fix-bl-rel.s: New. * ld-arm/cortex-a8-fix-bl-rel-arm.d: New. * ld-arm/cortex-a8-fix-bl-rel-thumb.d: New. * ld-arm/cortex-a8-fix-bl.s: New. * ld-arm/cortex-a8-fix-bl.d: New. * ld-arm/cortex-a8-fix-bcc-rel.s: New. * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New. * ld-arm/cortex-a8-fix-bcc.s: New. * ld-arm/cortex-a8-fix-bcc.d: New. * ld-arm/cortex-a8-fix-blx-rel.s: New. * ld-arm/cortex-a8-fix-blx-rel-arm.d: New. * ld-arm/cortex-a8-fix-blx-rel-thumb.d: New. * ld-arm/cortex-a8-fix-blx.s: New. * ld-arm/cortex-a8-fix-blx.d: New. * ld-arm/arm-elf.exp: Add new tests. |
||
---|---|---|
.. | ||
arch-v6.s | ||
arch-v6k.s | ||
arch-v6t2.s | ||
arm-app-abs32.d | ||
arm-app-abs32.r | ||
arm-app-abs32.s | ||
arm-app-movw.s | ||
arm-app.d | ||
arm-app.r | ||
arm-app.s | ||
arm-be8.d | ||
arm-be8.s | ||
arm-call1.s | ||
arm-call2.s | ||
arm-call.d | ||
arm-dyn.ld | ||
arm-elf.exp | ||
arm-lib-plt32.d | ||
arm-lib-plt32.r | ||
arm-lib-plt32.s | ||
arm-lib.d | ||
arm-lib.ld | ||
arm-lib.r | ||
arm-lib.s | ||
arm-movwt.d | ||
arm-movwt.s | ||
arm-pic-veneer.d | ||
arm-pic-veneer.s | ||
arm-rel31.d | ||
arm-rel31.s | ||
arm-static-app.d | ||
arm-static-app.r | ||
arm-static-app.s | ||
arm-target1-abs.d | ||
arm-target1-rel.d | ||
arm-target1.s | ||
arm-target2-abs.d | ||
arm-target2-got-rel.d | ||
arm-target2-rel.d | ||
arm-target2.s | ||
arm.ld | ||
armthumb-lib.d | ||
armthumb-lib.sym | ||
armv4-bx.d | ||
armv4-bx.s | ||
attr-merge-2.attr | ||
attr-merge-2a.s | ||
attr-merge-2b.s | ||
attr-merge-3.attr | ||
attr-merge-3a.s | ||
attr-merge-3b.s | ||
attr-merge-4.attr | ||
attr-merge-4a.s | ||
attr-merge-4b.s | ||
attr-merge-5.attr | ||
attr-merge-5.s | ||
attr-merge-arch-1.attr | ||
attr-merge-arch-2.attr | ||
attr-merge-unknown-1.d | ||
attr-merge-unknown-1.s | ||
attr-merge-unknown-2.d | ||
attr-merge-unknown-2.s | ||
attr-merge-unknown-2r.d | ||
attr-merge-unknown-3.d | ||
attr-merge-wchar-0.s | ||
attr-merge-wchar-2.s | ||
attr-merge-wchar-4.s | ||
attr-merge-wchar-00-nowarn.d | ||
attr-merge-wchar-00.d | ||
attr-merge-wchar-02-nowarn.d | ||
attr-merge-wchar-02.d | ||
attr-merge-wchar-04-nowarn.d | ||
attr-merge-wchar-04.d | ||
attr-merge-wchar-20-nowarn.d | ||
attr-merge-wchar-20.d | ||
attr-merge-wchar-22-nowarn.d | ||
attr-merge-wchar-22.d | ||
attr-merge-wchar-24-nowarn.d | ||
attr-merge-wchar-24.d | ||
attr-merge-wchar-40-nowarn.d | ||
attr-merge-wchar-40.d | ||
attr-merge-wchar-42-nowarn.d | ||
attr-merge-wchar-42.d | ||
attr-merge-wchar-44-nowarn.d | ||
attr-merge-wchar-44.d | ||
attr-merge.attr | ||
attr-merge.s | ||
blank.s | ||
callweak.d | ||
callweak.s | ||
cortex-a8-arm-target.s | ||
cortex-a8-fix-b-rel-arm.d | ||
cortex-a8-fix-b-rel-thumb.d | ||
cortex-a8-fix-b-rel.s | ||
cortex-a8-fix-b.d | ||
cortex-a8-fix-b.s | ||
cortex-a8-fix-bcc-rel-thumb.d | ||
cortex-a8-fix-bcc-rel.s | ||
cortex-a8-fix-bcc.d | ||
cortex-a8-fix-bcc.s | ||
cortex-a8-fix-bl-rel-arm.d | ||
cortex-a8-fix-bl-rel-thumb.d | ||
cortex-a8-fix-bl-rel.s | ||
cortex-a8-fix-bl.d | ||
cortex-a8-fix-bl.s | ||
cortex-a8-fix-blx-rel-arm.d | ||
cortex-a8-fix-blx-rel-thumb.d | ||
cortex-a8-fix-blx-rel.s | ||
cortex-a8-fix-blx.d | ||
cortex-a8-fix-blx.s | ||
cortex-a8-thumb-target.s | ||
discard-unwind.ld | ||
emit-relocs1-vxworks.d | ||
emit-relocs1.d | ||
emit-relocs1.s | ||
farcall-arm-arm-pic-veneer.d | ||
farcall-arm-arm.d | ||
farcall-arm-arm.s | ||
farcall-arm-thumb-blx-pic-veneer.d | ||
farcall-arm-thumb-blx.d | ||
farcall-arm-thumb-pic-veneer.d | ||
farcall-arm-thumb.d | ||
farcall-arm-thumb.s | ||
farcall-group2.s | ||
farcall-group3.s | ||
farcall-group4.s | ||
farcall-group-limit.d | ||
farcall-group-size2.d | ||
farcall-group.d | ||
farcall-group.s | ||
farcall-mix2.d | ||
farcall-mix2.s | ||
farcall-mix.d | ||
farcall-mix.s | ||
farcall-mixed-app-v5.d | ||
farcall-mixed-app.d | ||
farcall-mixed-app.r | ||
farcall-mixed-app.s | ||
farcall-mixed-app.sym | ||
farcall-mixed-lib1.s | ||
farcall-mixed-lib2.s | ||
farcall-mixed-lib.d | ||
farcall-mixed-lib.r | ||
farcall-section.d | ||
farcall-section.s | ||
farcall-thumb-arm-blx-pic-veneer.d | ||
farcall-thumb-arm-blx.d | ||
farcall-thumb-arm-pic-veneer.d | ||
farcall-thumb-arm-short.d | ||
farcall-thumb-arm-short.s | ||
farcall-thumb-arm.d | ||
farcall-thumb-arm.s | ||
farcall-thumb-thumb-blx-pic-veneer.d | ||
farcall-thumb-thumb-blx.d | ||
farcall-thumb-thumb-m-pic-veneer.d | ||
farcall-thumb-thumb-m.d | ||
farcall-thumb-thumb-pic-veneer.d | ||
farcall-thumb-thumb.d | ||
farcall-thumb-thumb.s | ||
gc-unwind.d | ||
gc-unwind.s | ||
group-relocs-alu-bad.d | ||
group-relocs-alu-bad.s | ||
group-relocs-ldc-bad.d | ||
group-relocs-ldc-bad.s | ||
group-relocs-ldr-bad.d | ||
group-relocs-ldr-bad.s | ||
group-relocs-ldrs-bad.d | ||
group-relocs-ldrs-bad.s | ||
group-relocs.d | ||
group-relocs.s | ||
jump19.d | ||
jump19.s | ||
mixed-app-v5.d | ||
mixed-app.d | ||
mixed-app.r | ||
mixed-app.s | ||
mixed-app.sym | ||
mixed-lib.d | ||
mixed-lib.r | ||
mixed-lib.s | ||
mixed-lib.sym | ||
movw-merge.d | ||
movw-merge.s | ||
movw-shared-1.d | ||
movw-shared-1.s | ||
movw-shared-2.d | ||
movw-shared-2.s | ||
movw-shared-3.d | ||
movw-shared-3.s | ||
movw-shared-4.d | ||
movw-shared-4.s | ||
preempt-app.s | ||
preempt-app.sym | ||
symbian-seg1.d | ||
symbian-seg1.s | ||
thumb1-bl.d | ||
thumb1-bl.s | ||
thumb2-b-interwork.d | ||
thumb2-b-interwork.s | ||
thumb2-bl-as-thumb1-bad-noeabi.d | ||
thumb2-bl-as-thumb1-bad.d | ||
thumb2-bl-as-thumb1-bad.s | ||
thumb2-bl-bad-noeabi.d | ||
thumb2-bl-bad.d | ||
thumb2-bl-bad.s | ||
thumb2-bl-blx-interwork.d | ||
thumb2-bl-blx-interwork.s | ||
thumb2-bl-undefweak1.d | ||
thumb2-bl-undefweak1.s | ||
thumb2-bl-undefweak.d | ||
thumb2-bl-undefweak.s | ||
thumb2-bl.d | ||
thumb2-bl.s | ||
thumb-entry.d | ||
thumb-entry.s | ||
thumb-rel32.d | ||
thumb-rel32.s | ||
tls-app.d | ||
tls-app.r | ||
tls-app.s | ||
tls-lib.d | ||
tls-lib.r | ||
tls-lib.s | ||
unwind-1.d | ||
unwind-1.s | ||
unwind-2.d | ||
unwind-2.s | ||
unwind-3.d | ||
unwind-3.s | ||
unwind-4.d | ||
unwind-4.s | ||
unwind-5.d | ||
unwind-5.s | ||
use-thumb-lib.s | ||
use-thumb-lib.sym | ||
vfp11-fix-none.d | ||
vfp11-fix-none.s | ||
vfp11-fix-scalar.d | ||
vfp11-fix-scalar.s | ||
vfp11-fix-vector.d | ||
vfp11-fix-vector.s | ||
vxworks1-lib.dd | ||
vxworks1-lib.nd | ||
vxworks1-lib.rd | ||
vxworks1-lib.s | ||
vxworks1-lib.td | ||
vxworks1-static.d | ||
vxworks1.dd | ||
vxworks1.ld | ||
vxworks1.rd | ||
vxworks1.s | ||
vxworks2-static.sd | ||
vxworks2.s | ||
vxworks2.sd |