ld/
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 2b157268d95bdc4d82a56e0f1a6fb92cb1f85691..fc61f7f8ede5373a2f8a98f81c3951e3b1a0545e 100644 (file)
@@ -1,3 +1,86 @@
+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.
+       (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
+
+2004-10-11  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 423
+       * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
+       rejected when linking statically.
+
+2004-10-08  Daniel Jacobowitz  <dan@debian.org>
+
+       * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
+
 2004-10-07  Bob Wilson  <bob.wilson@acm.org>
 
        * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
        * Makefile.in: Regenerate.
 
 2004-10-07  Jeff Baker  <jbaker@qnx.com>
-       
+
        * lexsup.c: Handle --warn-shared-textrel option.
        (ld_options): Restore alpha sorting of options.
        * ldmain.c (main): Initialise warn_shared_info field to FALSE.
        * NEWS: Added mention of --warn-shared-textrel option.
 
 2004-10-05  Tomer Levi  <Tomer.Levi@nsc.com>
+
        * emultempl/crxelf.em (disable_relaxation): Add.
-       (crxelf_before_allocation): Enable --relax option by default.
+       (crxelf_before_allocation): Enable --relax option by default.
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
        (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
This page took 0.028552 seconds and 4 git commands to generate.