2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
index efb7abc78af960e4acff8d16409a2f2f57f491c9..ef7a274eedd85c794263e70dbbbff48b91707aa3 100644 (file)
@@ -1,5 +1,107 @@
+2004-10-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 459
+       * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
+       option on linker script as the one for linker script.
+
+2004-10-16  Daniel Jacobowitz  <dan@debian.org>
+
+       * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
+       (check_excluded_libs): New.
+       (load_symbols): Call check_excluded_libs.
+       * ldlang.h (add_excluded_libs): New prototype.
+       * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
+       (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
+       (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
+       * ld.texinfo (Command Line Variables): Document --exclude-libs.
+       (Options Specific to i386 PE Targets): Remove --exclude-libs.
+
+2004-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
+       failing link script assert.
+
+       * ldctor.c (ldctor_add_set_entry): Fix comment typo.
+
+2004-10-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 445
+       * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
+       (SMALL_DATA_DTOR): Set.
+       * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
+       (SMALL_DATA_DTOR): Unset.
+       * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
+       after .data. If SMALL_DATA_DTOR is set, move .dtors after
+       .data.
+
+2004-10-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 63
+       * ldlang.h (lang_output_section_statement_type): Make "next" a
+       struct lang_output_section_statement_struct *.
+       (struct orphan_save): Move from elf32.em.  Add "name" and "flags".
+       (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
+       * ldlang.c (lang_output_section_find_1): Adjust for changed
+       output_section_statement "next".
+       (strip_excluded_output_sections): Likewise.
+       (lang_record_phdrs): Likewise.
+       (lang_output_section_find_by_flags): New function.
+       (output_prev_sec_find): Move from pe.em.  Adjust iterator.
+       (lang_insert_orphan): New function.  Tail end of elf32.em's
+       place_orphan merged with that from pe.em.  Allow bfd_section to
+       be placed first.  New heuristic for placing new output section
+       statement in existing script, and accompanying split of __start
+       symbol alignment into a separate assignment to dot.
+       (lang_add_section): Consistently use output->bfd_section rather than
+       an alias, section->output_section.
+       (map_input_to_output_sections): Rename overly long arg.  Move
+       initialization of data_statement output section to here..
+       (lang_check_section_addresses): ..from here.
+       (print_assignment): Correct printing of etree_assert.
+       (print_all_symbols): Don't bomb if userdata is NULL.
+       (IGNORE_SECTION): Rearrange.
+       * emultempl/elf32.em (output_rel_find): Adjust interator.
+       (output_prev_sec_find): Delete.
+       (struct orphan_save): Delete.
+       (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
+       flags without creating a duplicate output section statement.
+       Revise code holding history of various orphan section placements.
+       Allow orphan sections to place before script specified output
+       sections.  Call lang_output_section_find_by_flags when placement
+       by name fails.  Use lang_insert_orphan.
+       * emultempl/mmo.em (output_prev_sec_find): Delete.
+       (struct orphan_save): Delete.
+       (mmo_place_orphan): Revise code holding history of orphan placement.
+       Allow orphans to place before existing output sections.  Use
+       lang_insert_orphan.
+       * emultempl/pe.em (output_prev_sec_find): Delete.
+       (struct orphan_save): Delete.
+       (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
+       lang_insert_orphan.
+
+2004-10-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
+       loadable segment.
+
+2004-10-13  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 44
+       * ldcref.c (check_section_sym_xref): Delete.
+       (check_local_sym_xref): New function.
+       (check_nocrossrefs): Adjust call.
+       * emultempl/pe.em (struct orphan_save): Add os_tail.
+       (place_orphan): Backport assorted fixes from elf32.em.
+
+2004-10-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * emultempl/xtensaelf.em: Use ISO C90 formatting.
+
 2004-10-11  Jakub Jelinek  <jakub@redhat.com>
 
+       * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
+       getline for portability.
+
        * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
        (gld${EMULATION_NAME}_parse_ld_so_conf,
        gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
This page took 0.051939 seconds and 4 git commands to generate.