mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
7fb9f789e3
bfd/ * elf32-m68k.c (struct elf_m68k_link_hash_entry: got_entry_key, glist): New fields. (struct elf_m68k_got_entry_key, struct elf_m68k_got_entry, struct elf_m68k_got, struct elf_m68k_bfd2got_entry, struct elf_m68k_multi_got): New data structures. (struct elf_m68k_link_hash_table: local_gp_p, use_neg_got_offsets_p, allow_multigot_p, multi_got_): New fields. (elf_m68k_multi_got): New macro. (elf_m68k_link_hash_newfunc): Initialize new fields of struct elf_m68k_link_hash_entry. (elf_m68k_link_hash_table_create): Initialize new fields of struct elf_m68k_link_hash_table. (elf_m68k_link_hash_table_free): New static function implementing hook. (elf_m68k_init_got, elf_m68k_clear_got, elf_m68k_create_empty_got): New static functions for struct elf_m68k_got. (elf_m68k_init_got_entry_key, elf_m68k_got_entry_hash, elf_m68k_got_entry_eq): New static functions for struct elf_m68k_got_entry. (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT, ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): New macros. (enum elf_m68k_get_entry_howto): New enum. (elf_m68k_get_got_entry, elf_m68k_update_got_entry_type, elf_m68k_remove_got_entry_type): New static functions for struct elf_m68k_got_entry. (elf_m68k_add_entry_to_got): New static function. (elf_m68k_bfd2got_entry_hash, elf_m68k_bfd2got_entry_eq, elf_m68k_bfd2got_entry_del, elf_m68k_get_bfd2got_entry): New static functions for struct elf_m68k_bfd2got_entry. (struct elf_m68k_can_merge_gots_arg, elf_m68k_can_merge_gots_1, elf_m68k_can_merge_gots): New traversal. (struct elf_m68k_merge_gots_arg, elf_m68k_merge_gots_1, elf_m68k_merge_gots): Ditto. (struct elf_m68k_finalize_got_offsets_arg, elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Ditto. (struct elf_m68k_partition_multi_got_arg, elf_m68k_partition_multi_got_1, elf_m68k_init_symndx2h_1, elf_m68k_partition_multi_got): Ditto. (elf_m68k_find_got_entry_ptr, elf_m68k_remove_got_entry): New static functions. (elf_m68k_copy_indirect_symbol): New static function implementing a hook. (elf_m68k_check_relocs): Update to add entries to multi-GOT. (elf_m68k_gc_sweep_hook): Update to remove entries from multi-GOT. (elf_m68k_always_size_sections): Assign BFDs to GOTs. (elf_m68k_relocate_section): Update to properly handle GOT relocations. (elf_m68k_finish_dynamic_symbol): Update to traverse all GOT entries of a global symbol. (bfd_elf_m68k_set_target_options): New function. (bfd_elf32_bfd_link_hash_table_free): Define hook. (bfd_elf32_bfd_final_link): Change expansion to bfd_elf_final_link to skip generic calculation of GOT offsets. (elf_backend_copy_indirect_symbol): Define hook. * bfd-in.h (bfd_elf_m68k_set_target_options): Declare function. * bfd-in2.h: Regenerate. ld/ * configure.in (--enable-got): New option. Handle it. * configure: Regenerate. * config.in: Regenerate. * emultempl/m68kelf.em: (got_handling_target_default): New shell variable. (GOT_HANDLING_TARGET_DEFAULT): New macro. (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure option if one was given. (got_handling): New static variable. (elf_m68k_create_output_section_statements): New static function implementing hook. (PARSE_AND_LIST_PROLOGUE): Define shell variable. (OPTION_GOT): New macro. (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify --got option. (got): New linker option. (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string for --got option. (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got option. * ld.texinfo: Document --got=<type> option. * gen-doc.texi: Add M68K. * NEWS: Mention the new feature. ld/testsuite/ * ld-m68k/got-12.s: New file. * ld-m68k/got-13.s: New file. * ld-m68k/got-14.s: New file. * ld-m68k/got-15.s: New file. * ld-m68k/got-34.s: New file. * ld-m68k/got-35.s: New file. * ld-m68k/got-single-12-ok.d: New dump test. * ld-m68k/got-single-13-er.d: New dump test. * ld-m68k/got-negative-14-ok.d: New dump test. * ld-m68k/got-negative-15-er.d: New dump test. * ld-m68k/got-negative-12-13-14-34-ok.d: New dump test. * ld-m68k/got-negative-12-13-14-35-er.d: New dump test. * ld-m68k/got-multigot-14-ok.d: New dump test. * ld-m68k/got-multigot-15-er.d: New dump test. * ld-m68k/got-multigot-12-13-14-34-35-ok.d: New dump test. * ld-m68k/xgot-15.s: New source. * ld-m68k/got-xgot-15-ok.d: New test. * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: New test. * ld-m68k/m68k.exp: Run new tests.
356 lines
11 KiB
Plaintext
356 lines
11 KiB
Plaintext
2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||
|
||
* ld-m68k/got-12.s: New file.
|
||
* ld-m68k/got-13.s: New file.
|
||
* ld-m68k/got-14.s: New file.
|
||
* ld-m68k/got-15.s: New file.
|
||
* ld-m68k/got-34.s: New file.
|
||
* ld-m68k/got-35.s: New file.
|
||
* ld-m68k/got-single-12-ok.d: New dump test.
|
||
* ld-m68k/got-single-13-er.d: New dump test.
|
||
* ld-m68k/got-negative-14-ok.d: New dump test.
|
||
* ld-m68k/got-negative-15-er.d: New dump test.
|
||
* ld-m68k/got-negative-12-13-14-34-ok.d: New dump test.
|
||
* ld-m68k/got-negative-12-13-14-35-er.d: New dump test.
|
||
* ld-m68k/got-multigot-14-ok.d: New dump test.
|
||
* ld-m68k/got-multigot-15-er.d: New dump test.
|
||
* ld-m68k/got-multigot-12-13-14-34-35-ok.d: New dump test.
|
||
* ld-m68k/xgot-15.s: New source.
|
||
* ld-m68k/got-xgot-15-ok.d: New test.
|
||
* ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: New test.
|
||
* ld-m68k/m68k.exp: Run new tests.
|
||
|
||
2008-05-15 Christophe Lyon <christophe.lyon@st.com>
|
||
|
||
* ld-arm/arm-elf.exp (armelftests): Add farcall-arm-arm,
|
||
farcall-arm-arm-pic-veneer, farcall-arm-arm-be8 farcall-arm-thumb,
|
||
farcall-arm-thumb-blx, farcall-arm-thumb-pic-veneer,
|
||
farcall-arm-thumb-blx-pic-veneer, farcall-thumb-thumb,
|
||
farcall-thumb-thumb-pic-veneer, farcall-thumb-thumb-blx,
|
||
farcall-thumb-thumb-m, farcall-thumb-thumb-m-pic-veneer,
|
||
farcall-thumb-thumb-blx-pic-veneer, farcall-thumb-arm,
|
||
farcall-thumb-arm-pic-veneer, farcall-thumb-arm-blx,
|
||
farcall-thumb-arm-blx-pic-veneer.
|
||
Change thumb2-bl-as-thumb1-bad, thumb2-bl-bad.
|
||
* ld-arm/thumb2-bl-as-thumb1-bad.d: Reflects farcall stub
|
||
generation.
|
||
* ld-arm/thumb2-bl-bad.d: Likewise.
|
||
* ld-arm/thumb2-bl-as-thumb1-bad.s: Update comments.
|
||
* ld-arm/thumb2-bl-bad.s: Likewise.
|
||
|
||
2008-05-08 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-spu/ear.s: Align various sections.
|
||
* ld-spu/embed.rd: Update.
|
||
|
||
2008-05-05 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
PR 6473
|
||
* ld-elf/lma.s, ld-elf/lma.lnk: New test.
|
||
* ld-elf/binutils.exp: Run it.
|
||
|
||
2008-05-03 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* ld-scripts/defined.s: Use .set syntax rather than =.
|
||
|
||
2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/6475
|
||
* ld-scripts/rgn-over8-ok.d: Accept any alignment.
|
||
|
||
2008-04-29 Daniel Jacobowitz <dan@codesourcery.com>
|
||
|
||
* ld-arm/symbian-seg1.s, ld-arm/symbian-seg1.d: New files.
|
||
* ld-arm/arm-elf.exp: Run symbian-seg1.
|
||
|
||
2008-04-28 Nathan Sidwell <nathan@codesourcery.com>
|
||
|
||
* ld-scripts/rgn-over8.s: Tweak.
|
||
|
||
* ld-scripts/rgn-over.exp: Allow -ok file names to pass.
|
||
* ld-scripts/rgn-over8.s: New.
|
||
* ld-scripts/rgn-over8.t: New.
|
||
* ld-scripts/rgn-over8-ok.d: New.
|
||
|
||
2008-04-21 Nathan Sidwell <nathan@codesourcery.com>
|
||
|
||
* ld-vxworks/plt-mips1.s: New.
|
||
* ld-vxworks/plt-mips1.d: New.
|
||
|
||
2008-04-16 David S. Miller <davem@davemloft.net>
|
||
|
||
* ld-sparc/gotop32.dd: New.
|
||
* ld-sparc/gotop32.rd: Likewise.
|
||
* ld-sparc/gotop32.s: Likewise.
|
||
* ld-sparc/gotop32.sd: Likewise.
|
||
* ld-sparc/gotop32.td: Likewise.
|
||
* ld-sparc/gotop64.dd: Likewise.
|
||
* ld-sparc/gotop64.rd: Likewise.
|
||
* ld-sparc/gotop64.s: Likewise.
|
||
* ld-sparc/gotop64.sd: Likewise.
|
||
* ld-sparc/gotop64.td: Likewise.
|
||
* ld-sparc/sparc.exp: Run new gotdata tests.
|
||
|
||
2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
|
||
|
||
* ld-sh/arch/sh-dsp.s: Regenerate.
|
||
* ld-sh/arch/sh.s: Regenerate.
|
||
* ld-sh/arch/sh2.s: Regenerate.
|
||
* ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate.
|
||
* ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate.
|
||
* ld-sh/arch/sh2a-nofpu.s: Regenerate.
|
||
* ld-sh/arch/sh2a-or-sh3e.s: Regenerate.: Regenerate.
|
||
* ld-sh/arch/sh2a-or-sh4.s: Regenerate.
|
||
* ld-sh/arch/sh2a.s: Regenerate.
|
||
* ld-sh/arch/sh2e.s: Regenerate.
|
||
* ld-sh/arch/sh3-dsp.s: Regenerate.
|
||
* ld-sh/arch/sh3-nommu.s: Regenerate.
|
||
* ld-sh/arch/sh3.s: Regenerate.
|
||
* ld-sh/arch/sh3e.s: Regenerate.
|
||
* ld-sh/arch/sh4-nofpu.s: Regenerate.
|
||
* ld-sh/arch/sh4-nommu-nofpu.s: Regenerate.
|
||
* ld-sh/arch/sh4.s: Regenerate.
|
||
* ld-sh/arch/sh4a-nofpu.s: Regenerate.
|
||
* ld-sh/arch/sh4a.s: Regenerate.
|
||
* ld-sh/arch/sh4al-dsp.s: Regenerate.
|
||
|
||
2008-04-08 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-spu/ovl2.s: Extend to test jump table references and
|
||
absolute _SPUEAR_ syms.
|
||
* ld-spu/ovl2.d: Update.
|
||
|
||
2008-03-28 Joseph Myers <joseph@codesourcery.com>
|
||
|
||
* ld-elfcomm/elfcomm.exp: Run $READELF not readelf.
|
||
|
||
2008-03-26 Daniel Jacobowitz <dan@codesourcery.com>
|
||
|
||
* ld-elf/flags1.d: Adjust for MIPS text alignment.
|
||
|
||
2008-03-25 Nathan Sidwell <nathan@codesourcery.com>
|
||
|
||
* ld-vxworks/tls-3.s: New.
|
||
* ld-vxworks/tls-3.d: New.
|
||
|
||
2008-03-22 Hans-Peter Nilsson <hp@axis.com>
|
||
|
||
* ld-cris/libdso-10.d: Adjust for change in objdump output.
|
||
|
||
2008-03-21 Adam Nemet <anemet@caviumnetworks.com>
|
||
|
||
* ld-mips-elf/dyn-sec64.d, ld-mips-elf/dyn-sec64.s,
|
||
ld-mips-elf/dyn-sec64.ld: New test.
|
||
* ld-mips-elf/mips-elf.exp: Run it.
|
||
|
||
2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
|
||
|
||
* ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-1.s,
|
||
ld-mips-elf/got-dump-1.ld, ld-mips-elf/got-dump-2.d,
|
||
ld-mips-elf/got-dump-2.s, ld-mips-elf/got-dump-2.ld: New tests.
|
||
* ld-mips-elf/mips-elf.exp: Run them.
|
||
|
||
2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
|
||
|
||
* ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than
|
||
bit 31 of the second GOT entry to be set.
|
||
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
|
||
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
|
||
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
|
||
|
||
2008-03-17 Richard Sandiford <rsandifo@nildram.co.uk>
|
||
|
||
* ld-mips-elf/eh-frame1-n32.d: Expect a warning about .eh_frame_hdr.
|
||
Remove duplicate CIEs. Adjust relocation addresses and .eh_frame
|
||
offsets accordingly. Do not allow there to be any trailing
|
||
R_MIPS_NONE relocations.
|
||
* ld-mips-elf/eh-frame1-n64.d: Likewise.
|
||
* ld-mips-elf/eh-frame2-n32.d: Likewise.
|
||
* ld-mips-elf/eh-frame2-n64.d: Likewise.
|
||
|
||
2008-03-17 Richard Sandiford <rsandifo@nildram.co.uk>
|
||
|
||
* ld-mips-elf/mips-elf.exp (o32_as_flags, o32_ld_flags): New variables.
|
||
(mips16_call_global_test, mips16_intermix_test): Use them.
|
||
|
||
2008-03-16 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/5789
|
||
PR ld/5943
|
||
* ld-i386/hidden1.d: New.
|
||
* ld-i386/hidden1.s: Likewise.
|
||
* ld-i386/hidden2.d: Likewise.
|
||
* ld-i386/hidden2.s: Likewise.
|
||
* ld-i386/hidden3.d: Likewise.
|
||
* ld-i386/hidden4.s: Likewise.
|
||
* ld-i386/protected1.d: Likewise.
|
||
* ld-i386/protected1.s: Likewise.
|
||
* ld-i386/protected2.d: Likewise.
|
||
* ld-i386/protected2.s: Likewise.
|
||
* ld-i386/protected3.d: Likewise.
|
||
* ld-i386/protected3.s: Likewise.
|
||
* ld-x86-64/hidden1.d: Likewise.
|
||
* ld-x86-64/hidden1.s: Likewise.
|
||
* ld-x86-64/hidden2.d: Likewise.
|
||
* ld-x86-64/hidden2.s: Likewise.
|
||
* ld-x86-64/hidden3.d: Likewise.
|
||
* ld-x86-64/hidden3.s: Likewise.
|
||
* ld-x86-64/protected1.d: Likewise.
|
||
* ld-x86-64/protected1.s: Likewise.
|
||
* ld-x86-64/protected2.d: Likewise.
|
||
* ld-x86-64/protected2.s: Likewise.
|
||
* ld-x86-64/protected3.d: Likewise.
|
||
* ld-x86-64/protected3.s: Likewise.
|
||
|
||
* ld-i386/i386.exp: Run hidden1, hidden2, hidden3, protected1,
|
||
protected2 and protected3.
|
||
* ld-x86-64/x86-64.exp: Likewise.
|
||
|
||
2008-03-14 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-spu/ovl2.s: Make setjmp global.
|
||
* ld-spu/ovl2.d: Update.
|
||
|
||
2008-03-12 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
PR 5900
|
||
* ld-elf/sec64k.exp: Update.
|
||
|
||
2008-03-08 Paul Brook <paul@codesourcery.com>
|
||
|
||
* ld-arm/arm-elf.exp (armeabitests): Add thumb2-b-interwork.
|
||
* ld-arm/thumb2-b-interwork.d: New test.
|
||
* ld-arm/thumb2-b-interwork.s: New test.
|
||
|
||
2008-03-07 Paul Brook <paul@codesourcery.com>
|
||
|
||
* ld-arm/arm-elf.exp (armelftests): Add movw-merge and arm-app-movw.
|
||
* ld-arm/arm-app-movw.s: New test.
|
||
* ld-arm/arm-app.r: Update expected output.
|
||
* ld-arm/movw-merge.d: New test.
|
||
* ld-arm/movw-merge.s: New test.
|
||
|
||
2008-03-01 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-powerpc/relbrlt.d: Update. Also check .branch_lt section.
|
||
|
||
2008-02-27 Catherine Moore <clm@codesourcery.com>
|
||
|
||
* ld-cris/libdso-10.d: Update expected output for the Dynamic
|
||
Section to allow an arbitrary number of spaces.
|
||
|
||
2008-02-20 Mark Mitchell <mark@codesourcery.com>
|
||
|
||
ld/testsuite/
|
||
* ld-elf/seg.d: Expect .reginfo section on MIPS.
|
||
|
||
2008-02-20 Pedro Alves <pedro_alves@portugalmail.pt>
|
||
|
||
* ld-auto-import/auto-import.exp: Use $ld to link the dll for
|
||
cygwin, not $CC.
|
||
|
||
2008-02-18 Hans-Peter Nilsson <hp@axis.com>
|
||
|
||
* lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings
|
||
for tool invocations where warnings or errors can be matched.
|
||
|
||
2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-shared/sh1.c (shlib_overriddencall2): Moved to ...
|
||
* ld-shared/sh2.c (shlib_overriddencall2): Here. New.
|
||
|
||
2008-02-07 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-spu/ovl.d: Update.
|
||
* ld-spu/ovl2.d: Update.
|
||
|
||
2008-02-04 Bob Wilson <bob.wilson@acm.org>
|
||
|
||
* ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.
|
||
|
||
2008-01-31 Marc Gauthier <marc@tensilica.com>
|
||
|
||
* ld-elf/merge.d: Recognize Xtensa processor variants.
|
||
* ld-xtensa/coalesce.exp: Likewise.
|
||
* ld-xtensa/lcall.exp: Likewise.
|
||
|
||
2008-01-28 Petr Muller <pmuller@redhat.com>
|
||
|
||
* ld-elfvers/vers.exp (test_ar): Sort the expected output so that
|
||
it has matches the ordering of the obtained output.
|
||
|
||
2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with
|
||
DW_CFA_def_cfa_register. Updated for i386/x86-64 register
|
||
names.
|
||
* ld-elf/eh2.d: Likewise.
|
||
* ld-elf/eh3.d: Likewise.
|
||
* ld-elf/eh4.d: Likewise.
|
||
* ld-elf/eh5.d: Likewise.
|
||
|
||
2008-01-28 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-spu/ovl.d: Update.
|
||
* ld-spu/ovl2.d: Update.
|
||
|
||
2008-01-26 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-elf/loadaddr.t: New, extracted from..
|
||
* ld-elf/loadaddr1.t: ..here. Use insert.
|
||
* ld-elf/loadaddr2.t: Likewise.
|
||
* ld-elf/loadaddr1.d: Update.
|
||
* ld-elf/loadaddr2.d: Update.
|
||
|
||
2008-01-25 Alan Modra <amodra@bigpond.net.au>
|
||
|
||
* ld-spu/ovl.lnk: Delete overlay.
|
||
* ld-spu/ovl1.lnk: New file.
|
||
* ld-spu/ovl2.lnk: New file.
|
||
* ld-spu/ovl.d: Update.
|
||
* ld-spu/ovl2.d: Update.
|
||
|
||
2008-01-23 Andreas Schwab <schwab@suse.de>
|
||
|
||
* ld-gc/gc.c: Make sure used_func is not inlined.
|
||
|
||
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* ld-gc/gc.exp: Use [which $CC] != 0.
|
||
|
||
2008-01-14 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* ld-gc/gc.exp (test_gc): Let missing C compiler make tests
|
||
"untested" instead of "failed".
|
||
|
||
2008-01-10 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* lib/ld-lib.exp (check_gc_sections_available): Now available on
|
||
VxWorks.
|
||
* ld-gc: New directory for testing --gc-sections.
|
||
* ld-gc/gc.c: New file.
|
||
* ld-gc/gc.exp: New file.
|
||
* ld-gc/noent.s: New file.
|
||
* ld-gc/noent.d: New file.
|
||
|
||
2008-01-09 Richard Sandiford <rsandifo@nildram.co.uk>
|
||
|
||
PR ld/5526
|
||
* ld-elf/eh6.s, ld-elf/eh6.d: New test.
|
||
|
||
2008-01-07 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/5522
|
||
* ld-elf/noload-3.d: New file.
|
||
* ld-elf/noload-3.s: Likewise.
|
||
* ld-elf/noload-3.t: Likewise.
|
||
|
||
For older changes see ChangeLog-2007
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|