2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
[deliverable/binutils-gdb.git] / ld / ChangeLog
index ca2b57493a52b1e33541edcc52fdabfc6cc37990..d74b0a85446402d47207a30aa480430124bff0b7 100644 (file)
@@ -1,3 +1,281 @@
+2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>
+
+       * emulparams/armelf.sh (MAXPAGESIZE): Changed to
+       "CONSTANT (MAXPAGESIZE)".
+
+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  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3009
+       * ldlang.c (update_wild_statements): Update the whole wild
+       section list.
+
+2006-08-04  Nick Clifton  <nickc@redhat.com>
+           Mike Frysinger  <michael.frysinger@analog.com>
+
+       * 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  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.
+
+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  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  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  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  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  Alan Modra  <amodra@bigpond.net.au>
+
+       * 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.
+
+       * ldlang.c: Formatting.
+
+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-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
+       earlier.
+
+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-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
+
+       * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
+       Set for *-*-solaris2*.
+
+2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * ld.texinfo: Fix spelling mistakes.
+       * ldint.texinfo: Likewise.
+
+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  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  Michael Wetherell  <mike.wetherell@ntlworld.com>
+
+       * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
+       typo setting targ_extra_libpath.
+
+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  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  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/2874
+       * ld.texinfo: Remove "Using LD" from the title since it is
+       redundant.
+
+2006-07-06  Mohammed Adnène Trojette  <adn@diwi.org>
+
+       PR ld/2877
+       * ld.texinfo: Fix spelling mistakes.
+
+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  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
+       -rpath-link.
+
+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  Pedro Alves <pedro_alves@portugalmail.pt>
+
+       * pe-dll.c (pe_details_type): Add new pointer for symbols list
+       autofilter. 
+       (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  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  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): 
+       Restructure.  Add native "%s.lib" format to search list
+       * ld.texinfo (node WIN32): Update documentation on dynamic lib
+       search order. Add another reason for using import libs. 
+
+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  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * emultempl/mmo.em: Improve comments.  Explain why there's
+       ELF-stuff here.
+
+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  Alan Modra  <amodra@bigpond.net.au>
 
        * Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
This page took 0.026532 seconds and 4 git commands to generate.