2009-05-22 15:54:36 +00:00
|
|
|
|
2009-05-22 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/rgn-over7.d: Adjust expected message for recent change.
|
|
|
|
|
|
ld/
* 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.
2009-05-22 11:58:45 +00:00
|
|
|
|
2009-05-22 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2009-05-22 11:27:44 +00:00
|
|
|
|
2009-05-22 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/rgn-at4.t: New.
|
|
|
|
|
* ld-scripts/rgn-at4.d: New.
|
|
|
|
|
|
2009-05-21 16:28:45 +00:00
|
|
|
|
2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/aligncomm-1.c (_alloca): Add dummy definition to
|
|
|
|
|
satisfy final link on Windows targets when using gcc-3.
|
|
|
|
|
* ld-pe/aligncomm-2.c (_alloca): Likewise.
|
|
|
|
|
* ld-pe/aligncomm-3.c (_alloca): Likewise.
|
|
|
|
|
* ld-pe/aligncomm-4.c (_alloca): Likewise.
|
|
|
|
|
|
2009-05-20 13:40:38 +00:00
|
|
|
|
2009-05-20 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_ld_link_tests): Filter test names against
|
|
|
|
|
runtests list.
|
|
|
|
|
|
2009-05-19 16:08:08 +00:00
|
|
|
|
2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/aligncomm-1.c: New test source file.
|
|
|
|
|
* ld-pe/aligncomm-2.c: Likewise.
|
|
|
|
|
* ld-pe/aligncomm-3.c: Likewise.
|
|
|
|
|
* ld-pe/aligncomm-4.c: Likewise.
|
|
|
|
|
* ld-pe/aligncomm.d: New test pattern file.
|
|
|
|
|
|
|
|
|
|
* ld-pe/direct.exp: Deleted, and content moved into ...
|
|
|
|
|
* ld-pe/pe-run.exp: ... New common file for all PE run tests.
|
|
|
|
|
|
|
|
|
|
* ld-pe/vers-script.exp: Deleted, and content merged into ...
|
|
|
|
|
* ld-pe/pe-compile.exp: ... New common file for PE tests needing
|
|
|
|
|
a compiler, adding aligned common tests.
|
|
|
|
|
|
|
|
|
|
* ld-pe/pe.exp: Update header comment.
|
|
|
|
|
|
2009-05-18 18:01:02 +00:00
|
|
|
|
2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
|
2009-05-17 05:10:21 +00:00
|
|
|
|
|
|
|
|
|
* ld-pe/exports.d: New file.
|
|
|
|
|
* ld-pe/exports.s: New file.
|
|
|
|
|
* ld-pe/pe.exp: New test for empty export table.
|
|
|
|
|
|
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
* ld-elf/orphan3f.s: Increase section size to 16.
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
* ld-pe/orphand.s, * ld-pe/orphane.s: Likewise.
2009-05-16 01:56:44 +00:00
|
|
|
|
2009-05-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
|
|
|
|
|
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
|
|
|
|
|
* ld-elf/orphan3f.s: Increase section size to 16.
|
|
|
|
|
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
|
|
|
|
|
* ld-pe/orphand.s, * ld-pe/orphane.s: Likewise.
|
|
|
|
|
|
ld/
* ldlang.c (lang_output_section_statement_lookup): Add function
comment. Make "name" non-const. Ensure duplicate entries use
the same string, allowing simple comparison in hash bucket loop.
Tweak constraint check.
(next_matching_output_section_statement): New function.
* ldlang.h (lang_output_section_statement_lookup): Update.
(next_matching_output_section_statement): Declare.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
combine orphan sections when input sections flags differ in
alloc or load.
* emultempl/pe.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
* emultempl/pep.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
ld/testsuite/
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
* ld-elf/orphan3f.s: New test.
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
* ld-pe/orphand.s, * ld-pe/orphane.s: New test.
* ld-pe/direct.exp: Use is_pecoff_format.
* ld-pe/longsecn.exp: Delete.
* ld-pe/pe.exp: Run new test and longsecn tests.
2009-05-15 14:22:36 +00:00
|
|
|
|
2009-05-15 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
|
|
|
|
|
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
|
|
|
|
|
* ld-elf/orphan3f.s: New test.
|
|
|
|
|
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
|
|
|
|
|
* ld-pe/orphand.s, * ld-pe/orphane.s: New test.
|
|
|
|
|
* ld-pe/direct.exp: Use is_pecoff_format.
|
|
|
|
|
* ld-pe/longsecn.exp: Delete.
|
|
|
|
|
* ld-pe/pe.exp: Run new test and longsecn tests.
|
|
|
|
|
|
2009-05-15 00:08:12 +00:00
|
|
|
|
2009-05-15 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add unwind-5.
|
|
|
|
|
* ld-arm/discard-unwind.ld: New file.
|
|
|
|
|
* ld-arm/unwind-5.d: New test.
|
|
|
|
|
* ld-arm/unwind-5.s: New test.
|
|
|
|
|
|
2009-05-14 16:56:09 +00:00
|
|
|
|
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.d: Update for compact stubs.
|
|
|
|
|
|
2009-05-14 16:04:02 +00:00
|
|
|
|
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.d: Update all addresses to accomodate icache
|
|
|
|
|
buffer shifted down 0x800 bytes.
|
|
|
|
|
|
2009-05-14 15:26:36 +00:00
|
|
|
|
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache.d: Update file offsets.
|
|
|
|
|
* ld-spu/ovl.d: Likewise.
|
|
|
|
|
* ld-spu/ovl1.d: Likewise.
|
|
|
|
|
|
2009-05-14 04:30:03 +00:00
|
|
|
|
2009-05-14 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.d: Update for changed overlay manager placement.
|
|
|
|
|
* ld-spu/ovl.d: Likewise.
|
|
|
|
|
* ld-spu/ovl2.d: Likewise.
|
|
|
|
|
|
2009-05-05 14:18:30 +00:00
|
|
|
|
2009-05-05 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab.
|
|
|
|
|
* ld-arm/arm-elf.exp: Add unwind-[1-4].
|
|
|
|
|
* ld-arm/unwind-1.d: New test.
|
|
|
|
|
* ld-arm/unwind-1.s: New test.
|
|
|
|
|
* ld-arm/unwind-2.d: New test.
|
|
|
|
|
* ld-arm/unwind-2.s: New test.
|
|
|
|
|
* ld-arm/unwind-3.d: New test.
|
|
|
|
|
* ld-arm/unwind-3.s: New test.
|
|
|
|
|
* ld-arm/unwind-4.d: New test.
|
|
|
|
|
* ld-arm/unwind-4.s: New test.
|
|
|
|
|
|
2009-05-01 13:49:19 +00:00
|
|
|
|
2009-05-01 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Add thumb2-bl-blx-interwork test.
|
|
|
|
|
* ld-arm/thumb2-bl-blx-interwork.s: New.
|
|
|
|
|
* ld-arm/thumb2-bl-blx-interwork.d: New.
|
|
|
|
|
|
2009-04-30 15:47:13 +00:00
|
|
|
|
2009-04-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-ifunc: New directory.
|
|
|
|
|
* ld-ifunc/ifunc.exp: New file: Run the IFUNC tests.
|
|
|
|
|
* ld-ifunc/prog.c: New file.
|
|
|
|
|
* ld-ifunc/lib.c: New file.
|
|
|
|
|
|
2009-04-30 00:01:11 +00:00
|
|
|
|
2009-04-30 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s,
|
|
|
|
|
ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s,
|
|
|
|
|
ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s,
|
|
|
|
|
ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests.
|
|
|
|
|
* ld-arm/arm-elf.exp: Run these new tests.
|
|
|
|
|
|
2009-04-29 17:24:27 +00:00
|
|
|
|
2009-04-29 Chris Demetriou <cgd@google.com>
|
|
|
|
|
|
|
|
|
|
* ld-elfvers/vers.exp (vers4b): New test to verify that
|
|
|
|
|
--no-export-dynamic undoes --export-dynamic.
|
|
|
|
|
|
2009-04-28 12:46:10 +00:00
|
|
|
|
2009-04-28 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/vxworks1-lib.dd: Adjust expected disassembly.
|
|
|
|
|
* ld-i386/vxworks1.dd: Adjust expected disassembly.
|
|
|
|
|
* ld-i386/vxworks1-lib.rd: Sections are swapped.
|
|
|
|
|
|
2009-04-22 14:01:31 +00:00
|
|
|
|
2009-04-22 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
PR9743
|
|
|
|
|
* ld-arm/arm-call.d: Update expected result.
|
|
|
|
|
* ld-arm/arm-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-b-interwork.d: Likewise.
|
|
|
|
|
|
2009-04-22 11:57:35 +00:00
|
|
|
|
2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/rgn-at1.d: Cope with larger padding on sections.
|
|
|
|
|
* ld-scripts/rgn-at2.d: Likewise.
|
|
|
|
|
* ld-scripts/rgn-at3.d: Likewise.
|
|
|
|
|
|
2009-04-21 22:05:04 +00:00
|
|
|
|
2009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
|
|
|
|
|
ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d,
|
|
|
|
|
ld-arm/farcall-mixed-lib.d: Update for linker changes.
|
|
|
|
|
|
2009-04-17 13:04:41 +00:00
|
|
|
|
2009-04-17 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add new test farcall-mixed-lib.
|
|
|
|
|
* ld-arm/farcall-mixed-lib.d: Update expected output.
|
|
|
|
|
* ld-arm/farcall-mixed-lib1.s: New file.
|
|
|
|
|
* ld-arm/farcall-mixed-lib2.s: New file.
|
|
|
|
|
|
2009-04-16 23:07:00 +00:00
|
|
|
|
2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-export-2.s, ld-powerpc/aix-export-2.nd: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
2009-04-16 04:24:07 +00:00
|
|
|
|
2009-04-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-libs/lib-1.s: Use "==" instead of ".set".
|
|
|
|
|
* ld-libs/lib-2.s: Likewise.
|
|
|
|
|
* ld-scripts/defined.s: Likewise.
|
|
|
|
|
|
2009-04-15 13:49:54 +00:00
|
|
|
|
2009-04-15 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add 1 more test to check undef weak
|
|
|
|
|
reference with PLT in ARM mode.
|
|
|
|
|
* ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s:
|
|
|
|
|
New files.
|
|
|
|
|
|
2009-04-08 21:48:47 +00:00
|
|
|
|
2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-i386/abs.d: Add --32 for assembler and -melf_i386 for
|
|
|
|
|
linker.
|
|
|
|
|
|
2009-04-03 10:15:21 +00:00
|
|
|
|
2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/rgn-at.s: Use explicit .section pseudos.
|
|
|
|
|
|
2009-04-03 09:25:32 +00:00
|
|
|
|
2009-04-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64
|
|
|
|
|
MinGW targets.
|
|
|
|
|
|
2009-04-03 07:45:28 +00:00
|
|
|
|
2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/rgn-at.exp: New.
|
|
|
|
|
* ld-scripts/rgn-at.s: New.
|
|
|
|
|
* ld-scripts/rgn-at1.d: New.
|
|
|
|
|
* ld-scripts/rgn-at1.t: New.
|
|
|
|
|
* ld-scripts/rgn-at2.d: New.
|
|
|
|
|
* ld-scripts/rgn-at2.t: New.
|
|
|
|
|
* ld-scripts/rgn-at3.d: New.
|
|
|
|
|
* ld-scripts/rgn-at3.t: New.
|
|
|
|
|
|
2009-04-03 07:00:26 +00:00
|
|
|
|
2009-04-03 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/export_dynamic_warning.s: Make dummy code portable.
|
|
|
|
|
|
2009-04-02 16:44:23 +00:00
|
|
|
|
2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern.
|
|
|
|
|
|
2009-04-02 14:42:41 +00:00
|
|
|
|
2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR ld/6744
|
|
|
|
|
* ld-pe/export_dynamic_warning.d: New test control file.
|
|
|
|
|
* ld-pe/export_dynamic_warning.s: New test source file.
|
|
|
|
|
* ld-pe/pe.exp: Also run export_dynamic_warning dump test.
|
|
|
|
|
|
2009-04-02 14:12:46 +00:00
|
|
|
|
2009-04-02 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
|
|
|
|
|
results.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb.d: Likewise.
|
|
|
|
|
|
2009-04-02 09:34:22 +00:00
|
|
|
|
2009-04-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9987
|
|
|
|
|
* lib/ld-lib.exp (check_gc_sections_available): Do not run garbage
|
|
|
|
|
collection tests for cygwin targets.
|
|
|
|
|
|
2009-04-01 20:09:03 +00:00
|
|
|
|
2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-gc-1.nd: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
|
|
|
|
2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
2009-04-01 17:20:19 +00:00
|
|
|
|
2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-cygwin/exe-export.exp: Add "-lkernel32" when linking test exe.
|
|
|
|
|
* ld-cygwin/testexe.c (testexe_main): Indicate whether global_a
|
|
|
|
|
was set to correct final value using error return status.
|
|
|
|
|
(testexe_dummy): Dummy function calls an import from kernel32.dll
|
|
|
|
|
to ensure it is mapped into the process space at runtime.
|
|
|
|
|
|
2009-04-01 15:45:13 +00:00
|
|
|
|
2009-04-01 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: BE8 tests expect the same output as the
|
|
|
|
|
default ones.
|
|
|
|
|
* ld-arm/arm-be8.d: Print opcodes in little endian.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be8.d: Likewise.
|
|
|
|
|
|
2009-03-25 03:04:21 +00:00
|
|
|
|
2009-03-25 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d,
|
|
|
|
|
ld-cris/tls-e-tpoffcomm1.s: New tests.
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
change in link-time known GOT contents for GD relocations.
2009-03-24 03:34:05 +00:00
|
|
|
|
2009-03-24 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
2009-03-24 07:58:23 +00:00
|
|
|
|
* ld-cris/tls-commx.s, ld-cris/tls-dso-dtpoffd2.d,
|
|
|
|
|
ld-cris/tls-dso-dtpoffd4.d, ld-cris/tls-dtpoffdx.s,
|
|
|
|
|
ld-cris/tls-e-dtpoffd1.d: New tests.
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
change in link-time known GOT contents for GD relocations.
2009-03-24 03:34:05 +00:00
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
|
|
|
|
|
ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
|
|
|
|
|
ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
|
|
|
|
|
ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
|
|
|
|
|
ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
|
|
|
|
|
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
|
|
|
|
|
change in link-time known GOT contents for GD relocations.
|
|
|
|
|
|
2009-03-20 17:39:04 +00:00
|
|
|
|
2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9970
|
|
|
|
|
* ld-pie/pie.exp: Use -fpie to compile. Run *.d tests.
|
|
|
|
|
|
|
|
|
|
* ld-pie/start.d: New.
|
|
|
|
|
* ld-pie/start.s: Likewise.
|
|
|
|
|
|
2009-03-18 12:11:38 +00:00
|
|
|
|
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/6766
|
|
|
|
|
* ld-undefined/dummy.s: New.
|
|
|
|
|
* ld-undefined/entry-1.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-2.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-3.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-4.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-5.d: Likewise.
|
|
|
|
|
* ld-undefined/entry-6.d: Likewise.
|
|
|
|
|
* ld-undefined/entry.exp: Likewise.
|
|
|
|
|
* ld-undefined/entry.s: Likewise.
|
|
|
|
|
|
2009-03-17 12:46:19 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.d: Update for fixed set_id, new manager entry, and
|
|
|
|
|
reduced data.
|
|
|
|
|
|
2009-03-17 05:33:00 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/default.exp (get_link_files): Replace double dollars with
|
|
|
|
|
single dollars.
|
|
|
|
|
|
2009-03-17 05:01:26 +00:00
|
|
|
|
2009-03-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-bootstrap/bootstrap.exp: Use DO_COMPARE. Remove unnecessary
|
|
|
|
|
cleanup and log output.
|
|
|
|
|
|
2009-03-16 22:03:44 +00:00
|
|
|
|
2009-03-16 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when
|
|
|
|
|
linking statically on Cygwin, necessitated by '-lintl'.
|
|
|
|
|
|
2009-03-15 14:17:28 +00:00
|
|
|
|
2009-03-15 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-auto-import/auto-import.exp: Add missing dll entrypoint.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags.
(xcoff_loader_info): Add auto_export_flags.
bfd/
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the
bfd_boolean export_defineds parameter with an unsigned int
auto_export_flags parameter.
* bfd-in2.h: Regenerate.
* xcofflink.c (xcoff_archive_contains_shared_object_p): New function,
split out from xcoff_build_ldsyms.
(xcoff_covered_by_expall_p): New function.
(xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms
but with extra code to handle -bexpfull and -bexpall.
(xcoff_mark_auto_exports): New function.
(xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether
a function should be automatically exported.
(bfd_xcoff_size_dynamic_sections): Replace the export_defineds
parameter with an auto_export_flags parameter. Update ldinfo
accordingly. Use xcoff_mark_auto_exports to mark all automatically-
exported symbols.
ld/
* emultempl/aix.em (auto_export_flags): New variable.
(explicit_auto_export_flags): Likewise.
(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
-bnoexpall and -bnoexpfull.
(gld${EMULATION_NAME}_handle_option): Handle them.
(gld${EMULATION_NAME}_before_allocation): Update the call to
bfd_size_dynamic_sections.
ld/testsuite/
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:35:46 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
|
|
|
|
|
ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:35:06 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex,
|
|
|
|
|
ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd,
|
|
|
|
|
ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd,
|
|
|
|
|
ld-powerpc/aix-weak-1-gcdso.nd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
include/coff/
* internal.h (C_AIX_WEAKEXT): New macro.
(C_WEAKEXT): Use the GNU definition in the generic part of the file,
and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
the file.
(CSECT_SYM_P): New macro.
* xcoff.h (L_WEAK): Define.
(EXTERN_SYM_P): New macro.
bfd/
* coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
check whether a symbol has csect information.
(coff_print_aux): Likewise.
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff_swap_aux_out): Likewise.
(xcoff_reloc_type_br): Handle defweak symbols too.
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff64_swap_aux_out): Likewise.
(xcoff64_reloc_type_br): Handle defweak symbols too.
* coffgen.c (coff_print_symbol): Handle auxillary function
information for C_AIX_WEAKEXT too.
* xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
instead of BSF_GLOBAL if the L_WEAK flag is set.
(xcoff_dynamic_definition_p): New function.
(xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
defines h. Don't change h if ldsym isn't the definition. Otherwise,
always take the symbol class from the ldsym. Use weak bfd symbol
types for weak ldsyms.
(xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
Fix the check for whether a definition is from a shared object.
Allow redefinitions of weak symbols.
(xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
(xcoff_keep_symbol_p): Likewise.
(bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
(xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
but mark them as L_WEAK.
(xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
gas/
* config/tc-ppc.c (ppc_frob_symbol): Add csect information for
C_AIX_WEAKEXT too.
ld/testsuite/
* ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
ld-powerpc/aix-weak-3-64.dd: New tests.
* ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with
tmp/aix64-* in 64-bit ld options.
2009-03-14 09:34:27 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
|
|
|
|
|
ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
|
|
|
|
|
ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
|
|
|
|
|
ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
|
|
|
|
|
ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
|
|
|
|
|
ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
|
|
|
|
|
ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
|
|
|
|
|
ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
|
|
|
|
|
ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
|
|
|
|
|
ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
|
|
|
|
|
ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
|
|
|
|
|
ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
|
|
|
|
|
ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
|
|
|
|
|
ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
|
|
|
|
|
ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
|
|
|
|
|
ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
|
|
|
|
|
ld-powerpc/aix-weak-3-64.dd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with
|
|
|
|
|
tmp/aix64-* in 64-bit ld options.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_ALLOCATED): New flag.
bfd/
* xcofflink.c (xcoff_mark): When walking the relocations,
only mark the target symbol or the target section, not both.
(xcoff_final_definition_p): New function.
(xcoff_keep_symbol_p): Use it to check whether an external XCOFF
symbol is a valid definition of the associated output symbol.
Use XCOFF_ALLOCATED to stop the same hash table entry having
two output symbols.
(bfd_xcoff_size_dynamic_sections): Set XCOFF_ALLOCATED when
keeping a symbol.
(xcoff_link_input_bfd): Use xcoff_final_definition_p.
ld/testsuite/
* ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
ld-powerpc/aix-no-dup-syms-1-dso.dnd,
ld-powerpc/aix-no-dup-syms-1-dso.drd,
ld-powerpc/aix-no-dup-syms-1-dso.nd,
ld-powerpc/aix-no-dup-syms-1-dso.rd,
ld-powerpc/aix-no-dup-syms-1-rel.nd,
ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:33:39 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.dnd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.drd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.nd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-dso.rd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-rel.nd,
|
|
|
|
|
ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:32:56 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-abs-branch-1.nd,
|
|
|
|
|
ld-powerpc/aix-abs-reloc-1.nd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:32:33 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt,
|
|
|
|
|
ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd,
|
|
|
|
|
ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them. Copy aix-lineno-1.txt to tmpdir.
|
|
|
|
|
|
2009-03-14 09:18:22 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s,
|
|
|
|
|
ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd,
|
|
|
|
|
ld-powerpc/aix-toc-1-64.dd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
include/coff/
* xcoff.h (XCOFF_CALLED, XCOFF_IMPORT): Update comments.
(XCOFF_WAS_UNDEFINED): New flag.
(xcoff_link_hash_table): Add an "rtld" field.
bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Report relocations
against undefined symbols if the symbol's XCOFF_WAS_UNDEFINED
flag is set. Assert that all undefined symbols are either
imported or defined by a dynamic object.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* xcofflink.c (xcoff_link_add_symbols): Extend function-symbol
handling to all relocations. Only set XCOFF_CALLED for function
symbols.
(xcoff_find_function): New function, split out from...
(bfd_xcoff_export_symbol) ...here.
(xcoff_set_import_path): New function, split out from...
(bfd_xcoff_import_symbol): ...here. Remove assertion for old
meaning of XCOFF_CALLED.
(xcoff_mark_symbol): If we mark an undefined and unimported
symbol, find some way of defining it. If the symbol is a function
descriptor, fill in its definition automatically. If the symbol
is a function, mark its descriptor and allocate room for global
linkage code. Otherwise mark the symbol as implicitly imported.
Move the code for creating function descriptors from...
(xcoff_build_ldsyms): ...here. Use XCOFF_WAS_UNDEFINED to
check for symbols that were implicitly defined.
(xcoff_mark): Don't count any dynamic relocations against
function symbols.
(bfd_xcoff_size_dynamic_sections): Save the rtld parameter
in the xcoff link info.
(xcoff_link_input_bfd): Remove handling of undefined and
unexported symbols.
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
-berok and -bernotok control link_info.unresolved_syms_in_objects
and link_info.unresolved_syms_in_shared_libs instead of
force_make_executable.
ld/testsuite/
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
* ld-powerpc/aix52.exp: Run them.
2009-03-14 09:17:32 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
|
|
|
|
|
ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
|
|
|
|
|
ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run them.
|
|
|
|
|
|
2009-03-14 09:16:01 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex,
|
|
|
|
|
ld-powerpc/aix-abs-branch-1.s,
|
|
|
|
|
ld-powerpc/aix-abs-branch-1.dd: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
2009-03-14 09:15:34 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im,
|
|
|
|
|
ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test.
|
|
|
|
|
* ld-powerpc/aix52.exp: Run it.
|
|
|
|
|
|
2009-03-14 09:14:30 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex,
|
|
|
|
|
ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s,
|
|
|
|
|
ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd,
|
|
|
|
|
ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex,
|
|
|
|
|
ld-powerpc/aix-core-sec-3.hd: New tests.
|
|
|
|
|
* ld-powerpc/aix52.exp: New harness.
|
|
|
|
|
|
2009-03-14 09:09:47 +00:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter.
|
|
|
|
|
(run_ld_link_tests): Treat the second list element as "ar" options
|
|
|
|
|
when creating an archive. Don't run the linker in this case.
|
|
|
|
|
(run_cc_link_tests): Likewise.
|
|
|
|
|
|
2009-03-13 09:00:59 +00:00
|
|
|
|
2009-03-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
|
|
|
|
|
Replace call to verbose_eval with a test of verbose level. If
|
|
|
|
|
greater than 2 always dump the contents of the dumpfile. If equal
|
|
|
|
|
to 2 only dump the contents if the regexp diff failed.
|
|
|
|
|
(proc verbose_eval): Delete.
|
|
|
|
|
|
2009-03-07 23:42:28 +00:00
|
|
|
|
2009-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
* ld-elf/empty2.d: Remove xfail for hppa*-*-*.
|
|
|
|
|
* ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
|
|
|
|
|
|
2009-03-06 08:57:58 +00:00
|
|
|
|
2009-03-05 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add new farcall-group-limit test.
|
|
|
|
|
* ld-arm/farcall-group-limit.d: New file.
|
|
|
|
|
* ld-arm/farcall-group3.s: New file.
|
|
|
|
|
* ld-arm/farcall-group4.s: New file.
|
|
|
|
|
|
2009-03-05 17:28:21 +00:00
|
|
|
|
2009-03-05 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
|
|
|
|
|
in PLT context.
|
|
|
|
|
* ld-arm/farcall-mixed-app-v5.d: New file.
|
|
|
|
|
* ld-arm/farcall-mixed-app.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.r: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.s: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-app.sym: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-lib.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-mixed-lib.r: Likewise.
|
|
|
|
|
|
2009-03-04 05:50:50 +00:00
|
|
|
|
2009-03-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
|
|
|
|
|
* ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
|
|
|
|
|
* ld-powerpc/powerpc.exp: Run them.
|
|
|
|
|
|
2009-03-02 17:27:36 +00:00
|
|
|
|
2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* ld-scripts/regions-alias-1.t: New file.
|
|
|
|
|
* ld-scripts/regions-alias-2.t: New file.
|
|
|
|
|
* ld-scripts/regions-alias-3.t: New file.
|
|
|
|
|
* ld-scripts/regions-alias-4.t: New file.
|
|
|
|
|
* ld-scripts/script.exp: Run region alias tests.
|
|
|
|
|
|
2009-02-27 19:01:57 +00:00
|
|
|
|
2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/pe.exp: Disable auto-import when linking on Cygwin.
|
|
|
|
|
|
2009-02-26 15:37:53 +00:00
|
|
|
|
2009-02-26 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the
|
|
|
|
|
test is now expected to pass.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
|
|
|
|
|
|
2009-02-25 16:05:15 +00:00
|
|
|
|
2009-02-25 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result,
|
|
|
|
|
as stubs are now generated and the end of the .text section.
|
|
|
|
|
* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
|
|
|
|
|
|
2009-02-24 22:44:18 +00:00
|
|
|
|
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
|
|
|
|
|
Thumb PIC stub.
|
|
|
|
|
|
2009-02-24 Joseph Myers <joseph@codesourcery.com>
bfd/
* elf32-arm.c (PREV_SEC): Update comment.
(group_sections): Rename argument to stubs_always_after_branch.
Reverse the list and place stubs at the end of input sections.
Undefine NEXT_SEC.
(elf32_arm_size_stubs): Update to use stubs_always_after_branch.
ld/
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
* emultempl/armelf.em (hook_in_stub): Insert after the input section.
(elf32_arm_add_stub_section): Update comment.
(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
Use normal output files for big-endian.
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-be8.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
ld-arm/thumb2-bl-bad.d: Update for moved stubs.
2009-02-24 22:43:10 +00:00
|
|
|
|
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
|
|
|
|
|
Use normal output files for big-endian.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
|
|
|
|
|
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-be8.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
|
|
|
|
|
ld-arm/thumb2-bl-bad.d: Update for moved stubs.
|
|
|
|
|
|
2009-02-23 21:51:35 +00:00
|
|
|
|
2009-02-23 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Run new tests. Correct BE8 output
|
|
|
|
|
filename.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New.
|
|
|
|
|
|
2009-02-23 10:03:47 +00:00
|
|
|
|
2009-02-23 Christophe Lyon <christophe.lyon@st.com>
|
2009-02-23 21:48:53 +00:00
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-be8.d: New expected result.
|
|
|
|
|
* ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.
|
|
|
|
|
|
|
|
|
|
2009-02-23 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
2009-02-23 10:03:47 +00:00
|
|
|
|
* ld-arm/arm-elf.exp: Rewrite non-EABI variants of
|
|
|
|
|
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now
|
|
|
|
|
pass. farcall-thumb-thumb now passes in EABI mode.
|
|
|
|
|
* ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as
|
|
|
|
|
and ld flags to match intended test.
|
|
|
|
|
* ld-arm/farcall-thumb-arm.d: New expected result.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld
|
|
|
|
|
flags.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
|
|
|
|
|
* ld-arm/farcall-thumb-thumb.d: New expected result, this test is
|
|
|
|
|
now expected to pass.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to
|
|
|
|
|
new use.
|
|
|
|
|
* ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment.
|
|
|
|
|
|
2009-02-18 18:23:08 +00:00
|
|
|
|
2009-18-02 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* ld-pe/longsecn-1.d: New test file.
|
|
|
|
|
* ld-pe/longsecn-2.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn-3.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn-4.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn-5.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn.d: Likewise.
|
|
|
|
|
* ld-pe/longsecn.exp: New test control script.
|
|
|
|
|
* ld-pe/longsecn.s: New test source file.
|
|
|
|
|
|
2009-02-18 16:56:37 +00:00
|
|
|
|
2009-02-18 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/farcall-arm-arm-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-arm-thumb-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
|
|
|
|
|
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub
|
|
|
|
|
target.
|
|
|
|
|
|
2009-02-06 16:56:12 +00:00
|
|
|
|
2009-02-06 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (check_gc_sections_available): Return 0 for
|
|
|
|
|
*-*-mingw*.
|
|
|
|
|
|
2009-02-05 21:54:43 +00:00
|
|
|
|
2009-02-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.
|
|
|
|
|
|
M68K TLS support.
ld/testsuite/
* ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
* ld-m68k/got-multigot-14-ok.d: Update.
* ld-m68k/m68k-got.exp: Update.
* ld-m68k/got-negative-12-13-14-34-ok.d: Update.
* ld-m68k/got-negative-14-ok.d: Update.
* ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
* ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
* ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
* ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
New test sources.
* ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
New test sources.
* ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
* ld-m68k/m68k.exp: Run new tests.
(merge isa-a isa-a:nodiv): Fix.
gas/testsuite/
* gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
* gas/m68k/all.exp: Run it.
gas/
* config/m68k-parse.h (enum pic_relocation): Add values for TLS
relocations.
* config/m68k-parse.y (yylex): Parse TLS relocations.
* config/tc-m68k.c (m68k_elf_cons): New static function.
(md_pseudo_table): Use it.
(get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
relocations.
(md_apply_fix): Fix to set thread local flag.
(m68k_elf_suffix): New static function; helper for m68k_elf_cons.
include/elf/
* m68k.h: Map TLS relocations to numbers.
bfd/
* bfd-in2.h: Regenerate.
* elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
fields from n_entries to n_slots where appropriate, update comments.
(HOWTO): Add TLS relocations.
(reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
(enum elf_m68k_got_offset_size): New enum.
(struct elf_m68k_got_entry.type): Move field to ...
(struct elf_m68k_got_entry_key): ... here. Update all uses.
(elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
functions.
(elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
functions.
(struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
fields into n_entries array. Update comments.
(elf_m68k_init_got): Simplify, update all uses.
(elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
(ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
GOT entries; update name, update all uses.
(ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
(elf_m68k_get_got_entry): Update.
(elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
simplify.
(elf_m68k_remove_got_entry_type): Simplify.
(elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
(elf_m68k_can_merge_gots): Update.
(elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
(struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
GOT entries, simplify.
(elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
(struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
field, remove obsoleted local_n_entries field.
(elf_m68k_partition_multi_got_2): New static function.
(elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
update.
(elf_m68k_remove_got_entry_type): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
update of sgot->size and srelgot->size.
(elf_m68k_gc_sweep_hook): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
TLS relocations.
* reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
* libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
2009-02-03 14:36:47 +00:00
|
|
|
|
2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
|
|
|
|
|
* ld-m68k/got-multigot-14-ok.d: Update.
|
|
|
|
|
* ld-m68k/m68k-got.exp: Update.
|
|
|
|
|
* ld-m68k/got-negative-12-13-14-34-ok.d: Update.
|
|
|
|
|
* ld-m68k/got-negative-14-ok.d: Update.
|
|
|
|
|
* ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
|
|
|
|
|
* ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
|
|
|
|
|
* ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
|
|
|
|
|
* ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
|
|
|
|
|
New test sources.
|
|
|
|
|
* ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
|
|
|
|
|
New test sources.
|
|
|
|
|
* ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
|
|
|
|
|
* ld-m68k/m68k.exp: Run new tests.
|
|
|
|
|
(merge isa-a isa-a:nodiv): Fix.
|
|
|
|
|
|
2009-02-01 12:05:25 +00:00
|
|
|
|
2009-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
|
|
|
|
|
* ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
|
|
|
|
|
|
2009-01-29 09:03:13 +00:00
|
|
|
|
2009-01-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
|
|
|
|
|
targets which do not support garbage collection.
|
|
|
|
|
* ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
|
|
|
|
|
* ld-elf/group8a.d: Likewise.
|
|
|
|
|
* ld-elf/group8b.d: Likewise.
|
|
|
|
|
* ld-elf/group9a.d: Likewise.
|
|
|
|
|
* ld-elf/group9b.d: Likewise.
|
|
|
|
|
|
2009-01-27 06:08:52 +00:00
|
|
|
|
2009-01-27 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
2009-01-27 22:31:19 +00:00
|
|
|
|
* ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.
|
|
|
|
|
|
2009-01-27 07:05:47 +00:00
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
|
|
|
|
|
ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d,
|
|
|
|
|
ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for
|
|
|
|
|
change in relocation values.
|
|
|
|
|
|
2009-01-27 06:08:52 +00:00
|
|
|
|
* ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.
|
|
|
|
|
|
2009-01-26 15:27:04 +00:00
|
|
|
|
2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-powerpc/powerpc.exp: Add vxworks relax testcase.
|
|
|
|
|
* ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New.
|
|
|
|
|
* ld-powerpc/vxworks1.ld: Add .pad and .far input sections.
|
|
|
|
|
* ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
|
|
|
|
|
|
2009-01-26 14:36:43 +00:00
|
|
|
|
2009-01-26 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/attr-merge-3.attr: Update following gas change.
|
|
|
|
|
* ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
|
|
|
|
|
Tag_THUMB_ISA_use following gas changes.
|
|
|
|
|
* ld-arm/attr-merge-4.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-5.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-arch-1.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-arch-2.attr: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2r.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-unknown-3.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-00.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-02.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-04.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-20.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-22.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-40.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge-wchar-44.d: Likewise.
|
|
|
|
|
* ld-arm/attr-merge.attr: Likewise.
|
|
|
|
|
|
2009-01-21 02:28:22 +00:00
|
|
|
|
2009-01-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.d: Add --non-ia-text to ld options.
|
|
|
|
|
|
2009-01-19 17:33:26 +00:00
|
|
|
|
2009-01-19 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,
|
|
|
|
|
ld-cris/weakref4.d: New tests.
|
|
|
|
|
* ld-cris/libdso-15b.d: Adjust for recent weakref fix.
|
|
|
|
|
|
2009-01-19 15:52:19 +00:00
|
|
|
|
2009-01-19 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/group9.s: Replace .byte with .long.
|
|
|
|
|
|
2009-01-19 12:20:15 +00:00
|
|
|
|
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3,
|
|
|
|
|
EABI attribute merging 4, and EABI attribute merging 5,
|
|
|
|
|
EABI attribute arch merging 1, EABI attribute arch merging 1 reversed,
|
|
|
|
|
EABI attribute arch merging 2, EABI attribute arch merging 2 reversed.
|
|
|
|
|
Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r,
|
|
|
|
|
and attr-merge-unknown-3 dump tests.
|
|
|
|
|
* ld-arm/arch-v6.s: New file.
|
|
|
|
|
* ld-arm/arch-v6k.s: New file.
|
|
|
|
|
* ld-arm/arch-v6t2.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-3.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-3a.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-3b.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-4.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-4a.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-4b.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-5.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-5.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-arch-1.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-arch-2.attr: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-1.d: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-1.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2.d: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2.s: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-2r.d: New file.
|
|
|
|
|
* ld-arm/attr-merge-unknown-3.d: New file.
|
|
|
|
|
* ld-arm/blank.s: New file.
|
|
|
|
|
|
2009-01-16 14:14:07 +00:00
|
|
|
|
2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/textaddr1.d: New.
|
|
|
|
|
* ld-elf/textaddr2.d: Likewise.
|
|
|
|
|
|
2009-01-14 21:52:49 +00:00
|
|
|
|
2009-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9727
|
|
|
|
|
* ld-elf/group8.s: New.
|
|
|
|
|
* ld-elf/group8a.d: Likewise.
|
|
|
|
|
* ld-elf/group8b.d: Likewise.
|
|
|
|
|
* ld-elf/group9.s: Likewise.
|
|
|
|
|
* ld-elf/group9a.d: Likewise.
|
|
|
|
|
* ld-elf/group9b.d: Likewise.
|
|
|
|
|
|
2009-01-13 01:54:15 +00:00
|
|
|
|
2009-01-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/icache1.s: New file.
|
|
|
|
|
* ld-spu/icache1.d: New file.
|
|
|
|
|
|
2009-01-12 13:57:59 +00:00
|
|
|
|
2009-01-13 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-elf/elf.exp: Save and restore LDFLAGS.
|
|
|
|
|
* ld-scripts/default-script.exp: Likewise.
|
|
|
|
|
* ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
|
|
|
|
|
than replacing.
|
|
|
|
|
* ld-scripts/include.exp: Set --local-store for SPU.
|
|
|
|
|
|
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
num_lines_log2.
(struct got_entry): Add br_addr.
(struct call_info): Add priority.
(struct function_info): Add lr_store and sp_adjust.
(spu_elf_setup): Init line_size_log2 and num_lines_log2.
(spu_elf_find_overlays): For soft-icache, mark any section within cache
area as an overlay, and check that no other overlays exist. Look up
icache overlay manager entry sym.
(BRA_STUBS, BRA, BRASL): Define.
(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
(needs_ovl_stub): Adjust for soft-icache. Return priority encoded
in branch insn.
(count_stub, build_stub): Support soft-icache.
(build_spuear_stubs, process_stubs): Adjust build_stub call.
(spu_elf_size_stubs): Size soft-icache stubs.
(overlay_index): New function.
(spu_elf_build_stubs): Make static. Support soft-icache.
(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
(find_function_stack_adjust): Save lr store and stack adjust insn
offsets.
(maybe_insert_function): Adjust find_function_stack_adjust call.
(mark_functions_via_relocs): Retrieve priority.
(remove_cycles): Only warn about pruned arcs when stack_analysis.
(sort_calls): Sort by priority first.
(mark_overlay_section): Ignore .ovl.init.
(sum_stack): Only print when stack_analysis.
(print_one_overlay_section): New function, extracted from..
(spu_elf_auto_overlay): ..here. Support soft-icache overlays.
(spu_elf_stack_analysis): Only print when htab->stack_analysis.
(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
analysis. Call spu_elf_build_stubs.
(spu_elf_relocate_section): For soft-icache encode overlay index
into addresses.
(spu_elf_output_symbol_hook): Support soft-icache.
(spu_elf_modify_program_headers: Likewise.
* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
num_regions to num_lines. Add line_size and max_branch.
(enum _ovly_flavour): Add ovly_soft_icache.
(spu_elf_build_stubs): Delete.
gas/
* config/tc-spu.c (md_pseudo_table): Add "brinfo".
(brinfo): New var.
(md_assemble): Poke brinfo into branch instructions.
(spu_brinfo): New function.
(md_apply_fix): Don't assume insn fields start off at zero, mask
them to remove possible brinfo.
ld/
* emultempl/spuelf.em (params): Init new fields.
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
(spu_place_special_section): Adjust placement for soft-icache. Pad
soft-icache section to a fixed size. Clear addr_tree.
(spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
sections a little more intelligently.
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
(OPTION_SPU_LRLIVE): Define.
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
* emultempl/spu_icache.S: Dummy file.
* emultempl/spu_icache.o_c: Regenerate.
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
(spu_icache.o_c): Add rule to build.
(CLEANFILES): Zap temp files.
(EXTRA_DIST): Add spu_icache.o_c.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-spu/ovl.d: Allow for absolute branches in stubs.
* ld-spu/ovl2.d: Likewise.
2009-01-12 00:23:58 +00:00
|
|
|
|
2009-01-12 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld-spu/ovl.d: Allow for absolute branches in stubs.
|
|
|
|
|
* ld-spu/ovl2.d: Likewise.
|
|
|
|
|
|
2009-01-11 21:09:49 +00:00
|
|
|
|
2009-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
|
|
|
|
|
ld-elf/linkoncerdiff2.s: New.
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
relocation value now offset by negative program TLS block size.
* ld-cris/tls-le-12s.d: Ditto. Move 128-byte tls-data to last.
Adjust accordingly.
* ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
always-negative relocation.
* ld-cris/tls-tprelm.s: Move filler data to after symbol for
tested relocation.
* ld-cris/tls-ok-36.d: Adjust accordingly.
2009-01-07 03:27:11 +00:00
|
|
|
|
2009-01-07 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
|
|
|
|
|
ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
|
|
|
|
|
ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
|
|
|
|
|
ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
|
|
|
|
|
ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
|
|
|
|
|
ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
|
|
|
|
|
ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
|
|
|
|
|
ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
|
|
|
|
|
ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
|
|
|
|
|
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
|
|
|
|
|
relocation value now offset by negative program TLS block size.
|
|
|
|
|
* ld-cris/tls-le-12s.d: Ditto. Move 128-byte tls-data to last.
|
|
|
|
|
Adjust accordingly.
|
|
|
|
|
* ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
|
|
|
|
|
always-negative relocation.
|
|
|
|
|
* ld-cris/tls-tprelm.s: Move filler data to after symbol for
|
|
|
|
|
tested relocation.
|
|
|
|
|
* ld-cris/tls-ok-36.d: Adjust accordingly.
|
|
|
|
|
|
2009-01-03 04:53:47 +00:00
|
|
|
|
2009-01-03 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* ld-cris/tls-js1.d: New test.
|
|
|
|
|
|
2009-01-02 19:29:38 +00:00
|
|
|
|
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/9679
|
|
|
|
|
* ld-elf/pr9679-1.c: New.
|
|
|
|
|
* ld-elf/pr9679-2.c: Likewise.
|
|
|
|
|
* ld-elf/pr9679.rd: Likewise.
|
|
|
|
|
|
|
|
|
|
* ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
|
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
|
2008-12-23 19:10:25 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
PR ld/9676
|
|
|
|
|
* ld-elf/pr9676-1.c: New.
|
|
|
|
|
* ld-elf/pr9676-2.c: Likewiswe.
|
|
|
|
|
* ld-elf/pr9676-3.c: Likewiswe.
|
|
|
|
|
* ld-elf/pr9676-4.c: Likewiswe.
|
|
|
|
|
* ld-elf/pr9676.rd: Likewiswe.
|
2008-12-23 11:45:25 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
* ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
|
|
|
|
|
libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
|
|
|
|
|
libpr9676-4a.so.
|
2008-12-23 11:45:25 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
* lib/ld-lib.exp (ar_simple_create): New.
|
|
|
|
|
(run_ld_link_tests): Support archive.
|
|
|
|
|
(run_cc_link_tests): Likewiswe.
|
2008-12-23 09:01:51 +00:00
|
|
|
|
|
2009-01-02 16:48:11 +00:00
|
|
|
|
For older changes see ChangeLog-2008
|
2004-01-02 11:16:21 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|