2007-01-08 16:38:59 +01:00
|
|
|
|
2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
|
|
|
|
|
|
|
|
|
|
PR ld/3843
|
|
|
|
|
* configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
|
|
|
|
|
tdir_elf_i386_fbsd.
|
|
|
|
|
|
2007-01-06 23:03:46 +01:00
|
|
|
|
2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldexp.c (fold_name): Issue error on undefined sections.
|
|
|
|
|
|
2007-01-02 08:43:13 +01:00
|
|
|
|
2007-01-02 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c: Include pe-dll.h.
|
|
|
|
|
* pep-dll.c (pe_bfd_is_dll): Define.
|
|
|
|
|
|
2006-12-24 03:48:59 +01:00
|
|
|
|
2006-12-23 Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Recognize fido.
|
|
|
|
|
|
2006-12-18 23:38:53 +01:00
|
|
|
|
2006-12-18 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (pe_bfd_is_dll): New function.
|
|
|
|
|
* pe-dll.h (pe_bfd_is_dll): Declare.
|
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
|
|
|
|
|
dlls using pe_bfd_is_dll instead of using the filename extension.
|
|
|
|
|
|
2006-12-15 06:49:28 +01:00
|
|
|
|
2006-12-15 Ulrich Weigand <uweigand@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
|
|
|
|
|
|
2006-12-12 15:31:48 +01:00
|
|
|
|
2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ld_TEXINFOS): Set.
|
|
|
|
|
(ld.info ld.dvi ld.html): Delete rule.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2006-12-12 09:10:40 +01:00
|
|
|
|
2006-12-12 Ina Pandit <inap@kpitcummins.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (print_output_section_statement): Print load address
|
|
|
|
|
when lma differs from vma.
|
|
|
|
|
|
2006-12-11 16:09:46 +01:00
|
|
|
|
2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: Define GENINSRC_NEVER.
|
|
|
|
|
* doc/Makefile.am (ld.info): Remove srcdir prefix.
|
|
|
|
|
(MAINTAINERCLEANFILES): Add info file.
|
|
|
|
|
(DISTCLEANFILES): Pretend to add info file.
|
|
|
|
|
* po/Make-in (.po.gmo): Put gmo files in objdir.
|
|
|
|
|
* configure, Makefile.in: Regenerated.
|
|
|
|
|
|
2006-12-04 09:57:09 +01:00
|
|
|
|
2006-12-04 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
|
|
|
|
|
.eh_frame_hdr section here.
|
|
|
|
|
|
2006-11-28 05:54:06 +01:00
|
|
|
|
2006-11-27 Ian Lance Taylor <ian@airs.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
|
|
|
|
|
subdirectory.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-11-27 21:14:53 +01:00
|
|
|
|
2006-11-27 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
|
|
|
|
|
(replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
|
|
|
|
|
Delete redundant code to set sections flags and alignment.
|
|
|
|
|
(xt_config_info_unpack_and_check, check_xtensa_info): New.
|
|
|
|
|
(elf_xtensa_after_open): Iterate over input statements instead of
|
|
|
|
|
link_info.input_bfds.
|
|
|
|
|
(elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
|
|
|
|
|
each input, and write a new .xtensa.info section in the output.
|
|
|
|
|
|
2006-11-22 10:45:12 +01:00
|
|
|
|
2006-11-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.in (LINGUAS): Add ga.
|
|
|
|
|
* po/ga.po: New Irish translation.
|
|
|
|
|
|
2006-11-20 21:07:51 +01:00
|
|
|
|
2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Fix a typo.
|
|
|
|
|
|
2006-11-20 03:17:06 +01:00
|
|
|
|
2006-11-20 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
|
|
|
|
|
|
2006-11-13 21:39:21 +01:00
|
|
|
|
2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (arm_elf_before_allocation): Only call
|
|
|
|
|
bfd_elf32_arm_process_before_allocation if no dynamic sections.
|
|
|
|
|
|
2006-11-08 12:29:16 +01:00
|
|
|
|
2006-11-08 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em (gld*_before_allocation): Adjust output section
|
|
|
|
|
size for warning sections.
|
|
|
|
|
|
2006-11-06 11:39:17 +01:00
|
|
|
|
2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
|
|
|
|
|
|
2006-11-08 12:29:16 +01:00
|
|
|
|
* emultempl/elf32.em (gld*_before_allocation): Don't prepend
|
|
|
|
|
"warning" to the message.
|
2006-11-06 11:39:17 +01:00
|
|
|
|
|
2006-11-01 01:48:25 +01:00
|
|
|
|
2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (autofilter_entry_type): Change name to const.
|
|
|
|
|
(pe_details_type) : Change target_name, object_target and
|
|
|
|
|
autofilter_symbollist to const.
|
|
|
|
|
(autofilter_symbollist_generic): Change to const.
|
|
|
|
|
(autofilter_symbollist_i386, pe_detail_list, pe_details,
|
|
|
|
|
autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
|
|
|
|
|
autofilter_symbolsuffixlist): Likewise.
|
|
|
|
|
(is_import): Fix indentation.
|
|
|
|
|
(auto_export): Change afptr to const. Move name declaration to
|
|
|
|
|
beginning of scope.
|
|
|
|
|
(make_tail): Clear undefined byte.
|
|
|
|
|
(jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
|
|
|
|
|
to const.
|
|
|
|
|
(make_one): Change jmp_bytes to const. Make idata$6 member size
|
|
|
|
|
arithmetic explicit and add comment.
|
|
|
|
|
|
2006-10-31 00:25:51 +01:00
|
|
|
|
2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3111
|
|
|
|
|
* ld.h (args_type): Remove reduce_memory_overheads.
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_map): Updated.
|
|
|
|
|
(section_already_linked): Likewise.
|
|
|
|
|
(print_input_section): Likewise.
|
|
|
|
|
* ldmain.c (main): Likewise.
|
|
|
|
|
* lexsup.c (parse_args): Likewise.
|
|
|
|
|
|
2006-10-29 18:14:37 +01:00
|
|
|
|
2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
|
|
|
|
|
|
2006-10-27 05:22:09 +02:00
|
|
|
|
2006-10-27 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
|
|
|
|
|
sections have been discarded.
|
|
|
|
|
(lang_do_version_exports_section): Set SEC_KEEP on export section.
|
|
|
|
|
* emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
|
|
|
|
|
sections.
|
|
|
|
|
|
2006-10-26 14:52:39 +02:00
|
|
|
|
2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
|
|
|
|
|
Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (arm*linux*): Support both big- and little-endian.
|
|
|
|
|
|
2006-10-26 02:31:59 +02:00
|
|
|
|
2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
|
|
|
|
|
(OTHER_BSS_SECTIONS): This.
|
|
|
|
|
* scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
|
|
|
|
|
(LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
|
|
|
|
|
|
2006-10-25 08:49:21 +02:00
|
|
|
|
2006-10-25 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
|
|
|
|
|
Yukishige Shibata <shibata@rd.scei.sony.co.jp>
|
|
|
|
|
Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
|
|
|
|
|
Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32_spu.sh: New file.
|
|
|
|
|
* emultempl/spu_inc.s: New file.
|
|
|
|
|
* emultempl/spu_ovl.S: New file.
|
|
|
|
|
* emultempl/spu_ovl.o: New file.
|
|
|
|
|
* emultempl/spuelf.em: New file.
|
|
|
|
|
* Makefile.am: Add SPU support.
|
|
|
|
|
* configure.tgt: Likewise.
|
|
|
|
|
* ldlang.c (load_symbols): Make global.
|
|
|
|
|
* ldlang.h (load_symbols): Declare.
|
|
|
|
|
* scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-10-24 05:35:49 +02:00
|
|
|
|
2006-10-24 Ben Elliston <bje@au.ibm.com>
|
|
|
|
|
|
|
|
|
|
* lexsup.c (parse_args): Add a comment noting a fall-through.
|
|
|
|
|
|
2006-10-23 18:44:17 +02:00
|
|
|
|
2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* config.in: Likewise.
|
|
|
|
|
|
2006-10-23 05:09:35 +02:00
|
|
|
|
2006-10-23 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2006-10-23 05:30:02 +02:00
|
|
|
|
* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
|
|
|
|
|
set section address on a relocatable link.
|
|
|
|
|
|
2006-10-23 05:09:35 +02:00
|
|
|
|
* ld.texinfo (Output Section Discarding): Fix xref.
|
|
|
|
|
|
2006-10-22 03:07:30 +02:00
|
|
|
|
2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
|
|
|
|
|
|
|
|
|
* emulparams/shelf32.sh: Set default stack to 0x80000.
|
|
|
|
|
* emulparams/shelf64.sh: Likewise.
|
|
|
|
|
|
2006-10-20 09:55:37 +02:00
|
|
|
|
2006-10-20 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
|
|
|
|
|
* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
|
|
|
|
|
|
2006-10-19 04:10:41 +02:00
|
|
|
|
2006-10-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (arm_elf_before_allocation): Run
|
|
|
|
|
gld${EMULATION_NAME}_before_allocation later.
|
|
|
|
|
* ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
|
|
|
|
|
|
2006-10-19 01:58:52 +02:00
|
|
|
|
2006-10-18 Roy Marples <uberlord@gentoo.org>
|
|
|
|
|
|
2006-10-19 04:10:41 +02:00
|
|
|
|
* emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
|
|
|
|
|
elf64-sparc-freebsd.
|
2006-10-19 01:58:52 +02:00
|
|
|
|
|
2006-10-18 18:24:01 +02:00
|
|
|
|
2006-10-18 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (i[3-7]86-*-linux-*): Also define
|
|
|
|
|
targ_extra_libpath in want64 case.
|
|
|
|
|
* emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
|
|
|
|
|
x86_64*-linux*.
|
|
|
|
|
|
2006-10-17 15:55:11 +02:00
|
|
|
|
2006-10-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (INTERP): Delete. Move definition to..
|
|
|
|
|
(INITIAL_READONLY_SECTIONS): ..here.
|
|
|
|
|
* emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
|
|
|
|
|
* emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
|
|
|
|
|
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
|
|
|
|
|
|
2006-10-17 15:41:49 +02:00
|
|
|
|
2006-10-17 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (strip_excluded_output_sections): Do strip sections
|
|
|
|
|
that define syms, but don't ignore them.
|
|
|
|
|
* ld.texinfo (Output Section Discarding): Revise.
|
|
|
|
|
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
|
|
|
|
|
finish_default.
|
|
|
|
|
|
2006-10-16 23:34:25 +02:00
|
|
|
|
2006-10-16 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
|
|
|
|
|
(eelf64btsmip.c, eelf64ltsmip.c): Likewise.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
|
|
|
|
|
.reginfo rather than .MIPS.options.
|
|
|
|
|
* emulparams/elf64bmip-defs.sh: New file.
|
|
|
|
|
* emulparams/elf64bmip.sh: Include it.
|
|
|
|
|
(COMMONPAGESIZE): Delete.
|
|
|
|
|
* emulparams/elf64btsmip.sh: As for elf64bmip.sh.
|
|
|
|
|
|
2006-10-12 23:56:19 +02:00
|
|
|
|
2006-10-12 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
|
|
|
|
|
for linkonce XCC exception tables (".e" and ".h").
|
|
|
|
|
|
2006-10-12 00:18:31 +02:00
|
|
|
|
2006-10-11 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
|
|
|
|
|
(OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
|
|
|
|
|
(OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
|
|
|
|
|
(OTHER_SDATA_SECTIONS): New.
|
|
|
|
|
* scripttempl/elfxtensa.sc: Import changes from elf.sc.
|
|
|
|
|
|
2006-10-11 16:58:19 +02:00
|
|
|
|
2006-10-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_append_dynamic_list): When appending, add all elements
|
|
|
|
|
of the dynamic list rather than just the first entry.
|
|
|
|
|
|
2006-10-10 22:57:37 +02:00
|
|
|
|
2006-10-10 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
|
|
|
|
|
|
2006-10-06 22:10:37 +02:00
|
|
|
|
2006-10-06 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
|
|
|
|
|
|
2006-10-05 03:06:13 +02:00
|
|
|
|
2006-10-04 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emulparams/xtensa-config.sh: Delete file.
|
|
|
|
|
* emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
|
|
|
|
|
xtensa-config.sh.
|
|
|
|
|
* Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-10-03 12:06:26 +02:00
|
|
|
|
2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c : Fix typo.
|
|
|
|
|
(autofilter_symbolprefixlist) : Remove __imp_.
|
|
|
|
|
(is_import) : New.
|
|
|
|
|
(auto-export) : Remove re-import check. Moved to callers.
|
|
|
|
|
(process_def_file) : Check is symbol is an import. Always
|
|
|
|
|
underscore __imp_.
|
|
|
|
|
Only skip underscore on underscored targets.
|
|
|
|
|
(make_one) : Always underscore __imp_.
|
|
|
|
|
(pe_create_runtime_relocator_reference) : Only underscore
|
|
|
|
|
_pei386_runtime_relocator on underscored targets.
|
|
|
|
|
(pe_process_import_defs) : Always underscore __imp_.
|
|
|
|
|
* pe.em (U) : New macro.
|
|
|
|
|
(set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
|
|
|
|
|
on wince subsystem case.
|
|
|
|
|
(pe_find_data_imports) : Use U on "_head_".
|
|
|
|
|
(gld_${EMULATION_NAME}_unrecognized_file) : Use U.
|
|
|
|
|
|
2006-09-27 06:18:16 +02:00
|
|
|
|
2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3223
|
|
|
|
|
PR ld/3267
|
|
|
|
|
* ld.texinfo: Updated Output Section Discarding.
|
|
|
|
|
|
|
|
|
|
* ldlang.h (lang_output_section_statement_type): Add
|
|
|
|
|
section_relative_symbol.
|
|
|
|
|
* ldlang.c (strip_excluded_output_sections): Don't strip a
|
|
|
|
|
section with a symbol relative to it.
|
|
|
|
|
(lang_size_sections_1): Mark if an output section has a symbol
|
|
|
|
|
symbol relative to it.
|
|
|
|
|
|
2006-09-25 18:26:57 +02:00
|
|
|
|
2006-09-25 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (Options): Update description of local symbols for -X.
|
|
|
|
|
|
2006-09-24 08:23:15 +02:00
|
|
|
|
2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3249
|
|
|
|
|
* scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
|
|
|
|
|
and .gnu.linkonce.wi.* sections with .data and .debug_info for
|
|
|
|
|
relocatable link.
|
|
|
|
|
|
2006-09-20 13:35:11 +02:00
|
|
|
|
2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: Add new target x86_64-pc-mingw64.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.tgt: Add definition of target emulation i386pep.
|
|
|
|
|
* Makefile.am: Add new target files for target-all.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
|
|
|
|
|
Fix memory out of bounds excess for idata relocation section data.
|
|
|
|
|
* pep-dll.c: Add target specific shared object handling.
|
|
|
|
|
* pep-dll.h: Add target specific definitions for shared object handling.
|
|
|
|
|
* emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
|
|
|
|
|
* emultempl/pep.em: Add new emulation file for target x86_64 coff.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
* scripttempl/pep.sc: Add linker script template for target x86_64 coff.
|
|
|
|
|
* NEWS: Mention new target.
|
|
|
|
|
|
2006-09-18 15:18:44 +02:00
|
|
|
|
2006-09-18 Thiemo Seufer <ths@networkno.de>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
|
|
|
|
|
configurations.
|
|
|
|
|
|
2006-09-17 01:51:50 +02:00
|
|
|
|
2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
|
|
|
|
|
|
|
|
|
|
* emulparams/scoreelf.sh: New file.
|
|
|
|
|
* emultempl/scoreelf.em: New file.
|
|
|
|
|
* Makefile.am: Add Score files.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.tgt: Add Score target.
|
|
|
|
|
* NEWS: Mention new target support.
|
2006-10-23 05:30:02 +02:00
|
|
|
|
|
2006-09-16 20:12:17 +02:00
|
|
|
|
2006-09-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
|
|
|
|
|
macros defined in bfd.h.
|
|
|
|
|
* ldmain.c: Likewise.
|
|
|
|
|
* ldwrite.c: Likewise.
|
|
|
|
|
* lexsup.c: Likewise.
|
|
|
|
|
* pe-dll.c: Likewise.
|
|
|
|
|
* emultempl/aix.em: Likewise.
|
|
|
|
|
* emultempl/beos.em: Likewise.
|
|
|
|
|
* emultempl/elf32.em: Likewise.
|
|
|
|
|
* emultempl/pe.em: Likewise.
|
|
|
|
|
* emultempl/sunos.em: Likewise.
|
|
|
|
|
* emultempl/xtensaelf.em: Likewise.
|
|
|
|
|
|
2006-09-15 11:48:58 +02:00
|
|
|
|
2006-09-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3107
|
|
|
|
|
* ldlang.c (lang_size_sections_1): Do not abort when encountering
|
|
|
|
|
a non-empty section that is ignored. Instead produce a warning
|
|
|
|
|
message.
|
|
|
|
|
|
2006-09-08 15:43:54 +02:00
|
|
|
|
2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document --dynamic-list-cpp-typeinfo.
|
|
|
|
|
|
2006-09-07 19:16:34 +02:00
|
|
|
|
2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (CXX): Set to g++.
|
|
|
|
|
(CXX_FOR_TARGET): Likewise.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention --dynamic-list.
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document --dynamic-list.
|
|
|
|
|
|
|
|
|
|
* ldgram.y: Support dynamic list.
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_process): Call lang_finalize_version_expr_head
|
|
|
|
|
on link_info.dynamic if needed.
|
|
|
|
|
(lang_append_dynamic_list): New.
|
|
|
|
|
(lang_append_dynamic_list_cpp_typeinfo): New.
|
|
|
|
|
* ldlang.h (lang_append_dynamic_list): Likewise.
|
|
|
|
|
* ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
|
|
|
|
|
|
|
|
|
|
* ldlex.h (input_enum): Add input_dynamic_list.
|
|
|
|
|
* ldlex.l: Handle it.
|
|
|
|
|
|
|
|
|
|
* ldmain.c (main): Initialize link_info.dynamic.
|
|
|
|
|
|
|
|
|
|
* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
|
|
|
|
|
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
|
|
|
|
|
(ld_options): Add entries for OPTION_DYNAMIC_LIST and
|
|
|
|
|
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
|
|
|
|
|
(parse_args): Handle OPTION_DYNAMIC_LIST and
|
|
|
|
|
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
|
|
|
|
|
|
2006-09-07 19:01:10 +02:00
|
|
|
|
2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/h8300elf.sh: _tinydata should not be placed in
|
|
|
|
|
relocatables.
|
|
|
|
|
* emulparams/h8300.sh: Likewise.
|
|
|
|
|
* emulparams/h8300sxelf.sh: Likewise.
|
|
|
|
|
|
2006-09-05 18:26:29 +02:00
|
|
|
|
2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3015
|
|
|
|
|
* emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
|
|
|
|
|
is defined.
|
|
|
|
|
|
2006-08-29 13:27:45 +02:00
|
|
|
|
2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
|
|
|
|
|
|
2006-08-28 03:52:56 +02:00
|
|
|
|
2006-08-28 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
|
|
|
|
|
not match random object files in a path containing "crtbegin" or
|
|
|
|
|
"crtend" as part of a directory name.
|
|
|
|
|
* scripttempl/armbpabi.sc: Likewise.
|
|
|
|
|
* scripttempl/crisaout.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32crx.sc: Likewise.
|
|
|
|
|
* scripttempl/elf32sh-symbian.sc: Likewise.
|
|
|
|
|
* scripttempl/elf_chaos.sc: Likewise.
|
|
|
|
|
* scripttempl/elfd10v.sc: Likewise.
|
|
|
|
|
* scripttempl/elfd30v.sc: Likewise.
|
|
|
|
|
* scripttempl/elfxtensa.sc: Likewise.
|
|
|
|
|
* scripttempl/iq2000.sc: Likewise.
|
|
|
|
|
* scripttempl/mmo.sc: Likewise.
|
|
|
|
|
* scripttempl/xstormy16.sc: Likewise.
|
|
|
|
|
|
2006-08-25 02:08:55 +02:00
|
|
|
|
2006-08-24 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
|
|
|
|
|
* scripttempl/elfxtensa.sc (.text): Add .literal.*.
|
|
|
|
|
|
2006-08-24 16:59:24 +02:00
|
|
|
|
2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
|
|
|
|
|
Adjust the current address of DEFAULT_MEMORY_REGION even
|
|
|
|
|
when dot hasn't changed.
|
|
|
|
|
|
2006-08-23 03:35:31 +02:00
|
|
|
|
2006-08-23 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldexp.c (fold_name <LOADADDR>): Return an absolute value
|
2006-10-23 05:30:02 +02:00
|
|
|
|
rather than a section relative value.
|
2006-08-23 03:35:31 +02:00
|
|
|
|
|
2006-08-22 09:41:05 +02:00
|
|
|
|
2006-08-22 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention LMA default change.
|
|
|
|
|
* ld.texinfo (Output Section LMA): Update default description.
|
|
|
|
|
(Location Counter): Clarify backward movement.
|
|
|
|
|
* ldlang.c (lang_size_sections_1): Leave non-alloc sections with
|
|
|
|
|
default lma equal to vma. Warn on backward movement of dot.
|
|
|
|
|
|
2006-08-22 13:50:33 +02:00
|
|
|
|
2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Set targ_emul to arm_wince_pe for ARM
|
|
|
|
|
Windows CE targets.
|
|
|
|
|
|
2006-08-21 10:12:46 +02:00
|
|
|
|
2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Split arm-wince into its own emulation.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* pe-dll.c : Define PE_ARCH_arm_wince.
|
|
|
|
|
(pe_detail_list): Add PE_ARCH_arm_wince case.
|
|
|
|
|
(make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
|
|
|
|
|
* emulparams/arm_wince_pe.sh: New file.
|
|
|
|
|
* emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
|
|
|
|
|
Remap bfd_arm_allocate_interworking_sections,
|
|
|
|
|
bfd_arm_get_bfd_for_interworking and
|
2006-10-23 05:30:02 +02:00
|
|
|
|
bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
|
2006-08-21 10:12:46 +02:00
|
|
|
|
targets too.
|
2006-10-23 05:30:02 +02:00
|
|
|
|
(gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
|
2006-08-21 10:12:46 +02:00
|
|
|
|
arm-epoc bfd format names.
|
|
|
|
|
|
2006-08-18 17:00:18 +02:00
|
|
|
|
2006-08-18 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em (arm_elf_before_allocation): Call
|
|
|
|
|
gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
|
|
|
|
|
|
2006-08-17 19:02:13 +02:00
|
|
|
|
2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
|
|
|
|
|
(generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
|
|
|
|
|
and to not skipping .idata* sections.
|
|
|
|
|
|
2006-08-16 10:31:45 +02:00
|
|
|
|
2006-08-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 3052
|
|
|
|
|
* ldlang.h (lang_output_section_statement_type): Replace
|
|
|
|
|
"processed" field with "processed_vma" and "processed_lma".
|
|
|
|
|
* ldlang.c (lang_do_assignments_1): Move lma setting code..
|
|
|
|
|
(lang_size_sections_1): ..to here.
|
|
|
|
|
(lang_reset_memory_regions): Adjust for
|
|
|
|
|
lang_output_section_statement_type change.
|
|
|
|
|
* ldexp.c (fold_name): Likewise.
|
|
|
|
|
|
2006-08-09 02:52:31 +02:00
|
|
|
|
2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
|
|
|
|
|
|
|
|
|
|
* emulparams/armelf.sh (MAXPAGESIZE): Changed to
|
|
|
|
|
"CONSTANT (MAXPAGESIZE)".
|
|
|
|
|
|
2006-08-08 18:08:47 +02:00
|
|
|
|
2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3006
|
|
|
|
|
* ldlang.c (lang_section_bst_type): Moved to ...
|
|
|
|
|
* ldlang.h: Here.
|
|
|
|
|
|
|
|
|
|
* ldlang.h (lang_wild_statement_struct): Add a tree field.
|
|
|
|
|
|
|
|
|
|
* ldlang.c (wild_sort_fast): Use the tree field for BST.
|
|
|
|
|
(wild): Likeise.
|
|
|
|
|
(analyze_walk_wild_section_handler): Initialize the tree field.
|
|
|
|
|
|
2006-08-08 17:07:16 +02:00
|
|
|
|
2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/3009
|
|
|
|
|
* ldlang.c (update_wild_statements): Update the whole wild
|
|
|
|
|
section list.
|
|
|
|
|
|
2006-08-06 07:23:16 +02:00
|
|
|
|
2006-08-04 Nick Clifton <nickc@redhat.com>
|
2006-08-06 07:24:32 +02:00
|
|
|
|
Mike Frysinger <michael.frysinger@analog.com>
|
2006-08-06 07:23:16 +02:00
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
|
|
|
|
|
(__preinit_array_start, __preinit_array_end, __init_array_start,
|
|
|
|
|
__init_array_end, __fini_array_start, __fini_array_end, edata, end):
|
|
|
|
|
Use ${USER_LABEL_PREFIX}.
|
|
|
|
|
* emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
|
|
|
|
|
(USER_LABEL_PREFIX): Set.
|
|
|
|
|
|
2006-08-04 16:53:26 +02:00
|
|
|
|
2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
|
|
|
|
|
|
|
|
|
|
* ldmain.c (main): Initialise print_gc_sections field of link_info
|
|
|
|
|
structure.
|
|
|
|
|
* lexsup.c: Add --print-gc-sections and --no-print-gc-sections
|
|
|
|
|
switches.
|
|
|
|
|
* ld.texinfo: Document new switches.
|
|
|
|
|
* NEWS: Mention new switches.
|
|
|
|
|
|
bfd/
2006-08-02 Richard Sandiford <richard@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
* config.bfd (sh-*-vxworks): Use bfd_elf32_shvxworks_vec and
bfd_elf32_shlvxworks_vec.
* configure.in (bfd_elf32_sh64_vec): Add elf-vxworks.lo.
(bfd_elf32_sh64l_vec, bfd_elf32_sh64lin_vec): Likewise.
(bfd_elf32_sh64blin_vec, bfd_elf32_sh64lnbsd_vec): Likewise.
(bfd_elf32_sh64nbsd_vec, bfd_elf32_sh_vec): Likewise.
(bfd_elf32_shblin_vec, bfd_elf32_shl_vec): Likewise.
(bfd_elf32_shl_symbian_vec, bfd_elf32_shlin_vec): Likewise.
(bfd_elf32_shlnbsd_vec, bfd_elf32_shnbsd_vec): Likewise.
(bfd_elf32_shlvxworks_vec, bfd_elf32_shvxworks_vec): New stanzas.
* configure: Regenerate.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
* elf-vxworks.c (elf_vxworks_gott_symbol_p): New function.
(elf_vxworks_add_symbol_hook): Use it.
(elf_vxworks_link_output_symbol_hook): Likewise. Use the hash
table entry to check for weak undefined symbols and to obtain
the original bfd.
(elf_vxworks_emit_relocs): Use target_index instead of this_idx.
* elf32-sh-relocs.h: New file, split from elf32-sh.c.
(R_SH_DIR32): Use SH_PARTIAL32 for the partial_inplace field,
SH_SRC_MASK32 for the src_mask field, and SH_ELF_RELOC for the
special_function field.
(R_SH_REL32): Use SH_PARTIAL32 and SH_SRC_MASK32 here too.
(R_SH_REL32, R_SH_TLS_GD_32, R_SH_TLS_LD_32): Likewise.
(R_SH_TLS_LDO_32, R_SH_TLS_IE_32, R_SH_TLS_LE_32): Likewise.
(R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32, R_SH_TLS_TPOFF32): Likewise.
(R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT): Likewise.
(R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Likewise.
(SH_PARTIAL32, SH_SRC_MASK32, SH_ELF_RELOC): Undefine at end of file.
* elf32-sh.c: Include elf32-vxworks.h.
(MINUS_ONE): Define.
(sh_elf_howto_table): Include elf32-sh-relocs.h with SH_PARTIAL32
set to TRUE, SH_SRC_MASK32 set to 0xffffffff, and SH_ELF_RELOC set
to sh_elf_reloc.
(sh_vxworks_howto_table): New variable. Include elf32-sh-relocs.h
with SH_PARTIAL32 set to FALSE, SH_SRC_MASK32 set to 0, and
SH_ELF_RELOC set to bfd_elf_generic_reloc.
(vxworks_object_p, get_howto_table): New functions.
(sh_elf_reloc_type_lookup): Fix typo. Use get_howto_table.
(sh_elf_info_to_howto): Use get_howto_table.
(sh_elf_relax_section): Honor the partial_inplace field of the
R_SH_DIR32 howto.
(sh_elf_relax_delete_bytes): Likewise.
(elf_sh_plt_info): New structure.
(PLT_ENTRY_SIZE): Replace both definitions with...
(ELF_PLT_ENTRY_SIZE): ...this new macro, with separate definitions for
INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_entry_be): Update sizes of both definitions accordingly.
(elf_sh_plt0_entry_le): Likewise.
(elf_sh_plt_entry_be, elf_sh_plt_entry_le): Likewise.
(elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): Likewise.
(elf_sh_plts): New structure, with separate definitions for
INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_entry): Delete both definitions.
(elf_sh_plt_entry, elf_sh_pic_plt_entry): Likewise.
(elf_sh_sizeof_plt, elf_sh_plt_plt0_offset): Likewise.
(elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset): Likewise.
(elf_sh_plt_reloc_offset): Likewise.
(movi_shori_putval): Delete in favor of...
(install_plt_field): ...this new function, with separate definitions
for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(get_plt_info): New function, with separate definitions
for INCLUDE_SHMEDIA and !INCLUDE_SHMEDIA.
(elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset): Delete.
(VXWORKS_PLT_HEADER_SIZE, VXWORKS_PLT_ENTRY_SIZE): New macros.
(vxworks_sh_plt0_entry_be, vxworks_sh_plt0_entry_le): New constants.
(vxworks_sh_plt_entry_be, vxworks_sh_plt_entry_le): Likewise.
(vxworks_sh_pic_plt_entry_be, vxworks_sh_pic_plt_entry_le): Likewise.
(get_plt_index, get_plt_offset): New functions.
(elf_sh_link_hash_table): Add srelplt2, plt_info and vxworks_p fields.
(sh_elf_link_hash_table_create): Initialize them.
(sh_elf_create_dynamic_sections): Call
elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use htab->plt_info to get the size of PLT
entries. Allocate relocation entries in .rela.plt.unloaded if
generating a VxWorks executable.
(sh_elf_always_size_sections): New function.
(sh_elf_size_dynamic_sections): Extend .rela.plt handling to
.rela.plt.unloaded.
(sh_elf_relocate_section): Use get_howto_table. Honor
partial_inplace when calculating the addend for dynamic
relocations. Use get_plt_index.
(sh_elf_finish_dynamic_symbol): Use get_plt_index, install_plt_field
and htab->plt_info. Fill in the bra .plt offset for VxWorks
executables. Populate .rela.plt.unloaded. Do not make
_GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(sh_elf_finish_dynamic_sections): Use install_plt_field and
htab->plt_info. Handle cases where there is no special PLT header.
Populate the first relocation in .rela.plt.unloaded and fix up
the remaining entries.
(sh_elf_plt_sym_val): Use get_plt_info.
(elf_backend_always_size_sections): Define.
(TARGET_BIG_SYM, TARGET_BIG_NAME): Override for VxWorks.
(TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
(elf32_bed, elf_backend_want_plt_sym): Likewise.
(elf_symbol_leading_char, elf_backend_want_got_underscore): Likewise.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Likewise.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing): Likewise.
(ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Likewise.
* targets.c (bfd_elf32_shlvxworks_vec): Declare.
(bfd_elf32_shvxworks_vec): Likewise.
(_bfd_target_vector): Include bfd_elf32_shlvxworks_vec and
bfd_elf32_shvxworks_vec.
gas/
* config/tc-sh.c (apply_full_field_fix): New function.
(md_apply_fix): Use it instead of md_number_to_chars. Do not fill
in fx_addnumber for BFD_RELOC_32_PLT_PCREL.
(tc_gen_reloc): Use fx_addnumber rather than 0 as the default case.
* config/tc-sh.h (TARGET_FORMAT): Override for TE_VXWORKS.
ld/
2006-08-02 Richard Sandiford <richard@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
* Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
eshlelf_vxworks.o.
(eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (sh-*-vxworks): Use shelf_vxworks and
shlelf_vxworks.
* emulparams/shelf_vxworks.sh: New file.
* emulparams/shlelf_vxworks.sh: Likewise.
* emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
(OTHER_END_SYMBOLS): Likewise _ehdr.
(DATA_END_SYMBOLS): Likewise _edata.
* emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
is indeed an ELF file before dealing with --force-dynamic.
ld/testsuite/
* ld-sh/rd-sh.exp: Treat vxworks1-static.d specially.
* ld-sh/sh-vxworks.exp: New file.
* ld-sh/sh.exp: Extend sh-linux SIZEOF_HEADERS handling to
sh-*-vxworks.
* ld-sh/vxworks1-le.dd, ld-sh/vxworks1-lib-le.dd,
* ld-sh/vxworks1-lib.dd, ld-sh/vxworks1-lib.nd,
* ld-sh/vxworks1-lib.rd, ld-sh/vxworks1-lib.s,
* ld-sh/vxworks1-static.d, ld-sh/vxworks1.dd,
* ld-sh/vxworks1.ld, ld-sh/vxworks1.rd, ld-sh/vxworks1.s,
* ld-sh/vxworks2-static.sd, ld-sh/vxworks2.s,
* ld-sh/vxworks2.sd, ld-sh/vxworks3-le.dd,
* ld-sh/vxworks3-lib-le.dd, ld-sh/vxworks3-lib.dd,
* ld-sh/vxworks3-lib.s, ld-sh/vxworks3.dd, ld-sh/vxworks3.s,
* ld-sh/vxworks4.d, ld-sh/vxworks4a.s, ld-sh/vxworks4b.s,
* ld-sh/reloc1.s, ld-sh/reloc1.d: New tests.
2006-08-04 15:13:56 +02:00
|
|
|
|
2006-08-04 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
Kazu Hirata <kazu@codesourcery.com>
|
|
|
|
|
Phil Edwards <phil@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
|
|
|
|
|
eshlelf_vxworks.o.
|
|
|
|
|
(eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.tgt (sh-*-vxworks): Use shelf_vxworks and
|
|
|
|
|
shlelf_vxworks.
|
|
|
|
|
* emulparams/shelf_vxworks.sh: New file.
|
|
|
|
|
* emulparams/shlelf_vxworks.sh: Likewise.
|
|
|
|
|
* emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
|
|
|
|
|
(OTHER_END_SYMBOLS): Likewise _ehdr.
|
|
|
|
|
(DATA_END_SYMBOLS): Likewise _edata.
|
|
|
|
|
* emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
|
|
|
|
|
is indeed an ELF file before dealing with --force-dynamic.
|
|
|
|
|
|
2006-08-02 18:25:14 +02:00
|
|
|
|
2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
|
|
|
|
|
|
|
|
|
|
PR binutils/2983
|
|
|
|
|
* emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
|
|
|
|
|
elf64-x86-64-freebsd.
|
|
|
|
|
|
2006-08-01 19:50:52 +02:00
|
|
|
|
2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (init_os): Add flags. Replace bfd_make_section with
|
|
|
|
|
bfd_make_section_with_flags.
|
|
|
|
|
(exp_init_os): Updated.
|
|
|
|
|
(lang_add_section): Call init_os with flags.
|
|
|
|
|
(map_input_to_output_sections): Likewise.
|
|
|
|
|
|
2006-07-29 10:48:15 +02:00
|
|
|
|
2006-07-29 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (eelf32b4300.c): Update dependencies.
|
|
|
|
|
(eelf32bmip.c): Likewise.
|
|
|
|
|
(eelf32bsmip.c): Likewise.
|
|
|
|
|
(eelf32btsmip.c): Likewise.
|
|
|
|
|
(eelf32btsmipn32.c): Likewise.
|
|
|
|
|
(eelf32ltsmip.c): Likewise.
|
|
|
|
|
(eelf32ltsmipn32.c): Likewise.
|
|
|
|
|
(eelf32ebmip.c): Likewise.
|
|
|
|
|
(eelf32ebmipvxworks.c): Likewise.
|
|
|
|
|
(eelf32elmip.c): Likewise.
|
|
|
|
|
(eelf32elmipvxworks.c): Likewise.
|
|
|
|
|
(eelf32bmipn32.c): Likewise.
|
|
|
|
|
(eelf32lmip.c): Likewise.
|
|
|
|
|
(eelf32mipswindiss.c): Likewise.
|
|
|
|
|
(eelf32lsmip.c): Likewise.
|
|
|
|
|
(eelf64bmip.c): Likewise.
|
|
|
|
|
(eelf64btsmip.c): Likewise.
|
|
|
|
|
(eelf64ltsmip.c): Likewise.
|
|
|
|
|
(emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
|
|
|
|
|
(emipsbsd.c): Likewise.
|
|
|
|
|
(emipsidt.c): Update dependencies.
|
|
|
|
|
(emipsidtl.c): Likewise.
|
|
|
|
|
(emipslit.c): Likewise.
|
|
|
|
|
(emipslnews.c): Likewise.
|
|
|
|
|
(emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
|
|
|
|
|
* emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
|
|
|
|
|
* emultempl/irix.em: Include emultempl/mipself.em.
|
|
|
|
|
* emultempl/mipself.em: New file.
|
|
|
|
|
|
2006-07-26 14:27:12 +02:00
|
|
|
|
2006-07-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf-generic.em (map_segments): Reorganise loop so that
|
|
|
|
|
layout happens before segment map. Don't do segment map on
|
|
|
|
|
relocatable link.
|
|
|
|
|
|
2006-07-26 02:42:33 +02:00
|
|
|
|
2006-07-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2006-07-26 07:05:52 +02:00
|
|
|
|
* ldexp.c (fold_name <LOADADDR>): Use the lma.
|
|
|
|
|
* ldlang.h (lang_memory_region_type): Delete old_length. Add
|
|
|
|
|
last_os.
|
|
|
|
|
* ldlang.c (lang_memory_region_lookup): Init new field.
|
|
|
|
|
(lang_reset_memory_regions): Reset new field.
|
|
|
|
|
(lang_insert_orphan): Don't set load_base.
|
|
|
|
|
(lang_leave_overlay): Likewise.
|
|
|
|
|
(lang_size_sections_1): Delete unnecessary code setting lma_region
|
|
|
|
|
to region. Correct lma region check.
|
|
|
|
|
(lang_do_assignments_1): Rename output_section_statement parm
|
|
|
|
|
to current_os. Set lma from previous section in region.
|
|
|
|
|
|
2006-07-26 02:42:33 +02:00
|
|
|
|
* ldlang.c: Formatting.
|
|
|
|
|
|
2006-07-26 02:10:26 +02:00
|
|
|
|
2006-07-25 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
|
|
|
|
|
Set discarded section's output_section to bfd_abs_section_ptr.
|
|
|
|
|
|
2006-07-25 16:45:17 +02:00
|
|
|
|
2006-07-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (analyze_walk_wild_section_handler): Init handler_data
|
|
|
|
|
earlier.
|
|
|
|
|
|
2006-07-25 02:20:09 +02:00
|
|
|
|
2006-07-24 Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
|
|
|
|
|
in dep_sec_name for null terminator. Make sure dep_sec_name has a
|
|
|
|
|
".t" linkonce tag.
|
|
|
|
|
|
2006-07-24 20:18:19 +02:00
|
|
|
|
2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
|
|
|
|
|
Set for *-*-solaris2*.
|
|
|
|
|
|
2006-07-24 15:49:50 +02:00
|
|
|
|
2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Fix spelling mistakes.
|
|
|
|
|
* ldint.texinfo: Likewise.
|
|
|
|
|
|
2006-07-23 17:32:08 +02:00
|
|
|
|
2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_section_bst): New structure for sorting sections
|
|
|
|
|
by name.
|
|
|
|
|
(wild_sort_fast): New function: Insert a section into a binary
|
|
|
|
|
search tree.
|
|
|
|
|
(output_section_callback_fast): New function: Store a section in
|
|
|
|
|
BST.
|
|
|
|
|
(output_section_callback_tree_to_list): New function: Convert a
|
|
|
|
|
BST into a list.
|
|
|
|
|
(analyze_walk_wild_section_handler): Initialize handler_data
|
|
|
|
|
elements.
|
|
|
|
|
(wild): If the data is sorted by name use the BST method to sort
|
|
|
|
|
the names.
|
|
|
|
|
|
2006-07-19 03:50:23 +02:00
|
|
|
|
2006-07-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.h (handle_asneeded_cref): Declare.
|
|
|
|
|
* ldcref.c: Include objalloc.h.
|
|
|
|
|
(old_table, old_count, old_tab, alloc_mark): New variables.
|
|
|
|
|
(tabsize, entsize, refsize, old_symcount): Likewise.
|
|
|
|
|
(add_cref): Use bfd_hash_allocate for refs.
|
|
|
|
|
(handle_asneeded_cref): New function.
|
|
|
|
|
* ldmain.c (notice): Call handle_asneeded_cref for NULL name.
|
|
|
|
|
|
2006-07-14 17:26:36 +02:00
|
|
|
|
2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
|
|
|
|
|
typo setting targ_extra_libpath.
|
|
|
|
|
|
include/
* bfdlink.h (struct bfd_link_info): Add emit_hash and
emit_gnu_hash bitfields.
include/elf/
* common.h (SHT_GNU_HASH, DT_GNU_HASH): Define.
ld/
* scripttempl/elf.sc: Add .gnu.hash section.
* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
(gld${EMULATION_NAME}_add_options): Register --hash-style option.
(gld${EMULATION_NAME}_handle_option): Handle it.
(gld${EMULATION_NAME}_list_options): Document it.
* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
* ld.texinfo: Document --hash-style option.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH.
(bfd_section_from_shdr, elf_fake_sections, assign_section_numbers):
Handle SHT_GNU_HASH.
(special_sections_g): Include .gnu.hash section.
(bfd_elf_gnu_hash): New function.
* elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes.
(struct elf_backend_data): Add elf_hash_symbol method.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash
only if info->emit_hash, create .gnu.hash section if
info->emit_gnu_hash.
(struct collect_gnu_hash_codes): New type.
(elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms,
_bfd_elf_hash_symbol): New functions.
(compute_bucket_count): Don't compute HASHCODES array, instead add
that and NSYMS as arguments. Use bed->s->sizeof_hash_entry
instead of bed->s->arch_size / 8. Fix .hash size estimation.
When not optimizing, use the number of hashed symbols rather than
dynsymcount.
(bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash,
and ADD DT_GNU_HASH if info->emit_gnu_hash.
(bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash,
adjust compute_bucket_count caller. Create and populate .gnu.hash
section if info->emit_gnu_hash.
(elf_link_output_extsym): Only populate .hash section if
finfo->hash_sec != NULL.
(bfd_elf_final_link): Adjust assertion. Handle DT_GNU_HASH.
* elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined.
(elfNN_bed): Add elf_backend_hash_symbol.
* elf64-x86-64.c (elf64_x86_64_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
* elf32-i386.c (elf_i386_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
binutils/
* readelf.c (get_dynamic_type): Handle DT_GNU_HASH.
(get_section_type_name): Handle SHT_GNU_HASH.
(dynamic_info_DT_GNU_HASH): New variable.
(process_dynamic_section): Handle DT_GNU_HASH.
(process_symbol_table): Print also DT_GNU_HASH histogram.
ld/testsuite/
* ld-powerpc/tlsso32.r: Adjust.
* ld-powerpc/tlsso32.d: Adjust.
* ld-powerpc/tlsso32.g: Adjust.
* ld-powerpc/tlsso.r: Adjust.
* ld-powerpc/tlsso.g: Adjust.
* ld-powerpc/tlstocso.g: Adjust.
2006-07-10 23:40:25 +02:00
|
|
|
|
2006-07-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf.sc: Add .gnu.hash section.
|
|
|
|
|
* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
|
|
|
|
|
(gld${EMULATION_NAME}_add_options): Register --hash-style option.
|
|
|
|
|
(gld${EMULATION_NAME}_handle_option): Handle it.
|
|
|
|
|
(gld${EMULATION_NAME}_list_options): Document it.
|
|
|
|
|
* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
|
|
|
|
|
* ld.texinfo: Document --hash-style option.
|
|
|
|
|
|
2006-07-10 16:30:41 +02:00
|
|
|
|
2006-07-10 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/zh_TW.po: New Chinese (traditional) translation.
|
|
|
|
|
* configure.in (ALL_LINGUAS): Add zh_TW.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2006-07-07 13:18:51 +02:00
|
|
|
|
2006-07-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2874
|
|
|
|
|
* ld.texinfo: Remove "Using LD" from the title since it is
|
|
|
|
|
redundant.
|
|
|
|
|
|
2006-07-06 12:46:46 +02:00
|
|
|
|
2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
|
|
|
|
|
|
2006-07-07 13:18:51 +02:00
|
|
|
|
PR ld/2877
|
2006-07-06 12:46:46 +02:00
|
|
|
|
* ld.texinfo: Fix spelling mistakes.
|
|
|
|
|
|
2006-06-27 13:45:21 +02:00
|
|
|
|
2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
|
|
|
|
|
length of format strings in the libname_fmt[] array, rather than
|
|
|
|
|
relying upon a statically chosen value. Adjust xmalloc call to
|
|
|
|
|
use this longest length.
|
|
|
|
|
|
2006-06-27 10:52:38 +02:00
|
|
|
|
2006-06-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo (-rpath-link): Clarify distinction between -rpath and
|
|
|
|
|
-rpath-link.
|
|
|
|
|
|
2006-06-23 20:11:47 +02:00
|
|
|
|
2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
|
|
|
|
|
targ_extra_libpath.
|
|
|
|
|
|
2006-06-23 13:20:15 +02:00
|
|
|
|
2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (pe_details_type): Add new pointer for symbols list
|
2006-10-23 05:30:02 +02:00
|
|
|
|
autofilter.
|
2006-06-23 13:20:15 +02:00
|
|
|
|
(autofilter_symbollist): Split into autofilter_symbollist_generic
|
|
|
|
|
and autofilter_symbollist_i386.
|
|
|
|
|
(pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
|
|
|
|
|
autofilter_symbollist_generic for all the others.
|
|
|
|
|
(autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
|
|
|
|
|
cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
|
|
|
|
|
into autofilter_symbollist_i386.
|
|
|
|
|
(auto_export): Get autofilter_symbollist from pe_details.
|
|
|
|
|
|
2006-06-22 18:25:36 +02:00
|
|
|
|
2006-06-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2757
|
|
|
|
|
* emultempl/pe.em (gld_$_after_open): When reporting non PE format
|
|
|
|
|
output files mention the file name and the fact that it is an
|
|
|
|
|
output file.
|
|
|
|
|
|
2006-06-22 15:43:04 +02:00
|
|
|
|
2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
|
|
|
|
|
|
2006-10-23 05:30:02 +02:00
|
|
|
|
* emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
|
2006-06-22 15:43:04 +02:00
|
|
|
|
Restructure. Add native "%s.lib" format to search list
|
|
|
|
|
* ld.texinfo (node WIN32): Update documentation on dynamic lib
|
2006-10-23 05:30:02 +02:00
|
|
|
|
search order. Add another reason for using import libs.
|
2006-06-22 15:43:04 +02:00
|
|
|
|
|
2006-06-21 15:25:54 +02:00
|
|
|
|
2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_insert_orphan): Correctly handle the case where
|
|
|
|
|
the section is to end up after the section currently at the end
|
|
|
|
|
of the list in output_bfd.
|
|
|
|
|
|
2006-06-21 04:53:43 +02:00
|
|
|
|
2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/mmo.em: Improve comments. Explain why there's
|
|
|
|
|
ELF-stuff here.
|
|
|
|
|
|
2006-06-20 18:37:29 +02:00
|
|
|
|
2006-06-21 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
|
|
|
|
|
loop to ten iterations. Throw away any previous linker generated
|
|
|
|
|
segment map.
|
|
|
|
|
* ldlang.c (lang_phdr_list): Make global.
|
|
|
|
|
* ldlang.h (lang_phdr_list): Declare.
|
|
|
|
|
* Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-06-20 04:22:16 +02:00
|
|
|
|
2006-06-20 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
|
|
|
|
|
many ELF emul file deps that incorrectly said they needed elf32.em
|
|
|
|
|
instead of generic.em. Add genelf.em as required.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* ldlang.c (lang_process): Call ldemul_finish before
|
|
|
|
|
lang_check_section_addresses.
|
|
|
|
|
* emulparams/arcelf.sh: Generic elf target needs genelf.
|
|
|
|
|
* emulparams/d30v_e.sh: Likewise.
|
|
|
|
|
* emulparams/d30v_o.sh: Likewise.
|
|
|
|
|
* emulparams/d30velf.sh: Likewise.
|
|
|
|
|
* emulparams/elf32_dlx.sh: Likewise.
|
|
|
|
|
* emulparams/elf32_i860.sh: Likewise.
|
|
|
|
|
* emulparams/elf32fr30.sh: Likewise.
|
|
|
|
|
* emulparams/elf32frv.sh: Likewise.
|
|
|
|
|
* emulparams/elf32iq10.sh: Likewise.
|
|
|
|
|
* emulparams/elf32iq2000.sh: Likewise.
|
|
|
|
|
* emulparams/elf32mt.sh: Likewise.
|
|
|
|
|
* emulparams/mn10200.sh: Likewise.
|
|
|
|
|
* emulparams/or32.sh: Likewise.
|
|
|
|
|
* emulparams/or32elf.sh: Likewise.
|
|
|
|
|
* emulparams/pjelf.sh: Likewise.
|
|
|
|
|
* emulparams/msp430all.sh: Likewise. Extract common entries.
|
|
|
|
|
* emulparams/pjlelf.sh: Include pjelf.sh.
|
|
|
|
|
* emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
|
|
|
|
|
* emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
|
|
|
|
|
* emultempl/elf-generic.em: New file.
|
|
|
|
|
* emultempl/genelf.em: New file.
|
|
|
|
|
* emultempl/elf32.em: Include elf-generic.em.
|
|
|
|
|
(gld${EMULATION_NAME}_layout_sections_again): Delete.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
|
|
|
|
|
* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
|
|
|
|
|
gld${EMULATION_NAME}_map_segments.
|
|
|
|
|
(LDEMUL_FINISH): Update.
|
|
|
|
|
* emultempl/mmo.em: Correct comment. Include elf-bfd.h and
|
|
|
|
|
source elf-generic.em.
|
|
|
|
|
(mmo_finish): Call gld${EMULATION_NAME}_map_segments.
|
|
|
|
|
* emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
|
|
|
|
|
(gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
|
|
|
|
|
gld${EMULATION_NAME}_map_segments.
|
|
|
|
|
(LDEMUL_FINISH): Update.
|
|
|
|
|
|
2006-06-19 15:17:44 +02:00
|
|
|
|
2006-06-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
|
|
|
|
|
|
2006-06-14 04:43:58 +02:00
|
|
|
|
2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document new -z lazy option.
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
|
|
|
|
|
new option.
|
|
|
|
|
(gld${EMULATION_NAME}_list_options): Update help text.
|
|
|
|
|
|
2006-06-12 14:36:26 +02:00
|
|
|
|
2006-06-12 Fred Fish <fnf@specifix.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
|
|
|
|
|
".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
|
|
|
|
|
generated by mips gcc.
|
|
|
|
|
|
2006-06-12 13:35:45 +02:00
|
|
|
|
2006-06-12 Thiemo Seufer <ths@mips.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
|
|
|
|
|
Define.
|
|
|
|
|
|
2006-06-09 03:13:39 +02:00
|
|
|
|
2006-06-09 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.h (lang_input_statement_type): Use bitfields for booleans.
|
|
|
|
|
* ldlang.c (struct out_section_hash_entry): Rename from
|
|
|
|
|
output_statement_hash_entry. Delete output_section_statement_type
|
|
|
|
|
entry. Add statement_union_type entry. Adjust all users.
|
|
|
|
|
(output_section_statement_table): Rename from output_statement_table.
|
|
|
|
|
Adjust all users.
|
|
|
|
|
(output_section_statement_newfunc): Rename from
|
|
|
|
|
output_statement_newfunc. Adjust all users.
|
|
|
|
|
(output_section_statement_table_init): Rename from
|
|
|
|
|
output_statement_table_init. Adjust all users.
|
|
|
|
|
(output_section_statement_table_free): Rename from
|
|
|
|
|
output_statement_table_free. Adjust all users.
|
|
|
|
|
|
2006-06-07 17:38:01 +02:00
|
|
|
|
2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* po/Make-in (pdf, ps): New dummy targets.
|
|
|
|
|
|
2006-06-07 06:55:11 +02:00
|
|
|
|
2006-06-07 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.h (enum section_type): Delete dsect_section, copy_section,
|
|
|
|
|
info_section and overlay_section. Add noalloc_section.
|
|
|
|
|
* ldlang.c (lang_add_section): Adjust.
|
|
|
|
|
* ldgram.y (type): Adjust.
|
|
|
|
|
|
2006-06-06 04:24:33 +02:00
|
|
|
|
2006-06-06 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (init_os): Whitespace.
|
|
|
|
|
(map_input_to_output_sections): Don't init_os for lang_input_section.
|
|
|
|
|
(print_all_symbols): Remove forward declaration. Convert to ISO C.
|
|
|
|
|
|
2006-06-05 16:04:05 +02:00
|
|
|
|
2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* po/Make-in (top_builddir): Define.
|
|
|
|
|
|
2006-06-05 14:45:34 +02:00
|
|
|
|
2006-06-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldexp.c (exp_get_abs_int): Make error message the same as
|
|
|
|
|
others emitted in this file.
|
|
|
|
|
|
2006-06-05 14:30:16 +02:00
|
|
|
|
2006-06-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2006-06-05 08:12:40 +02:00
|
|
|
|
2006-06-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
|
|
|
|
|
|
2006-06-03 04:45:26 +02:00
|
|
|
|
2006-06-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em (global_found): Make it a pointer.
|
|
|
|
|
(stat_needed, try_needed): Adjust.
|
|
|
|
|
(check_needed): Don't skip non-loaded as-needed entries. Only
|
|
|
|
|
consider entries with both filename and the_bfd non-null.
|
|
|
|
|
(after_open): Try loading non-loaded as-needed libs to satisfy
|
|
|
|
|
DT_NEEDED libs.
|
|
|
|
|
|
2006-06-03 01:08:12 +02:00
|
|
|
|
2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-05-31 17:14:46 +02:00
|
|
|
|
2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
|
|
|
|
|
and LIBINTL_DEP everywhere.
|
|
|
|
|
(INTLLIBS): Remove.
|
|
|
|
|
(INCLUDES): Use @INCINTL@.
|
|
|
|
|
* configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
|
|
|
|
|
Remove local code for po/Makefile.
|
|
|
|
|
* Makefile.in, configure: Regenerated.
|
|
|
|
|
|
2006-05-30 18:45:32 +02:00
|
|
|
|
2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/arcelf.sh (MAXPAGESIZE): Changed to
|
|
|
|
|
"CONSTANT (MAXPAGESIZE)".
|
|
|
|
|
* emulparams/armelf_nbsd.sh: Likewise.
|
|
|
|
|
* emulparams/armelf_vxworks.sh: Likewise.
|
|
|
|
|
* emulparams/armnto.sh: Likewise.
|
|
|
|
|
* emulparams/armsymbian.sh: Likewise.
|
|
|
|
|
* emulparams/crislinux.sh: Likewise.
|
|
|
|
|
* emulparams/elf32_i860.sh: Likewise.
|
|
|
|
|
* emulparams/elf32_i960.sh: Likewise.
|
|
|
|
|
* emulparams/elf32am33lin.sh: Likewise.
|
|
|
|
|
* emulparams/elf32bfinfd.sh: Likewise.
|
|
|
|
|
* emulparams/elf32bmipn32-defs.sh: Likewise.
|
|
|
|
|
* emulparams/elf32frvfd.sh: Likewise.
|
|
|
|
|
* emulparams/elf32i370.sh: Likewise.
|
|
|
|
|
* emulparams/elf32lppcnto.sh: Likewise.
|
|
|
|
|
* emulparams/elf32mcore.sh: Likewise.
|
|
|
|
|
* emulparams/elf32openrisc.sh: Likewise.
|
|
|
|
|
* emulparams/elf32ppcnto.sh: Likewise.
|
|
|
|
|
* emulparams/elf32ppcwindiss.sh: Likewise.
|
|
|
|
|
* emulparams/elf32vax.sh: Likewise.
|
|
|
|
|
* emulparams/elf32xc16x.sh: Likewise.
|
|
|
|
|
* emulparams/elf32xc16xl.sh: Likewise.
|
|
|
|
|
* emulparams/elf32xc16xs.sh: Likewise.
|
|
|
|
|
* emulparams/elf64_aix.sh: Likewise.
|
|
|
|
|
* emulparams/elf64hppa.sh: Likewise.
|
|
|
|
|
* emulparams/elf64mmix.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_be.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_chaos.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_ldso.sh: Likewise.
|
|
|
|
|
* emulparams/hppa64linux.sh: Likewise.
|
|
|
|
|
* emulparams/hppalinux.sh: Likewise.
|
|
|
|
|
* emulparams/hppaobsd.sh: Likewise.
|
|
|
|
|
* emulparams/i386lynx.sh: Likewise.
|
|
|
|
|
* emulparams/i386moss.sh: Likewise.
|
|
|
|
|
* emulparams/i386nto.sh: Likewise.
|
|
|
|
|
* emulparams/i386nw.sh: Likewise.
|
|
|
|
|
* emulparams/m32relf_linux.sh: Likewise.
|
|
|
|
|
* emulparams/m68kpsos.sh: Likewise.
|
|
|
|
|
* emulparams/or32elf.sh: Likewise.
|
|
|
|
|
* emulparams/pjelf.sh: Likewise.
|
|
|
|
|
* emulparams/pjlelf.sh: Likewise.
|
|
|
|
|
* emulparams/ppclynx.sh: Likewise.
|
|
|
|
|
* emulparams/ppcnw.sh: Likewise.
|
|
|
|
|
* emulparams/shelf32_nbsd.sh : Likewise.
|
|
|
|
|
* emulparams/shelf_nbsd.sh: Likewise.
|
|
|
|
|
* emulparams/shelf_nto.sh: Likewise.
|
|
|
|
|
* emulparams/shlelf_nto.sh: Likewise.
|
|
|
|
|
* emulparams/xtensa-config.sh: Likewise.
|
|
|
|
|
|
|
|
|
|
* emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
|
|
|
|
|
"CONSTANT (MAXPAGESIZE)".
|
|
|
|
|
(COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
|
|
|
|
|
* emulparams/elf32_sparc.sh: Likewise.
|
|
|
|
|
* emulparams/elf32bmip.sh: Likewise.
|
|
|
|
|
* emulparams/elf32ppccommon.sh: Likewise.
|
|
|
|
|
* emulparams/elf64_ia64.sh: Likewise.
|
|
|
|
|
* emulparams/elf64_s390.sh: Likewise.
|
|
|
|
|
* emulparams/elf64_sparc.sh: Likewise.
|
|
|
|
|
* emulparams/elf64alpha.sh: Likewise.
|
|
|
|
|
* emulparams/elf64ppc.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386.sh: Likewise.
|
|
|
|
|
* emulparams/elf_i386_vxworks.sh: Likewise.
|
|
|
|
|
* emulparams/elf_s390.sh: Likewise.
|
|
|
|
|
* emulparams/elf_x86_64.sh: Likewise.
|
|
|
|
|
* emulparams/shlelf32_linux.sh: Likewise.
|
|
|
|
|
* emulparams/shlelf_linux.sh: Likewise.
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
|
|
|
|
|
"CONSTANT (COMMONPAGESIZE)".
|
|
|
|
|
* emulparams/elf32btsmipn32.sh: Likewise.
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
|
|
|
|
|
"-z max-page-size=" and "-z common-page-size=".
|
|
|
|
|
(gld${EMULATION_NAME}_list_options): Likewise.
|
|
|
|
|
|
|
|
|
|
* ld.h (ld_config_type): Add maxpagesize and commonpagesize.
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document "-z max-page-size=" and
|
|
|
|
|
"-z common-page-size=".
|
|
|
|
|
|
|
|
|
|
* ldexp.c (exp_print_token): Handle CONSTANT.
|
|
|
|
|
(fold_name): Likewise.
|
|
|
|
|
* ldgram.y: Likewise.
|
|
|
|
|
* ldlex.l: Likewise.
|
|
|
|
|
|
|
|
|
|
* ldmain.c (main): Initiliaze config.maxpagesize and
|
|
|
|
|
config.commonpagesize. Call bfd_emul_set_maxpagesize if
|
|
|
|
|
config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
|
|
|
|
|
config.commonpagesize config.maxpagesize isn't 0.
|
|
|
|
|
|
2006-05-30 13:01:59 +02:00
|
|
|
|
2006-05-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2006-05-26 04:44:19 +02:00
|
|
|
|
2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
|
|
|
|
|
|
2006-05-25 03:03:09 +02:00
|
|
|
|
2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/1485
|
|
|
|
|
* configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
|
|
|
|
|
bfd. Support 64bit host for --enable-targets=all.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2006-05-24 09:54:45 +02:00
|
|
|
|
2006-05-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/vi.po: Updated Vietnamese translation.
|
|
|
|
|
|
2006-10-23 05:30:02 +02:00
|
|
|
|
2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
|
2006-05-24 09:36:12 +02:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add avr6 to emulation list.
|
|
|
|
|
* Makefile.am: Add eavr6.o and corresponding rule.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* emulparams/avr6.sh: New file.
|
|
|
|
|
* emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
|
|
|
|
|
for target option support.
|
|
|
|
|
(EXTRA_EM_FILE): Add reference to new em template file avrelf.
|
2006-10-23 05:30:02 +02:00
|
|
|
|
* scripttempl/avr.sc: Add ".trampolines" section.
|
2006-05-24 09:36:12 +02:00
|
|
|
|
* emultempl/avrelf.em: Add new file for target specific options.
|
|
|
|
|
|
2006-05-22 10:49:33 +02:00
|
|
|
|
2006-05-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
|
|
|
|
|
|
2006-05-19 08:09:31 +02:00
|
|
|
|
2006-05-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_size_sections_1): Don't check mem regions for
|
|
|
|
|
os->ignored sections.
|
|
|
|
|
|
2006-05-17 18:46:54 +02:00
|
|
|
|
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_size_sections): Call lang_reset_memory_regions
|
|
|
|
|
before redoing one_lang_size_sections_pass.
|
|
|
|
|
|
2006-05-11 18:11:29 +02:00
|
|
|
|
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
|
|
|
|
|
|
2006-10-23 05:30:02 +02:00
|
|
|
|
* ld.texinfo: Rename "Index" to "LD Index"
|
2006-05-11 18:11:29 +02:00
|
|
|
|
|
2006-05-11 10:48:58 +02:00
|
|
|
|
2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (autofilter_symbollist): Add Dllmain,
|
|
|
|
|
DllMainCRTStartup, _DllMainCRTStartup and .text.
|
|
|
|
|
(autofilter_liblist): Add libcegcc.
|
|
|
|
|
(autofilter_symbolprefixlist): Add __imp_ and .idata$.
|
|
|
|
|
(generate_reloc): Do not skip sections without a SEC_LOAD flag,
|
|
|
|
|
they can still contain relocs that need processing.
|
|
|
|
|
Skip the .idata$6 section.
|
|
|
|
|
(jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
|
|
|
|
|
(make_one): Use the new array.
|
|
|
|
|
(make_import_fixup_entry): Use .idata$2 instead of .idata$3.
|
|
|
|
|
* emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
|
|
|
|
|
|
2006-05-05 02:51:37 +02:00
|
|
|
|
2006-05-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Document PowerPC and PowerPC64 options.
|
|
|
|
|
* gen-doc.texi: Enable.
|
|
|
|
|
|
2006-05-02 16:20:46 +02:00
|
|
|
|
2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
|
|
|
|
|
(TEXI2POD): Use AM_MAKEINFOFLAGS.
|
|
|
|
|
(configdoc.texi): Don't set top_srcdir.
|
|
|
|
|
* ld.texinfo: Don't use top_srcdir.
|
|
|
|
|
* aclocal.m4, Makefile.in: Regenerated.
|
|
|
|
|
|
2006-04-19 04:06:15 +02:00
|
|
|
|
2006-04-19 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
2006-04-19 04:10:43 +02:00
|
|
|
|
* ldlang.c (wild): Tidy default_common_section loop.
|
|
|
|
|
(print_input_section): Format.
|
|
|
|
|
|
2006-04-19 04:06:15 +02:00
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2006-04-16 20:25:11 +02:00
|
|
|
|
2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* po/POTFILES.in: Regenerated.
|
|
|
|
|
|
2006-04-16 20:20:09 +02:00
|
|
|
|
2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
|
2006-04-14 23:31:16 +02:00
|
|
|
|
2006-04-14 David Heine <dlheine@tensilica.com>
|
|
|
|
|
Bob Wilson <bob.wilson@acm.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
|
|
|
|
|
function to strip inconsistent linkonce sections.
|
|
|
|
|
(input_section_linked_worker, input_section_linked): New.
|
|
|
|
|
(is_inconsistent_linkonce_section): New.
|
|
|
|
|
(xtensa_strip_inconsistent_linkonce_sections): New.
|
|
|
|
|
|
2006-04-11 12:36:26 +02:00
|
|
|
|
2006-04-11 Diego Petten<65> <flameeyes@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
|
|
|
|
|
and Dragonfly targets.
|
|
|
|
|
* configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
|
|
|
|
|
* Makefile.am (HFILES): Add elf-hints-local.h.
|
|
|
|
|
* elf-hints-local.h: New file.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2006-04-07 16:14:46 +02:00
|
|
|
|
2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* ld.texinfo: Fix typo in documentation of --check-sections.
|
|
|
|
|
|
2006-04-07 09:03:51 +02:00
|
|
|
|
2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (load_symbols): Set as_needed and add_needed according
|
|
|
|
|
to the corresponding script's fields while processing it.
|
|
|
|
|
|
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
2006-04-06 23:49:35 +02:00
|
|
|
|
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Add install-html, install-html-am, and
|
|
|
|
|
install-html-recursive targets.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/Make-in: Add install-html target.
|
|
|
|
|
|
2006-04-06 20:52:46 +02:00
|
|
|
|
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
|
|
|
|
|
link_info.need_relax_finalize.
|
|
|
|
|
|
|
|
|
|
* ldlang.c (relax_sections): New.
|
|
|
|
|
(lang_process): Use. Call relax_sections link_info.relax_pass
|
|
|
|
|
times.
|
|
|
|
|
|
|
|
|
|
* ldmain.c (main): Set link_info.relax_pass to 1. Remove
|
|
|
|
|
link_info.need_relax_finalize.
|
|
|
|
|
|
2006-04-05 17:40:40 +02:00
|
|
|
|
2006-04-05 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (GENSCRIPTS): Pass prefix.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* genscripts.sh: Adjust for extra parameter.
|
|
|
|
|
* emultempl/elf32.em (parse_ld_so_conf): Return true iff file
|
|
|
|
|
exists.
|
|
|
|
|
(check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
|
|
|
|
|
* NEWS: Update.
|
|
|
|
|
|
bfd/
* config.bfd (sparc-*-vxworks*): New stanza.
* configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
(bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
* configure: Regenerate.
* elf32-sparc.c: Include elf-vxworks.h.
(elf32_sparc_vxworks_link_hash_table_create: New.
(elf32_sparc_vxworks_final_write_processing): New.
(TARGET_BIG_SYM): Override for VxWorks.
(TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
(bfd_elf32_bfd_link_hash_table_create): Likewise.
(elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
(elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing, elf32_bed): Likewise.
* elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
(sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
(sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
(_bfd_sparc_elf_link_hash_table_create): Don't initialize
build_plt_entry here.
(create_got_section): Initialize sgotplt for VxWorks.
(_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
plt_header_size and plt_entry_size, with new VxWorks-specific settings.
Call elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use plt_header_size and plt_entry_size.
Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
(_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
for VxWorks. Check for the .got.plt section.
(sparc_vxworks_build_plt_entry): New function.
(_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
absolute on VxWorks.
(sparc32_finish_dyn): Add special handling for DT_RELASZ
and DT_PLTGOT on VxWorks.
(sparc_vxworks_finish_exec_plt): New.
(sparc_vxworks_finish_shared_plt): New.
(_bfd_sparc_elf_finish_dynamic_sections): Call them.
Use plt_header_size and plt_entry_size.
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
* Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
(elf32-sparc.lo): Likewise.
* Makefile.in: Regenerate.
* targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
(_bfd_target_vector): Add a pointer to it.
gas/
* config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
(GOTT_BASE, GOTT_INDEX): New.
(tc_gen_reloc): Don't alter relocations against GOTT_BASE and
GOTT_INDEX when generating VxWorks PIC.
* configure.tgt (sparc*-*-vxworks*): Remove this special case;
use the generic *-*-vxworks* stanza instead.
gas/testsuite/
* gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test.
* gas/sparc/sparc.exp: Run it. Remove sparc*-*-vxworks* XFAILs.
ld/
* configure.tgt (sparc*-*-vxworks*): New stanza.
* emulparams/elf32_sparc_vxworks.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
(eelf32_sparc_vxworks.c): New rule.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
* ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
* ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
* ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
* ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
* ld-sparc/sparc.exp: Run them.
2006-04-05 14:41:59 +02:00
|
|
|
|
2006-04-05 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (sparc*-*-vxworks*): New stanza.
|
|
|
|
|
* emulparams/elf32_sparc_vxworks.sh: New file.
|
|
|
|
|
* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
|
|
|
|
|
(eelf32_sparc_vxworks.c): New rule.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-04-04 10:52:21 +02:00
|
|
|
|
2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* ldlang.c (lang_map): Print the list of discarded input sections.
|
|
|
|
|
(print_input_section): Change parameter and print zero-sized sections.
|
|
|
|
|
(print_statement): Adjust call to print_input_section.
|
|
|
|
|
|
2006-04-01 06:51:23 +02:00
|
|
|
|
2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
* deffilep.y (def_image_name): If LIBRARY or NAME statement
|
|
|
|
|
specifies an empty string, retain the name specified on command
|
|
|
|
|
line.
|
|
|
|
|
* ld.texinfo: Document above.
|
|
|
|
|
|
2006-03-31 13:23:55 +02:00
|
|
|
|
2006-03-31 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
|
|
|
|
|
bfd_find_nearest_line succeeded for %C or %D, but filename
|
|
|
|
|
is NULL, print section+offset at the end.
|
|
|
|
|
|
2006-03-26 01:46:13 +01:00
|
|
|
|
2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32bfinfd.sh: New file.
|
|
|
|
|
* emultempl/bfin.em: Delete.
|
|
|
|
|
* emulparams/bfin.sh: Lose reference to bfin.em.
|
|
|
|
|
* Makefile.am (eelf32bfin.c): Likewise.
|
|
|
|
|
(eelf32bfinfd.c): New.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
|
|
|
|
|
targ_extra_emuls.
|
|
|
|
|
|
Richard Sandiford <richard@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
Zack Weinberg <zack@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
bfd/
* bfd-in2.h: Regenerate.
* config.bfd (mips*-*-vxworks*, mips*el-*-vxworks*): New stanzas.
* configure.in (bfd_elf32_bigmips_vxworks_vec): New stanza.
(bfd_elf32_littlemips_vxworks_vec): Likewise.
(bfd_elf32_bigmips_vec): Add elf-vxworks.lo.
(bfd_elf32_littlemips_vec): Likewise.
(bfd_elf32_nbigmips_vec): Likewise.
(bfd_elf32_nlittlemips_vec): Likewise.
(bfd_elf32_ntradbigmips_vec): Likewise.
(bfd_elf32_ntradlittlemips_vec): Likewise.
(bfd_elf32_tradbigmips_vec): Likewise.
(bfd_elf32_tradlittlemips_vec): Likewise.
(bfd_elf64_bigmips_vec): Likewise.
(bfd_elf64_littlemips_vec): Likewise.
(bfd_elf64_tradbigmips_vec): Likewise.
(bfd_elf64_tradlittlemips_vec): Likewise.
* elf32-mips.c: Include elf-vxworks.h.
(mips_info_to_howto_rel): Use elf_backend_mips_rtype_to_howto
instead of calling mips_elf32_rtype_to_howto directly.
(mips_vxworks_copy_howto_rela): New reloc howto.
(mips_vxworks_jump_slot_howto_rela): Likewise.
(mips_vxworks_bfd_reloc_type_lookup): New function.
(mips_vxworks_rtype_to_howto): Likewise.
(mips_vxworks_final_write_processing): Likewise.
(TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Override for VxWorks.
(TARGET_BIG_SYM, TARGET_BIG_NAME, elf_bed, ELF_MAXPAGESIZE): Likewise.
(elf_backend_want_got_plt): Likewise.
(elf_backend_want_plt_sym): Likewise.
(elf_backend_got_symbol_offset): Likewise.
(elf_backend_want_dynbss): Likewise.
(elf_backend_may_use_rel_p): Likewise.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_got_header_size: Likewise.
(elf_backend_plt_readonly): Likewise.
(bfd_elf32_bfd_reloc_type_lookup): Likewise.
(elf_backend_mips_rtype_to_howto): Likewise.
(elf_backend_adjust_dynamic_symbol): Likewise.
(elf_backend_finish_dynamic_symbol): Likewise.
(bfd_elf32_bfd_link_hash_table_create): Likewise.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing: Likewise.
(elf_backend_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Likewise.
(elf_backend_symbol_processing): Likewise.
* elfxx-mips.c: Include elf-vxworks.h.
(mips_elf_link_hash_entry): Add is_relocation_target and
is_branch_target fields.
(mips_elf_link_hash_table): Add is_vxworks, srelbss, sdynbss, srelplt,
srelplt2, sgotplt, splt, plt_header_size and plt_entry_size fields.
(MIPS_ELF_RELA_SIZE, MIPS_ELF_REL_DYN_NAME): New macros.
(MIPS_RESERVED_GOTNO): Take a mips_elf_link_hash_table argument.
Return 3 for VxWorks.
(ELF_MIPS_GP_OFFSET): Change the argument from a bfd to a
mips_elf_link_hash_table. Return 0 for VxWorks.
(MIPS_ELF_GOT_MAX_SIZE): Change the argument from a bfd to a
mips_elf_link_hash_table. Update the call to ELF_MIPS_GP_OFFSET.
(mips_vxworks_exec_plt0_entry): New variable.
(mips_vxworks_exec_plt_entry): Likewise.
(mips_vxworks_shared_plt0_entry): Likewise.
(mips_vxworks_shared_plt_entry): Likewise.
(mips_elf_link_hash_newfunc): Initialize the new hash_entry fields.
(mips_elf_rel_dyn_section): Change the bfd argument to a
mips_elf_link_hash_table. Use MIPS_ELF_REL_DYN_NAME to get
the name of the section.
(mips_elf_initialize_tls_slots): Update the call to
mips_elf_rel_dyn_section.
(mips_elf_gotplt_index): New function.
(mips_elf_local_got_index): Add an input_section argument.
Update the call to mips_elf_create_local_got_entry.
(mips_elf_got_page): Likewise.
(mips_elf_got16_entry): Likewise.
(mips_elf_create_local_got_entry): Add bfd_link_info and input_section
arguments. Create dynamic relocations for each entry on VxWorks.
(mips_elf_merge_gots): Update the use of MIPS_ELF_GOT_MAX_SIZE.
(mips_elf_multi_got): Update the uses of MIPS_ELF_GOT_MAX_SIZE
and MIPS_RESERVED_GOTNO.
(mips_elf_create_got_section): Update the uses of
MIPS_ELF_GOT_MAX_SIZE. Create .got.plt on VxWorks.
(is_gott_symbol): New function.
(mips_elf_calculate_relocation): Use a dynobj local variable.
Update the calls to mips_elf_local_got_index, mips_elf_got16_entry and
mips_elf_got_page_entry. Set G to the .got.plt entry when calculating
VxWorks R_MIPS_CALL* relocations. Calculate and use G for all GOT
relocations on VxWorks. Add dynamic relocations for references
to the VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols. Don't
create dynamic relocations for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64
in VxWorks executables.
(mips_elf_allocate_dynamic_relocations): Add a bfd_link_info argument.
Use MIPS_ELF_RELA_SIZE to calculate the size of a VxWorks entry.
Don't allocate a null entry on VxWorks.
(mips_elf_create_dynamic_relocation): Update the call to
mips_elf_rel_dyn_section. Use absolute rather than relative
relocations for VxWorks, and make them RELA rather than REL.
(_bfd_mips_elf_create_dynamic_sections): Don't make .dynamic
read-only on VxWorks. Update the call to mips_elf_rel_dyn_section.
Create the .plt, .rela.plt, .dynbss and .rela.bss sections on
VxWorks. Likewise create the _PROCEDURE_LINKAGE_TABLE symbol.
Call elf_vxworks_create_dynamic_sections for VxWorks and
initialize the plt_header_size and plt_entry_size fields.
(_bfd_mips_elf_check_relocs): Don't allow GOT relocations to be
used in VxWorks executables. Don't allocate dynamic relocations
for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 in VxWorks executables.
Set is_relocation_target for each symbol referenced by a relocation.
Allocate .rela.dyn entries for relocations against the special
VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols. Create GOT
entries for all VxWorks R_MIPS_GOT16 relocations. Don't allocate
a global GOT entry for symbols mentioned in VxWorks R_MIPS_CALL*,
R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 relocations. Update the calls
to mips_elf_rel_dyn_section and mips_elf_allocate_dynamic_relocations.
Set is_branch_target for symbols mentioned in R_MIPS_PC16 or R_MIPS_26
relocations. Don't set no_fn_stub on VxWorks.
(_bfd_mips_elf_adjust_dynamic_symbol): Update the call to
mips_elf_allocate_dynamic_relocations.
(_bfd_mips_vxworks_adjust_dynamic_symbol): New function.
(_bfd_mips_elf_always_size_sections): Do not allocate GOT page
entries for VxWorks, and do not create multiple GOTs.
(_bfd_mips_elf_size_dynamic_sections): Use MIPS_ELF_REL_DYN_NAME.
Handle .got specially for VxWorks. Update the uses of
MIPS_RESERVED_GOTNO and mips_elf_allocate_dynamic_relocations.
Check for sgotplt and splt. Allocate the .rel(a).dyn contents last,
once its final size is known. Set DF_TEXTREL for VxWorks. Add
DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL, DT_PLTRELSZ and DT_JMPREL
tags on VxWorks. Do not add the MIPS-specific tags for VxWorks.
(_bfd_mips_vxworks_finish_dynamic_symbol): New function.
(mips_vxworks_finish_exec_plt): Likewise.
(mips_vxworks_finish_shared_plt): Likewise.
(_bfd_mips_elf_finish_dynamic_sections): Remove an unncessary call
to mips_elf_rel_dyn_section. Use a VxWorks-specific value of
DT_PLTGOT. Handle DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL,
DT_PLTRELSZ and DT_JMPREL. Update the uses of MIPS_RESERVED_GOTNO
and mips_elf_rel_dyn_section. Use a different GOT header for
VxWorks. Don't sort .rela.dyn on VxWorks. Finish the PLT on VxWorks.
(_bfd_mips_elf_link_hash_table_create): Initialize the new
mips_elf_link_hash_table fields.
(_bfd_mips_vxworks_link_hash_table_create): New function.
(_bfd_mips_elf_final_link): Set the GP value to _GLOBAL_OFFSET_TABLE_
on VxWorks. Update the call to ELF_MIPS_GP_OFFSET.
* elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Declare.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
(_bfd_mips_vxworks_link_hash_table_create): Likewise.
* libbfd.h: Regenerate.
* Makefile.am (elfxx-mips.lo): Depend on elf-vxworks.h.
(elf32-mips.lo): Likewise.
* Makefile.in: Regenerate.
* reloc.c (BFD_RELOC_MIPS_COPY, BFD_RELOC_MIPS_JUMP_SLOT): Declare.
* targets.c (bfd_elf32_bigmips_vxworks_vec): Declare.
(bfd_elf32_littlemips_vxworks_vec): Likewise.
(_bfd_target_vector): Add entries for them.
gas/
* config/tc-mips.c (mips_target_format): Handle vxworks targets.
(md_begin): Complain about -G being used for PIC. Don't change
the text, data and bss alignments on VxWorks.
(reloc_needs_lo_p): Don't return true for R_MIPS_GOT16 when
generating VxWorks PIC.
(load_address): Extend SVR4_PIC handling to VXWORKS_PIC.
(macro): Likewise, but do not treat la $25 specially for
VxWorks PIC, and do not handle jal.
(OPTION_MVXWORKS_PIC): New macro.
(md_longopts): Add -mvxworks-pic.
(md_parse_option): Don't complain about using PIC and -G together here.
Handle OPTION_MVXWORKS_PIC.
(md_estimate_size_before_relax): Always use the first relaxation
sequence on VxWorks.
* config/tc-mips.h (VXWORKS_PIC): New.
gas/testsuite/
* gas/mips/vxworks1.s, gas/mips/vxworks1.d,
* gas/mips/vxworks1-xgot.d: New tests.
* gas/mips/mips.exp: Run them. Do not run other tests on VxWorks.
include/elf/
* mips.h (R_MIPS_COPY, R_MIPS_JUMP_SLOT): New relocs.
ld/
* configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
separate VxWorks emulations.
* emulparams/elf32ebmipvxworks.sh: New file.
* emulparams/elf32elmipvxworks.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
eelf32elmipvxworks.o.
(eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-mips/vxworks1.dd, ld-mips/vxworks1.ld, ld-mips/vxworks1-lib.dd,
* ld-mips/vxworks1-lib.nd, ld-mips/vxworks1-lib.rd,
* ld-mips/vxworks1-lib.s, ld-mips/vxworks1.rd, ld-mips/vxworks1.s,
* ld-mips/vxworks1-static.d, ld-mips/vxworks2.s, ld-mips/vxworks2.sd,
* ld-mips/vxworks2-static.sd: New tests.
* ld-mips/mips-elf.exp: Run them.
2006-03-22 10:28:15 +01:00
|
|
|
|
2006-03-22 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
Phil Edwards <phil@codesourcery.com>
|
|
|
|
|
Zack Weinberg <zack@codesourcery.com>
|
|
|
|
|
Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
|
|
|
|
|
separate VxWorks emulations.
|
|
|
|
|
* emulparams/elf32ebmipvxworks.sh: New file.
|
|
|
|
|
* emulparams/elf32elmipvxworks.sh: New file.
|
|
|
|
|
* Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
|
|
|
|
|
eelf32elmipvxworks.o.
|
|
|
|
|
(eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-03-16 13:20:16 +01:00
|
|
|
|
2006-03-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 2434
|
|
|
|
|
* ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
|
|
|
|
|
* ldlang.c (output_statement_table_init, lang_init): Likewise.
|
|
|
|
|
* ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
|
|
|
|
|
(undefined_symbol): Likewise.
|
|
|
|
|
|
bfd/
* configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
(bfd_elf32_bigarm_symbian_vec): Likewise.
(bfd_elf32_bigarm_vxworks_vec): Likewise.
(bfd_elf32_littlearm_vec): Likewise.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(bfd_elf32_littlearm_vxworks_vec): Likewise.
* configure: Regenerate.
* elf32-arm.c: Include libiberty.h and elf-vxworks.h.
(RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
(elf32_arm_vxworks_bed): Add forward declaration.
(elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
(elf32_arm_vxworks_exec_plt0_entry): New table.
(elf32_arm_vxworks_exec_plt_entry): Likewise.
(elf32_arm_vxworks_shared_plt_entry): Likewise.
(elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
(reloc_section_p): New function.
(create_got_section): Use RELOC_SECTION.
(elf32_arm_create_dynamic_sections): Likewise. Call
elf_vxworks_create_dynamic_sections for VxWorks targets.
Choose between the two possible values of plt_header_size
and plt_entry_size.
(elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
(elf32_arm_abs12_reloc): New function.
(elf32_arm_final_link_relocate): Call it. Allow the creation of
dynamic R_ARM_ABS12 relocs on VxWorks. Use reloc_section_p,
RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION. Initialize the
r_addend fields of relocs. On rela targets, skip any code that
adjusts in-place addends. When using _bfd_link_final_relocate
to perform a final relocation, pass rel->r_addend as the addend
argument.
(elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
object, ignore flags that are not standard on VxWorks.
(elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
relocs on VxWorks. Use reloc_section_p.
(elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
(allocate_dynrelocs): Use RELOC_SIZE. Account for the size of
.rela.plt.unloaded relocs on VxWorks targets.
(elf32_arm_size_dynamic_sections): Use RELOC_SIZE. Check for
.rela.plt.unloaded as well as .rel(a).plt. Add DT_RELA* tags
instead of DT_REL* tags on RELA targets.
(elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle VxWorks
PLT entries. Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle DT_RELASZ
like DT_RELSZ. Handle the VxWorks form of initial PLT entry.
Correct the .rela.plt.unreloaded symbol indexes.
(elf32_arm_output_symbol_hook): Call the VxWorks version of this
hook on VxWorks targets.
(elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
Minor formatting tweak.
(elf32_arm_vxworks_final_write_processing): New function.
(elf_backend_add_symbol_hook): Override for VxWorks and reset
for Symbian.
(elf_backend_final_write_processing): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_want_plt_sym): Likewise.
(ELF_MAXPAGESIZE): Likewise.
(elf_backend_may_use_rel_p): Minor formatting tweak.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_rela_normal): Likewise.
* Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
gas/
* config/tc-arm.c (md_apply_fix): Install a value of zero into a
BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
R_ARM_ABS12 reloc.
(tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
gas/testsuite/
* gas/arm/abs12.s, gas/arm/abs12.d: New test.
* gas/arm/pic.d: Skip for *-*-vxworks*...
* gas/arm/pic_vxworks.d: ...use this version instead.
* gas/arm/unwind_vxworks.d: Fix expected output.
ld/
* emulparams/armelf_vxworks.sh: Include vxworks.sh.
(MAXPAGESIZE): Define.
* emulparams/vxworks.sh: Undefine.
* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
* ld-arm/vxworks2-static.sd: New tests.
* ld-arm/arm-elf.exp: Run them.
2006-03-07 09:39:21 +01:00
|
|
|
|
2006-03-07 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
Zack Weinberg <zack@codesourcery.com>
|
|
|
|
|
Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
Paul Brook <paul@codesourcery.com>
|
|
|
|
|
Ricardo Anguiano <anguiano@codesourcery.com>
|
|
|
|
|
Phil Edwards <phil@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/armelf_vxworks.sh: Include vxworks.sh.
|
|
|
|
|
(MAXPAGESIZE): Define.
|
|
|
|
|
* emulparams/vxworks.sh: Undefine EMBEDDED.
|
|
|
|
|
* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-03-03 16:25:31 +01:00
|
|
|
|
2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
|
|
|
|
|
|
|
|
|
|
* scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
|
|
|
|
|
Add KEEP() directives.
|
|
|
|
|
Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
|
|
|
|
|
.bss output sections.
|
|
|
|
|
|
2006-03-03 10:32:01 +01:00
|
|
|
|
2006-03-03 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
|
|
|
|
|
(EXTRA_EM_FILE): Define.
|
|
|
|
|
* emultempl/vxworks.em: New file.
|
|
|
|
|
* ld.texinfo (--force-dynamic): Document.
|
|
|
|
|
* Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
|
|
|
|
|
on vxworks.em.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
bfd/
* elf32-ppc.c (ppc_elf_plt_type): New enumeration.
(ppc_elf_link_hash_table): Replace old_got and new_got with
plt_type and can_use_new_plt.
(ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
(ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
(ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
either plt_type == PLT_OLD or plt_type == PLT_NEW. Assert that
this function should not be called for VxWorks targets.
(ppc_elf_tls_setup): Use plt_type instead of old_got.
(allocate_got): Likewise. Rearrange so that max_before_header
is only used for PLT_OLD and PLT_NEW.
(allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relax_section): Likewise.
(ppc_elf_relocate_section): Likewise.
(ppc_elf_finish_dynamic_symbol): Likewise.
(ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
ld/
* emulparams/elf32ppccommon.sh: New file, extracted from...
* emulparams/elf32ppc.sh: ...here.
* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
instead of elf32ppc.sh.
(BSS_PLT): Remove override.
* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
(eelf32ppclinux.c): Likewise.
(eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
* ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
* ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
* ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
* ld-powerpc/powerpc.exp: Run it.
2006-03-02 09:50:04 +01:00
|
|
|
|
2006-03-02 Richard Sandiford <richard@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emulparams/elf32ppccommon.sh: New file, extracted from...
|
|
|
|
|
* emulparams/elf32ppc.sh: ...here.
|
|
|
|
|
* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
|
|
|
|
|
instead of elf32ppc.sh.
|
|
|
|
|
(BSS_PLT): Remove override.
|
|
|
|
|
* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
|
|
|
|
|
(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
|
|
|
|
|
(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
|
|
|
|
|
(eelf32ppclinux.c): Likewise.
|
|
|
|
|
(eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2006-02-27 17:26:26 +01:00
|
|
|
|
2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Add html target.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* po/Make-in: Add html target.
|
|
|
|
|
|
2006-02-17 15:36:28 +01:00
|
|
|
|
2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
|
|
|
|
|
Anil Paranjape <anilp1@kpitcummins.com>
|
|
|
|
|
Shilin Shakti <shilins@kpitcummins.com>
|
|
|
|
|
|
|
|
|
|
* scripttemp/elf32xc16x.sc: Default linker script for tiny model.
|
|
|
|
|
* scripttemp/elf32xc16xl.sc: Default linker script for large model.
|
|
|
|
|
* scripttemp/elf32xc16xs.sc: Default linker script for small model.
|
|
|
|
|
* emulparams/elf32xc16x.sh: Emulation script for tiny model.
|
|
|
|
|
* emulparams/elf32xc16xl.sh: Emulation script for large model.
|
|
|
|
|
* emulparams/elf32xc16xs.sh: Emulation script for small model.
|
|
|
|
|
* Makefile.am: Add entry to make xc16x target.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.tgt: Specify default and other emulation parameters
|
|
|
|
|
for xc16x.
|
|
|
|
|
* NEWS: Announce the support for the new target.
|
|
|
|
|
|
2006-02-16 09:05:02 +01:00
|
|
|
|
2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
|
|
|
|
|
Use the traditional target.
|
|
|
|
|
|
2006-02-13 16:08:43 +01:00
|
|
|
|
2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (arm*b-*-linux-gnueabi): Change to
|
|
|
|
|
arm*b-*-linux-*eabi.
|
|
|
|
|
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
|
|
|
|
|
|
2006-02-09 02:05:10 +01:00
|
|
|
|
2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/2290
|
|
|
|
|
* NEWS: Updated for the Linux linker search order change.
|
|
|
|
|
|
|
|
|
|
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
|
|
|
|
|
gld${EMULATION_NAME}_check_ld_so_conf before checking default
|
|
|
|
|
search directories for DT_NEEDED entries.
|
|
|
|
|
|
2006-02-07 04:50:20 +01:00
|
|
|
|
2006-02-07 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/armelf.em: Include elf/arm.h.
|
|
|
|
|
(arm_elf_finish): Set low address bit if enty point is a Thumb
|
|
|
|
|
function.
|
|
|
|
|
|
2006-02-01 22:28:29 +01:00
|
|
|
|
2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
* deffilep.y (def_image_name): If the image name does not have
|
|
|
|
|
a suffix, append the default.
|
|
|
|
|
* ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
|
|
|
|
|
|
2006-01-31 23:13:41 +01:00
|
|
|
|
2006-01-31 Danny Smith dannysmith@users.sourceforge.net
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention support for forward exports in PE-COFF dll's.
|
|
|
|
|
* ld.texinfo: Expand documentation of EXPORT statements in
|
|
|
|
|
PE-COFF .def files.
|
|
|
|
|
|
2006-01-31 23:08:14 +01:00
|
|
|
|
2006-01-31 Filip Navara <navaraf@reactos.com>
|
|
|
|
|
|
|
|
|
|
* deffile.h (struct def_file_export): Add field flag_forward.
|
|
|
|
|
* pe-dll.c (process_def_file): Check for forward exports.
|
|
|
|
|
(generate_edata): Generate forward export symbols.
|
|
|
|
|
(fill_edata): Emit them.
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (process_def_file): Don't crash on malformed
|
|
|
|
|
fastcall symbol names in .def file.
|
|
|
|
|
|
2006-01-30 13:20:22 +01:00
|
|
|
|
2006-01-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/vi.po: Updated Vietnamese translation.
|
|
|
|
|
|
2006-01-27 18:18:13 +01:00
|
|
|
|
2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
|
|
|
|
|
|
|
|
|
|
* pe-dll.c (pe_dll_generate_implib): Issue "Creating library
|
|
|
|
|
file:" as informational message, not a warning.
|
|
|
|
|
|
2006-01-19 02:06:48 +01:00
|
|
|
|
2006-01-18 Roger Sayle <roger@eyesopen.com>
|
|
|
|
|
|
|
|
|
|
* emultempl/irix.em: Use lbasename instead of basename.
|
|
|
|
|
|
2006-01-16 17:15:17 +01:00
|
|
|
|
2006-01-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/zh_CN.po: New Chinese (simplified) translation.
|
|
|
|
|
* configure.in (ALL_LINGUAS): Add "zh_CH".
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2006-01-16 17:08:55 +01:00
|
|
|
|
2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
|
2006-01-16 17:07:45 +01:00
|
|
|
|
|
|
|
|
|
* ld.texinfo (Options): Fix typo.
|
|
|
|
|
|
2006-01-17 00:15:07 +01:00
|
|
|
|
For older changes see ChangeLog-2005
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|