place_orphan optimisations
[binutils-gdb.git] / ld / ChangeLog
index 7f8a02a11f1f9c6a51931101919cd952f5b268ac..9e8e0e5c18f45ed2cc2b9431995181f690a04d65 100644 (file)
@@ -1,3 +1,99 @@
+2000-04-25  Alan Modra  <alan@linuxcare.com.au>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
+       (output_rel_find): New function.
+       (hold_section, hold_use): Delete.
+       (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
+       hold_interp): Make local to place_orphan.
+       (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
+       rather than place_section to find possible previous use of orphan.
+       Similarly find the place-holder output sections.  Use returned
+       value from lang_enter_output_section_statement rather than calling
+       lang_output_section_statement_lookup.
+       * emultempl/armelf.em: Same here.
+       * emultempl/pe.em: Similar to above, but no need for output_rel_find.
+
+       * ldlang.c (lang_enter_output_section_statement): Return output
+       section statement.
+       * ldlang.h (lang_enter_output_section_statement): Change
+       declaration too.
+
+       * ldlang.h (lang_output_section_statement): Export it.
+       * ldlang.c (lang_output_section_statement): Ditto.
+
+2000-04-24  Nick Clifton  <nickc@cygnus.com>
+
+       * ld.texinfo (Output Section Data): Add note that section data
+       commands cannot appear outside of section directives.
+
+2000-04-2  Matthew Green  <mrg@cygnus.com>
+
+       * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
+
+Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
+                         David Mosberger  <davidm@hpl.hp.com>
+
+       * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
+       (eelf64_ia64.c): New rule.
+       * Makefile.in: Rebuild.
+       * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
+       * emulparams/elf64_ia64.sh: New file.
+       
+2000-04-21  Richard Henderson  <rth@cygnus.com>
+
+       * scripttempl/elfd30v.sc: Place .gcc_except_table.
+
+2000-04-19  Alan Modra  <alan@linuxcare.com.au>
+
+       * dep-in.sed: Match space at start of file name, not at end.
+
+2000-04-18  H.J. Lu  <hjl@gnu.org>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
+       lang_leave_output_section_statement () after calling
+       lang_enter_output_section_statement ().
+       * emultempl/armelf.em: Likewise.
+
+2000-04-18  Alan Modra  <alan@linuxcare.com.au>
+
+       * emultempl/elf32.em (struct orphan_save): Add section field.
+       (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
+       better order, and place first orphan section as we did before the
+       2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
+       Don't call make_bfd_section here, let wild_doit do the job for us.
+       Don't build a statement list when we'll only throw it away.
+       * emultempl/armelf.em: Ditto.
+       * emultempl/pe.em: Similarly.
+
+2000-04-14  Geoff Keating  <geoffk@cygnus.com>
+
+       * scripttempl/elfppc.sc: Remove.
+       * emulparams/elf32ppc.sh: Use elf.sc.
+       * emulparams/elf32lppc.sh: Use elf.sc.
+       * emulparams/elf32ppclinux.sh: Use elf.sc.
+       * emulparams/elf32ppcsim.sh: New file.
+       * emulparams/elf32lppcsim.sh: New file.
+       * Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
+       (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
+       * Makefile.in: Regenerate.
+       * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
+
+2000-04-14  Alan Modra  <alan@linuxcare.com.au>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
+       ~SEC_ALLOC sections too.  Init start address of debug sections.
+       * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
+       * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
+       Also set all relocateable section start addresses.
+
+2000-04-13  Geoff Keating  <geoffk@cygnus.com>
+
+       * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
+       Add new BSS_PLT variable for when .plt need not be contained in
+       the file.  Move _etext so that it is also after .fini, and provide
+       both etext and _etext with a leading underscore.  Mark the start
+       and end of .sbss.
+
 2000-04-12  Alan Modra  <alan@linuxcare.com.au>
 
        * emultempl/elf32.em (struct orphan_save): New.
@@ -208,11 +304,11 @@ Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
        * ldgram.y: Handle LMA region syntax.
        * ld.texinfo (Output Section Description): Describe LMA region usage.
        * emultempl/armelf.em (gld$place_orphan): Add default value for
-       lma region in call to lang_leave_output_statement.
+       lma region in call to lang_leave_output_section_statement.
        * emultempl/elf32.em (gld$place_orphan): Add default value for
-       lma region in call to lang_leave_output_statement.
+       lma region in call to lang_leave_output_section_statement.
        * emultempl/pe.em (gld$place_orphan): Add default value for
-       lma region in call to lang_leave_output_statement.
+       lma region in call to lang_leave_output_section_statement.
        
        
 2000-02-04  Timothy Wall  <twall@redhat.com>