.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index e7d58eee89340535b49e49caac289982bffa70a9..b89e09f53effab6a66125ec2a38e150c54410ee5 100644 (file)
@@ -1,3 +1,363 @@
+2003-06-05  Roland McGrath  <roland@redhat.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
+       extra \t in -z noexecstack line.
+
+2003-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldgram.y (phdr_type): Grok PT_GNU_STACK.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
+       -z execstack and -z noexecstack.
+       (gld${EMULATION_NAME}_list_options): Likewise.
+       * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
+
+2003-06-03  Michael Snyder  <msnyder@redhat.com>
+        and Bernd Schmidt   <bernds@redhat.com>
+       and Alexandre Oliva <aoliva@redhat.com>
+
+       * Makefile.am: Add new emulations for h8300sx.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add new emulations.
+       * emulparams/h8300sx.sh: New emulation.
+       * emulparams/h8300sxelf.sh: Ditto.
+       * scripttempl/h8300sx.sc: Ditto.
+
+2003-06-03  H.J. Lu <hongjiu.lu@intel.com>
+
+       * ldmisc.c: Include "bfdlink.h".
+       (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
+       and -LD_DEFINITION_IN_DISCARDED_SECTION.
+
+       * Makefile.am: Rebuild dependency.
+       * Makefile.in: Regenerated.
+
+2003-06-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
+       * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
+
+2003-06-02  Fabrizio Gennari  <fabrizio.ge@tiscalinet.it>
+
+       * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
+       sorted alphabetically, instead of exported_symbols, which is
+       sorted by ordinal.
+
+2003-05-30  Ulrich Drepper  <drepper@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       * lexsup.c (OPTION_PIE): Define.
+       (ld_options): Add -pie and --pic-executable options.
+       (parse_args): Handle OPTION_PIE.
+       * ldmain.c (main): Initialize link_info.pie and
+       link_info.executable.
+       * genscripts.sh: Generate PIE scripts.
+       * ld.texinfo: Document -pie and --pic-executable options.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
+       (gld${EMULATION_NAME}_place_orphan): Likewise.
+       (gld${EMULATION_NAME}_get_script): Include PIE scripts.
+       * scripttempl/elf.sc: In PIE scripts set . the same way as in
+       shared scripts.
+       * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
+       * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
+
+2003-05-30  H.J. Lu <hongjiu.lu@intel.com>
+
+       * genscripts.sh: Create tmpdir/libpath.exp.
+
+2003-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
+       with a test for a NULL bfd_for_interworking.
+
+2003-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
+       correctly for more recent versions of NetBSD.
+       (alpha*-*-netbsd*): Remove.
+       (i[3-7]86-*-netbsd*): Remove.
+
+2003-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
+
+2003-05-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
+       trap on pointer crops.
+
+2003-05-21  Marcus Comstedt  <marcus@mc.pp.se>
+
+       * configure.tgt: Check for a target triplet of shl-...-netbsdelf
+       as well as shle-...-netbsdelf.
+
+2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * configure.host: Accept i[3-7]86 variants.
+       * configure.tgt: Likewise.
+
+2003-05-15  H.J. Lu <hongjiu.lu@intel.com>
+
+       * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
+
+2003-05-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
+       (earmelfb.c, earmelfb_linux.c): New rules.
+       * Makefile.in: Regenerated.
+       * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
+       * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
+
+2003-05-09  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.c (lang_size_sections_1): Default to generating a
+       fatal error message if a loadable section is not allocated
+       to a memory region when regions are defined.
+
+2003-05-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (em68hc11elf.c): Correct dependencies.
+       (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
+       * Makefile.in: Regenerate.
+       * emultempl/elf32.em (find_exp_assignment): Adjust for changed
+       bfd_elf_record_link_assignment name.
+
+2003-05-07  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ldmain.h (overflow_cutoff_limit): Declare.
+       * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
+       (reloc_overflow): Limit error messages based on it.
+       * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
+       unlimited.
+
+2003-05-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlex.l: Accept C style comments in version scripts.
+
+2003-04-28  H.J. Lu <hjl@gnu.org>
+
+       * ldlang.c (lang_process): Add the relax finalize pass.
+
+       * ldmain.c (main): Initialize link_info.relax_finalizing to
+       FALSE.
+
+2003-04-24  Roland McGrath  <roland@redhat.com>
+
+       * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
+       If a name string is unknown, give an error rather than crashing later.
+
+2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
+       eh8300hnelf.o, eh8300snelf.o and respective rules.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
+       * emulparams/h8300hn.sh: New
+       * emulparams/h8300sn.sh: New
+       * emulparams/h8300hnelf.sh: New
+       * emulparams/h8300snelf.sh: New
+       * scripttempl/h8300hn.sc: new
+       * scripttempl/h8300sn.sc: new
+
+2003-04-23  H.J. Lu <hjl@gnu.org>
+
+       * ldmain.c (link_callbacks): Initialize error_handler.
+
+       * ldmisc.c (error_handler): New function.
+
+       * ldmisc.h (error_handler): New prototype.
+
+2003-04-21  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
+       * emulparams/m68hc11elfb.sh: Likewise.
+       * emulparams/m68hc12elf.sh: Likewise.
+       * emulparams/m68hc12elfb.sh: Likewise.
+
+2003-04-19  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * emultempl/m68hc1xelf.em: New file to generate far trampolines on
+       68HC11 and 68HC12.
+       (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
+       generate.
+       (LDEMUL_FINISH): Override to generate the trampolines after gc and
+       linker relaxation.
+       (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
+       stub file for trampolines.
+       (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
+       --no-trampoline and --bank-window to control the memory bank window.
+
+2003-04-18  H.J. Lu <hjl@gnu.org>
+
+       * ldfile.c (ldfile_add_library_path): Remove the unused
+       variable.
+
+2003-04-18  Andrew Haley  <aph@cambridge.redhat.com>
+
+       * scripttempl/xstormy16.sc (__data, __rdata): New.
+
+2003-04-16  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/xstormy16.sc: Add .jcr section mapping.
+
+2003-04-15  H.J. Lu <hjl@gnu.org>
+
+       From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
+
+       * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
+
+2003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
+
+       * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
+       * ld.texinfo: Likewise.
+
+2003-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       From Prashanth Tamraparni <prashanth_t@in.ibm.com>
+       * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
+       other variants of crtbegin.o, crtend.o.
+       (DTOR): Likewise.
+       * scripttempl/crisaout.sc (ctors, dtors): Likewise.
+       * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
+       * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
+       * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
+       * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
+       * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
+       * scripttempl/mmo.sc (ctors, dtors): Likewise.
+       * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
+
+2003-04-09   Dmitry Diky  <diwil@mail.ru>
+
+       * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
+       sections to respect C++  constructor/destructor. Add ctors/dtors
+       start/stop definitions.
+       * scripttempl/elf32msp430_3.sc: Likewise.
+
+2003-04-06  Nick Clifton  <nickc@redhat.com>
+
+       * ld.texinfo (Options): Add a reminder of the target specific
+       nature to the description of the i386 PE specific options, for
+       readers who have not read all the way through the manual.
+
+2003-04-04  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * configure.tgt: Fixed bug in list of targ_extra_emuls.
+       * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
+       cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
+       * emulparams/tic3xcoff_onchip.sh: Ditto
+       * emulparams/tic4xcoff.sh: Ditto
+       * scripttempl/tic4xcoff.sc: Ditto
+
+2003-04-03  Nick Clifton  <nickc@redhat.com>
+
+       * NEWS: Mention support for Xtensa architecture.
+
+2003-04-02  Nick Clifton  <nickc@redhat.com>
+
+       * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
+
+2003-04-01  Danny Smith <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
+       Don't call pe_dll_build_section() if link_info.relocateable.
+       (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
+       if link_info.relocateable.
+
+2003-04-01  Fabrizio Gennari  <fabrizio.ge@tiscalinet.it>
+
+       * pe-dll.c (process_def_file): Don't create an export
+       section if there are no exports and we're building an exe
+       (pe_dll_build_sections): Ditto
+       (pe_dll_fill_sections): Conditionalize setting
+       abfd->dll true on info->shared
+       * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
+       If i386pe or armpe, call pe_dll_build_section()
+       for both exe's and dll's, not just dll's.
+       (gld_${EMULATION_NAME}_finish): For all targets except
+       shpe and mipspe, call pe_dll_fill_sections() for both
+       exe's and dll's, not just dll's.
+
+2003-04-02  Bob Wilson  <bob.wilson@acm.org>
+
+       * emulparams/xtensa-config.sh: Remove comment indicating that this is
+       a generated file.
+
+2003-04-01  Bob Wilson  <bob.wilson@acm.org>
+
+       * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
+       (eelf32xtensa.c): New target.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Handle xtensa-*-*.
+       * gen-doc.texi: Set XTENSA variable.
+       * ld.texinfo: Set XTENSA variable.  Add new Xtensa node.
+       * emulparams/elf32xtensa.sh: New file.
+       * emulparams/xtensa-config.sh: Likewise.
+       * emultempl/xtensaelf.em: Likewise.
+       * scripttempl/elfxtensa.sc: Likewise.
+
+2003-04-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
+       targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
+       if --enable-64-bit-bfd.
+
+2003-04-01  Nick Clifton  <nickc@redhat.com>
+
+       * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
+       note section.
+       * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
+       name of note section.
+
+2003-03-31  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
+       --section-start.
+
+2003-03-31  David Heine  <dlheine@suif.stanford.edu>
+
+       * ldfile.c (ldfile_add_library_path): Always allocate space for
+       the filename.
+       * ldlang.c (lang_register_vers_node): Free the node if it cannot
+       be used.
+       * ldmain.c (set_scripts_dir): Always free the constructed
+       directory name.
+       (add_keepsyms_file): Fix memory leak.
+       * ldmisc.c (vfinfo): Likewise.
+       * lexsup.c (parse_args): Likewise.
+
+2003-03-25  Stan Cox   <scox@redhat.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       Contribute support for Intel's iWMMXt chip - an ARM variant:
+
+       * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
+       * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
+       * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
+       (.bss): Likewise.
+
+2003-03-25  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
+       * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
+       (main): Initialize them.
+       * ldfile.c: Include pathnames.h.
+       (is_sysrooted_pathname): New.
+       (ldfile_add_library_path): Use it.
+       (ldfile_open_file_search): Likewise.  Use IS_ABSOLUTE_PATH.  Don't
+       search_dirs if given an absolute pathname.
+       (ldfile_open_file): Issue error message for sysrooted
+       absolute pathnames.
+       * Makefile.am: Updated dependencies.
+       * Makefile.in: Rebuild.
+
 2003-03-24  Daniel Néri  <dne@mayonnaise.net>
 
        * ld.texinfo: Rename all occurances of C54X to TIC54X.
        * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
        eof.
 
-2003-03-18  Danny Smith  <dannysmith@users.sourceforge,net>
+2003-03-18  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * defilep.y (opt_base): If no number given, set to default
        (-1), not 0.
 
-2003-03-13  Danny Smith  <dannysmith@users.sourceforge,net> 
+2003-03-13  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * deffilep.y (def_import):  Use default extension of "dll"
        if no extension provided in parsed IMPORT definition.
        * emultempl/pe.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/elf32.em: Likewise.  Don't duplicate long options either.
-       (gld${EMULATION_NAME}_add_sysroot): Prototype.  
+       (gld${EMULATION_NAME}_add_sysroot): Prototype.
        * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
        options.
        * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
        * gen-doc.texi: Set ARM and HPPA variables.
        * ld.texinfo: Fix typos and obvious texinfo mistakes.  Make section
        title capitalization more consistent.  Add missing menu entries for
-       machine-specific sections and conditionalize them consistently. 
+       machine-specific sections and conditionalize them consistently.
        Conditionalize text that is irrelevant when SingleFormat is set.
        Add @group divisions to improve page breaks in long examples.
        Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
 2003-02-17  Nick Clifton  <nickc@redhat.com>
 
        * ldmain.c (main) Default allow_shlib_undefined to true.
-        * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
-        (parse_args): Parse the new switch.
-        * ld.texinfo: Document new switch and default behaviour of
-        allowing undefined symbols in shared libraries.
+       * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
+       (parse_args): Parse the new switch.
+       * ld.texinfo: Document new switch and default behaviour of
+       allowing undefined symbols in shared libraries.
 
 2003-02-11 Dmitry Diky  <diwil@mail.ru>
 
        for various msp430 configurations.
        * gen-doc.texi: Enable msp430 documenation.
        * ld.texinfo: Document msp430 sections.
-       * scripttempl/elf32msp430.sc: New file.\e-b Linker script for msp430.\e-A
+       * scripttempl/elf32msp430.sc: New file.  Linker script for msp430.
        * scripttempl/elf32msp430_3.sc: New file.  Linker script for msp430.
 
 2002-12-30  Ralf Habacker  <Ralf.Habacker@freenet.de>
This page took 0.033354 seconds and 4 git commands to generate.