Add *kfreebsd-gnu configuration support
[binutils-gdb.git] / ld / ChangeLog
index 8f2ee6ff54452db56ce894c9c7d5fb18d3a1e853..496d3de529d95f6c236f7988cc73e724f676d7f3 100644 (file)
@@ -1,3 +1,348 @@
+2003-09-03  Robert Millan  <robertmh@gnu.org>
+
+       * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
+       triplet.
+       * configure.tgt: Likewise.
+
+2003-08-29  Jafa  <jafa@silicondust.com>
+
+       * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
+
+2003-08-21  Nick Clifton  <nickc@redhat.com>
+
+       * po/tr.po: Updated Turkish translation.
+
+2003-08-20  Nick Clifton  <nickc@redhat.com>
+
+       * ldmain.c: Initialise the new fields in bfd_link_info to
+        NOT_YET_SET.
+               * lexsup.c (enum option_values): New enum.  Use this to
+        replace the handed coded values for the long switch options.
+        (ld_options): Add 'unresolved-symbols',
+        'warn-unresolved-symbols' and 'error-unresolved-symbols'.
+        (parse_args): Handle the new switches.  Set the values of
+        unresolved_symbols_in_objects and
+        unresolved_symbols_in_shared_libs appropriately.  If they were
+        not initialised by the command line, install default values.
+        * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
+        -z defs to use the new fields in bfd_link_info.
+       * ld.texinfo: Document the new switches.
+       * NEWS: Mention this feature.
+
+2003-08-15 Dmitry Diky <diwil@mail.ru>
+       
+       * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
+       calls genscripts_extra.sh.
+       Rearrange all msp430 depends using this script.
+       * Makefile.in: Regenerate.
+       * genscripts_extra.sh: New file: Similar to genscripts.sh, except
+       that the script to be run to generate the emulations can be passed
+       as an optional parameter instead of being computed from the
+       emulation name.
+       * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
+       definitions into one file.
+       * emulparams/msp430x*.sh: Removed.
+
+2003-08-15  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (Options): Put keywords for the -z option into a
+       table.  Add more text describing what the -z now option does.
+
+2003-08-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Remove libintl.h.
+       * Makefile.am (POTFILES.in): Unset LC_COLLATE.
+       * Makefile.in: Regenerate.
+
+2003-08-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * genscripts.sh (libpath.exp): Only generate for first emulation.
+       (LIB_PATH): Correct order of paths.  Don't add $tool_lib when
+       already present or when LIB_PATH is set to ":".
+
+2003-08-12  Ian Lance Taylor  <ian@airs.com>
+
+       * ldmain.c (undefined_symbol): Change parameter name from `fatal'
+       to `error'.  If only a warning, put warning in the reported
+       string.  Consistently set failure flag when not a warning.
+
+2003-08-08 Dmitry Diky <diwil@mail.ru>
+
+       * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
+       gcc order.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add extra emulations.
+       * emulparams/msp430xE423.sh: New file.
+       * emulparams/msp430xE427.sh: New file.
+       * emulparams/msp430xW425.sh: New file.
+       * emulparams/msp430xE425.sh: New file.  
+       * emulparams/msp430xW423.sh: New file.  
+       * emulparams/msp430xW427.sh: New file.
+
+2003-08-07  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
+       Change second (cmdline) arg to lang_add_entry to FALSE.
+       (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
+
+2003-08-05  Christian Groessler  <chris@groessler.org>
+            Jason Eckhardt  <jle@rice.edu>
+
+        * configure.tgt: Recognize new target i860-*-coff.
+        * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
+        (ecoff_i860.c): New rule.
+        * emulparams/coff_i860.sh: New file.
+        * scripttempl/i860coff.sc: New file.
+        * Makefile.in: Regenerate.
+
+2003-08-04  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/elf32.em (before_allocation): Prepend "warning: "
+       to messages produced for .gnu.warning.SYMBOL sections.
+
+2003-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (output_rel_find): Add "isdyn" param.  Put
+       .rel.dyn before other reloc sections.  Don't stop looking for reloc
+       sections on finding one that isn't allocated.  Match .rel even when
+       placing .rela and vice versa, when setting last_rel and
+       last_rel_alloc for the first time.  If no reloc sections in script,
+       prefer allocated section over non-alloc.
+       (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
+
+2003-07-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
+       section for shared library.
+       * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
+       * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
+
+2003-07-29  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * scripttempl/elfm68hc12.sc: Add gcc_except_table.
+       * scripttempl/elfm68hc11.sc: Likewise.
+
+2003-07-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
+
+       * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
+
+2003-07-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo: Typo fixes.  Document SUBALIGN.
+       * ldgram.y (opt_subalign): Add.
+       * ldlex.l (SUBALIGN): Recognize.
+       * ldlang.c (overlay_subalign): New var.
+       (lang_enter_overlay): Add subalign param.
+       (lang_enter_overlay_section): Pass overlay_subalign to
+       lang_enter_output_section_statement.
+       * ldlang.h (lang_enter_overlay): Update.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2003-07-23  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
+       account .tramp sections;
+       * scripttempl/elfm68hc12.sc: Likewise.
+
+2003-07-17  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
+
+2003-07-17  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: New Spanish translation.
+
+2003-07-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/ld.pot: Regenerate.
+
+2003-07-10  Bob Wilson  <bob.wilson@acm.org>
+
+       * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
+       with new .got.loc section.
+       (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
+       non-relocating links.
+       (OTHER_SECTIONS): Add .xt.lit here.  Change it to keep linkonce
+       sections separate for non-relocating links; likewise for .xt.insn.
+
+2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
+
+       2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
+       * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
+       2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
+       * configure.host (am33_2.0-*-linux*): Added.
+       * configure.tgt (am33_2.0-*-linux*): Likewise.
+       * emulparams/elf32am33lin.sh: New.
+       * Makefile.am (eelf32am33lin.c): New rule.
+       * Makefile.in: Rebuilt.
+
+2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       2001-04-17  Alexandre Oliva  <aoliva@redhat.com>
+       * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
+       (GENERATE_SHLIB_SCRIPT): Likewise.
+
+2003-07-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
+       (GOT): Define.
+       * emultempl/ppc64elf.em (stub_added): New static var.
+       (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
+       (ppc_add_stub_section): Set stub_added.
+       (gld${EMULATION_NAME}_finish): Look for .got rather than .toc.  Adjust
+       ppc64_elf_size_stubs call and test for stubs.
+       * scripttempl/elf.sc (GOT): Define and use.
+
+2003-07-08  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
+       Allow second call from ldemul_finish.
+
+2003-07-04  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * emulparams/shelf32.sh (STACK_ADDR): Don't define.
+       (OTHER_SECTIONS): Include .stack.
+       * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
+
+2003-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
+       .opd if -pie.
+       (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
+       * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
+       if -pie.
+
+2003-06-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.h: Convert to C90, remove unnecessary prototypes and casts.
+       Replace PTR with void *.  Formatting.
+       * ldcref.c: Likewise.
+       * ldctor.c: Likewise.
+       * ldctor.h: Likewise.
+       * ldemul.h: Likewise.
+       * ldexp.c: Likewise.
+       * ldexp.h: Likewise.
+       * ldfile.c: Likewise.
+       * ldfile.h: Likewise.
+       * ldlang.c: Likewise.
+       * ldlang.h: Likewise.
+       * ldlex.h: Likewise.
+       * ldlex.l: Likewise.
+       * ldmain.c: Likewise.
+       * ldmain.h: Likewise.
+       * ldmisc.c: Likewise.
+       * ldmisc.h: Likewise.
+       * ldver.h: Likewise.
+       * ldwrite.c: Likewise.
+       * ldwrite.h: Likewise.
+       * lexsup.c: Likewise.
+       * mri.c: Likewise.
+       * mri.h: Likewise.
+       * pe-dll.c: Likewise.
+       * pe-dll.h: Likewise.
+       * deffilep.y: Likewise.
+       * deffile.h: Likewise.  Don't include ansidecl.h.
+       * emulparams/elf32mcore.sh: Remove unnecessary cast.
+       * emultempl/m68kcoff.em: Likewise.
+       * emultempl/m68kelf.em: Likewise.
+       * emultempl/ticoff.em: Remove lang_add_output_format declaration.
+       * sysdep.h: Don't include ansidecl.h.
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2003-06-27  Nick Clifton  <nickc@redhat.com>
+
+       * deffilep.y (def_file_add_directive): Cope with NUL seperated
+       directives.  Fix reporting of unparseable directives.
+       (def_error): Check for a NULL def_filename.
+
+2003-06-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
+       and casts.  Replace PTR with void *.  Formatting.
+       * emultempl/alphaelf.em: Likewise.
+       * emultempl/armcoff.em: Likewise.
+       * emultempl/armelf.em: Likewise.
+       * emultempl/armelf_oabi.em: Likewise.
+       * emultempl/beos.em: Likewise.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/generic.em: Likewise.
+       * emultempl/gld960.em: Likewise.
+       * emultempl/gld960c.em: Likewise.
+       * emultempl/hppaelf.em: Likewise.
+       * emultempl/linux.em: Likewise.
+       * emultempl/lnk960.em: Likewise.
+       * emultempl/m68hc1xelf.em: Likewise.
+       * emultempl/m68kcoff.em: Likewise.
+       * emultempl/m68kelf.em: Likewise.
+       * emultempl/mipsecoff.em: Likewise.
+       * emultempl/mipself.em: Likewise.
+       * emultempl/mmix-elfnmmo.em: Likewise.
+       * emultempl/mmixelf.em: Likewise.
+       * emultempl/mmo.em: Likewise.
+       * emultempl/needrelax.em: Likewise.
+       * emultempl/netbsd.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/sh64elf.em: Likewise.
+       * emultempl/sunos.em: Likewise.
+       * emultempl/ticoff.em: Likewise.
+       * emultempl/vanilla.em: Likewise.
+       * emultempl/xtensaelf.em: Likewise.
+       * Makefile.am: Correct dependencies.
+       * Makefile.in: Regenerate.
+
+2003-06-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo: Correct spelling of "relocatable".
+       * ldctor.c: Likewise.
+       * ldexp.c: Likewise.
+       * ldfile.c: Likewise.
+       * ldint.texinfo: Likewise.
+       * ldlang.c: Likewise.
+       * ldmain.c: Likewise.
+       * ldwrite.c: Likewise.
+       * lexsup.c: Likewise.
+       * emultempl/aix.em: Likewise.
+       * emultempl/alphaelf.em: Likewise.
+       * emultempl/armcoff.em: Likewise.
+       * emultempl/armelf_oabi.em: Likewise.
+       * emultempl/beos.em: Likewise.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/generic.em: Likewise.
+       * emultempl/gld960.em: Likewise.
+       * emultempl/gld960c.em: Likewise.
+       * emultempl/hppaelf.em: Likewise.
+       * emultempl/linux.em: Likewise.
+       * emultempl/lnk960.em: Likewise.
+       * emultempl/m68hc1xelf.em: Likewise.
+       * emultempl/m68kcoff.em: Likewise.
+       * emultempl/m68kelf.em: Likewise.
+       * emultempl/mipsecoff.em: Likewise.
+       * emultempl/mipself.em: Likewise.
+       * emultempl/mmix-elfnmmo.em: Likewise.
+       * emultempl/mmo.em: Likewise.
+       * emultempl/needrelax.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/ppc64elf.em: Likewise.
+       * emultempl/sh64elf.em: Likewise.
+       * emultempl/sunos.em: Likewise.
+       * emultempl/ticoff.em: Likewise.
+       * emultempl/xtensaelf.em: Likewise.
+
+2003-06-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc32elf.em: Convert to C90.
+
+2003-06-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
+       unnecessary prototypes and casts.
+
 2003-06-19  Alan Modra  <amodra@bigpond.net.au>
 
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
 
 2003-03-18  Danny Smith  <dannysmith@users.sourceforge.net>
 
-       * defilep.y (opt_base): If no number given, set to default
+       * deffilep.y (opt_base): If no number given, set to default
        (-1), not 0.
 
 2003-03-13  Danny Smith  <dannysmith@users.sourceforge.net>
 
 2002-01-14  Charles Wilson  <cwilson@ece.gatech.edu>
 
-       * ld/ld.texinfo (node WIN32): Some clarifications
+       * ld.texinfo (node WIN32): Some clarifications
        and formatting fixups.
 
 2003-01-09  Chris Demetriou  <cgd@broadcom.com>
 
 2003-01-03  Charles Wilson  <cwilson@ece.gatech.edu>
 
-       * ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
+       * pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
 
 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
 
 2002-12-30  Ralf Habacker  <Ralf.Habacker@freenet.de>
            Charles Wilson  <cwilson@ece.gatech.edu>
 
-       * ld/config.in (HAVE_REALPATH): New entry.
+       * config.in (HAVE_REALPATH): New entry.
        (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
 
 2002-12-30  Ralf Habacker  <ralf.habacker@freenet.de>
 
 2002-12-17  Ralf Habacker  <ralf.habacker@freenet.de>
 
-       * ld/emultempl/pe.em (pe_find_data_imports): Don't search for data
+       * emultempl/pe.em (pe_find_data_imports): Don't search for data
        import when auto-import is disabled.
 
 2002-12-17  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * configure.in: added --with-lib-path argument to ld's configure
        to set LIB_PATH.
-       * ld/NEWS: Document new switch.
-       * ld/README: Mention new switch.
+       * NEWS: Document new switch.
+       * README: Mention new switch.
        * configure: Regenerate.
        * Makefile.in: Regenerate.
 
 
 2002-06-20  Nathanael Nerode  <neroden@twcny.rr.com>
 
-       * ld/configure.host (romp): Drop support.
+       * configure.host (romp): Drop support.
 
 2002-06-18  Chris Demetriou  <cgd@broadcom.com>
 
 
 2002-06-07  Charles Wilson  <cwilson@ece.gatech.edu>
 
-       * ld/ldmain.c (main): initialize link_info.pei386_auto_import
+       * ldmain.c (main): initialize link_info.pei386_auto_import
        to -1 == implicit enable.
-       * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
+       * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
        initialize link_info.pei386_auto_import to -1 == implicit
        enable.
        (gld_${EMULATION_NAME}_parse_args): When processing
 
 2002-04-07  matthew green  <mrg@redhat.com>
 
-       * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
+       * configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
 
 2002-04-04  Alan Modra  <amodra@bigpond.net.au>
 
        * configure.tgt (sh*le-*-netbsdelf*): New target.
        (sh*-*-netbsdelf*): New target.
        * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
-       * ld/emulparams/shelf_nbsd.sh: New emulation.
-       * ld/emulparams/shlelf_nbsd.sh: New emulation.
+       * emulparams/shelf_nbsd.sh: New emulation.
+       * emulparams/shlelf_nbsd.sh: New emulation.
 
 2002-01-07  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
        (OTHER_READWRITE_SECTIONS): Likewise.
        * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
-       (OTHER_READWRITE_SECTIONS): Likewise
+       (OTHER_READWRITE_SECTIONS): Likewise.
 
        * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
        (STACK_ADDR): Define.