A tidy of ld/ldlang.c, and add missing Makefile dependencies
[deliverable/binutils-gdb.git] / ld / ChangeLog
index ae6238dd8d19582f91505511569becf97d5b4db6..84bdae4db293909e36ab7d2d5f97ce7562da6cea 100644 (file)
@@ -1,3 +1,122 @@
+2000-09-05  Alan Modra  <alan@linuxcare.com.au>
+
+       * ldlang.c: Add missing prototypes, and tidy others.  Change CONST
+       to const throughout.  Change `void *' to `PTR' throughout.
+       (lang_memory_default): Function is local to file, add `static'.
+
+       * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
+       (ehppalinux.c): Likewise.
+       (earmelf.c): Likewise.
+       (earmelf_linux.c): Likewise.
+       (earmelf_linux26.c): Likewise.
+       * Makefile.in: Regenerate.
+
+       * ld.h (ld_config_type): Add unique_orphan_sections.
+       * lexsup.c (OPTION_UNIQUE): Define.
+       (ld_options): Add "--unique".
+       (parse_args): Handle it.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
+       search for an existing output section if unique_orphan_sections is
+       set.  Make use of bfd_get_unique_section_name rather than
+       duplicating code here.
+       * ld.texinfo: Describe --unique.
+
+       * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
+       optional arg to split-by-file.
+       (parse_args): Handle them.
+       * ld.texinfo: Update description of these options.
+       * ldwrite.c (clone_section): Pass in the section name.  Replace
+       local code with bfd_get_unique_section_name.
+       (split_sections): Tidy code and comments.  Use a list traversal
+       more appropriate to the list construction.  Handle cooked section
+       sizes.  Split when split_by_reloc reached rather than exceeded.
+       Track section size and split when split_by_file reached.  Fix
+       link_order_tail (even though it's not used).
+       (ldwrite): Modify condition for calling split_sections to suit
+       changed split_by_reloc and split_by_file.
+       * ldmain.c (main): Init config.split_by_reloc and
+       config.split_by_file to -1.
+       * ld.h (ld_config_type): Change split_by_reloc to unsigned.
+       Change split_by_file to bfd_size_type.
+
+2000-09-02  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Increase version number to 2.10.91.
+       * NEWS: Mention new ability to support removal of duplicate DWARF2
+       debug information.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+
+2000-09-02  Daniel Berlin <dberlin@redhat.com>
+
+       * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
+       sections.
+       * scripttempl/elf32var.sc: Ditto.
+       * scripttempl/elfd10v.sc: Ditto.
+       * scripttempl/elfd30v.sc: Ditto.
+       * scripttempl/elfi370.sc: Ditto.
+       * scripttempl/elfm68hc11.sc: Ditto.
+       * scripttempl/elfm68hc12.sc: Ditto.
+       * scripttempl/elfi386beos.sc: Ditto.
+       * scripttempl/v850.sc: Ditto.
+       
+2000-08-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * acinclude.m4: Include libtool and gettext macros from the
+       top level.
+       * aclocal.m4, configure: Rebuilt.
+
+2000-08-25  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.c (open_output): When choosing the target for a
+       particular endianness, do nothing if the target is not
+       supported.
+
+2000-08-25  H.J. Lu  <hjl@gnu.org>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
+       check -rpath nor LD_RUN_PATH for cross link.
+       * ld.texinfo: Document the change.
+
+2000-08-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * NEWS: Mention support for CRIS.
+
+2000-08-23  H.J. Lu  <hjl@gnu.org>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
+       the current runpath list from bfd_elf_get_runpath_list ()
+       before search.
+
+2000-08-22  H.J. Lu  <hjl@gnu.org>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
+       the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
+       LD_LIBRARY_PATH for native linker. Display the needed DSO if
+       trace_file_tries is non-zero.
+       (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
+       if trace_file_tries is non-zero.
+
+       * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
+       * NEWS: Mention it.
+
+2000-08-14  Jason Eckhardt  <jle@cygnus.com>
+
+       * NEWS: Mention i860 support.
+
+2000-08-14  Andreas Schwab  <schwab@suse.de>
+
+       * scripttempl/elf.sc: Fix last change to use correct comment
+       syntax.
+
+2000-08-10  Geoff Keating  <geoffk@cygnus.com>
+
+       * scripttempl/elf.sc: Add a comment giving the correspondence
+       between sections, per-datum sections, and linkonce sections.  Make
+       the comment true even for .bss, .sdata, .sdata2, .sbss, and
+       .sbss2.
+
 2000-08-10  Jason Eckhardt  <jle@cygnus.com>
 
        * emulparams/elf32_i860.sh: New file.
@@ -956,7 +1075,7 @@ Wed Jan  5 08:02:12 2000  Catherine Moore  <clm@cygnus.com>
        (lang_add_wild): Likewise.
        * ldlang.h (lang_wild_statement_type): Likewise.
        * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
-       
+
 2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * pe-dll.c (pe_dll_warn_dup_exports): New variable.
@@ -1117,7 +1236,7 @@ Wed Sep 15 02:47:43 1999  Jeffrey A Law  (law@cygnus.com)
 
        * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
 
-       * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS):  No longer combine
+       * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS):  No longer combine
        the .plt, .dlt, .opd  into a single output section.  Provide values
        for __gp and __hp_load_map.
 
@@ -1270,7 +1389,7 @@ Wed Sep  8 00:07:39 1999  Jeffrey A Law  (law@cygnus.com)
 
 1999-09-03  Scott Bambrough  <scottb@netwinder.org>
 
-       * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
+       * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
        target "arm*-*-linux-gnu*"
 
 1999-09-04  Steve Chamberlain  <sac@pobox.com>
@@ -1453,7 +1572,7 @@ Mon Jul 19 14:19:14 1999  Mark P. Mitchell  <mark@codesourcery.com>
        (get_first_input_target): New function: Find the target format
        of the first of the linker's input file.
        (open_output): Be more clever about deciding the output target
-       format. 
+       format.
 
 1999-07-16  Jakub Jelinek  <jj@ultra.linux.cz>
 
@@ -1512,7 +1631,7 @@ Thu Jul 15 15:55:15 1999  Mark P. Mitchell  <mark@codesourcery.com>
 
 Thu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
 
-        * configure.tgt (hppa*-linux-gnu*): New target.
+       * configure.tgt (hppa*-linux-gnu*): New target.
 
 1999-07-07  Mark Mitchell  <mark@codesourcery.com>
 
@@ -1525,11 +1644,11 @@ Thu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
 1999-07-05  Nick Clifton  <nickc@cygnus.com>
 
        * emultempl/pe.em (after_open): Abort if input format is ARM and
-       output format is not. 
+       output format is not.
        * emultempl/armcoff.em (after_open): Abort if input format is ARM
-       and output format is not. 
+       and output format is not.
        * emultempl/armelf.em (after_open): Abort if input format is ARM
-       and output format is not. 
+       and output format is not.
 
 1999-07-02  Ian Lance Taylor  <ian@zembu.com>
 
@@ -1543,7 +1662,7 @@ Thu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
        * configure.tgt (mips-sgi-irix6*): Make n32 the default
        emulation.
        * emulparams/elf32bmipn32.sh: New file.
-       
+
 1999-06-28  Jim Pick <jim@jimpick.com>
 
        * emultempl/armelf.em: Added code so that .xs linker scripts are
@@ -1579,7 +1698,7 @@ Thu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
        * emultempl/pe.em: Add new command line switch --thumb-entry.
        * emultempl/armelf.em: Add new command line switch --thumb-entry.
        * emultempl/armcoff.em: Add new command line switch --thumb-entry.
-       * ld.texinfo: Document new ARM command line switch: --thumb-entry.      
+       * ld.texinfo: Document new ARM command line switch: --thumb-entry.
 1999-06-20  H.J. Lu  <hjl@gnu.org>
 
        * configure.in (all_libpath): Accumulate across all enabled targets.
@@ -1660,7 +1779,7 @@ Mon Jun 14 10:38:36 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        option.
        (..._before_allocation): Pass the value of the new variable
        no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation.
-       
+
        * emultemp/armelf_oabi.em (..._before_allocation): Pass zero as
        the third parameter to bfd_elf32_arm_process_before_allocation.
 
@@ -1678,7 +1797,7 @@ Mon Jun 14 10:38:36 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
 1999-05-26  Nick Clifton  <nickc@cygnus.com>
 
-       * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi. 
+       * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi.
 
 1999-05-24  Philip Blundell  <philb@gnu.org>
 
@@ -1749,7 +1868,7 @@ Thu May 13 09:48:09 1999  Joel Sherrill (joel@OARcorp.com)
 
 1999-04-12  Philip Blundell  <pb@nexus.co.uk>
 
-       * emulparams/armelf_linux.sh: New file.  Support for ARM 
+       * emulparams/armelf_linux.sh: New file.  Support for ARM
        GNU/Linux ELF ABI.
        * emulparams/armelf_linux26.sh: New file. APCS-26 version of above.
        * configure.tgt: For arm*-*-linux-gnu*, set default emulation to
@@ -1850,7 +1969,7 @@ Thu May 13 09:48:09 1999  Joel Sherrill (joel@OARcorp.com)
        * emulparams/arm_epoc_pe.sh: New file.
 
        * configure.tgt: Add 'targ_extra_ofiles' for ARM based PE
-       targets. 
+       targets.
 
 1999-03-31  Philip Blundell  <pb@nexus.co.uk>
 
@@ -1865,7 +1984,7 @@ Thu May 13 09:48:09 1999  Joel Sherrill (joel@OARcorp.com)
 Fri Mar 26 12:05:51 1999  Catherine Moore  <clm@cygnus.com>
 
        * ld.h (wildcard_spec): Add exclude_name.
-        * ldgram.y (EXCLUDE_FILE): New token.
+       * ldgram.y (EXCLUDE_FILE): New token.
        (wildcard_spec): Set exclude_name.
        (file_NAME_list): Recognize EXCLUDE_FILE.
         * ldlang.c (wild_section): Check for excluded files.
This page took 0.029468 seconds and 4 git commands to generate.