2001-11-14 H.J. Lu <hjl@gnu.org>
[binutils-gdb.git] / ld / ChangeLog
index 78e4ec0771a0561bc6bc00c9c500156a33dff8e8..cd6c11fe5c6b6dabdf45f8f6dfbe586ab80b49ac 100644 (file)
@@ -1,3 +1,372 @@
+2001-11-14  H.J. Lu  <hjl@gnu.org>
+
+       * emultempl/armelf.em (arm_elf_finish): Renamed from
+       gld${EMULATION_NAME}_finish.
+       (LDEMUL_FINISH): Set to arm_elf_finish.
+
+2001-11-14  Daniel Jacobowitz  <drow@mvista.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
+       (struct ld_emulation_xfer_struct): Use it.
+
+Tue Nov 13 11:27:14 2001  Ross Alexander <ross.alexander@uk.neceur.com>
+
+       * emulparams/elf64hppa.sh (OTHER_BSS_END_SECTIONS): Add
+       additional symbols referenced by newer crt0.o files from HP.
+
+2001-11-12  Anthony Green  <green@redhat.com>
+
+       * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
+
+2001-11-12  Alfred M. Szmidt  <ams@kemisten.nu>
+
+       * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
+       * Makefile.in: Regenerate.
+
+2001-11-02  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * ld.texinfo: Use @command for commands, @option for options.
+       * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
+       the page man title.
+       * Makefile.in: Rebuild.
+
+2001-11-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
+       Add support for targets.
+       
+2001-11-02  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add "fr" and "sv"
+       * configure: Regernate.
+       * po/fr.po: New file.
+       * po/sv.po: New file.
+
+2001-11-01  NIIBE Yutaka  <gniibe@m17n.org>
+
+       * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
+       as little endian default and to support big endian.
+       
+2001-11-01  Chris Demetriou  <cgd@broadcom.com>
+
+       * ld.texinfo (Options): Document new option, -nostdlib.
+       * lexsup.c (OPTION_NOSTDLIB): New definition.
+       (ld_options): Add entry for "nostdlib".
+       (parse_args): Handle OPTIONS_NOSTDLIB.
+       * ldfile.c (ldfile_add_library_path): Don't add directories
+       to the search path if they weren't specified on the command line
+       and -nostdlib was specified.
+       * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
+
+2001-10-31  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * lexsup.c (parse_args): Prevent infinite parsing loop when
+       "-rpath.a" is specified on the command line.
+       Replace calls to fprintf with calls to einfo.
+
+2001-10-31  John Marshall  <jmarshall@acm.org>
+
+       * ld.texinfo: A historical requirement that MEMORY and SECTIONS
+       appear only once across all the linker scripts involved in a link
+       invocation no longer applies.  Make the documentation reflect
+       that.
+
+2001-10-31  NIIBE Yutaka  <gniibe@m17n.org>
+
+       * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
+       targets.
+       (sh-*-linux*): Added targ_extra_libpath.
+
+2001-10-31  David Heine  <dlheine@tensilica.com>
+
+       * ldlang.c (lang_size_sections): Keep a valid output_offset field
+       for padding statements.
+
+2001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * configure.tgt (mmix-*-*): New target.
+       * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
+       Add dependencies to match.
+       * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
+       emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
+       scripttempl/mmo.sc: New files.
+       * gen-doc.texi: @set MMIX.
+       * ld.texinfo: Ditto.
+       [MMIX] Add MMIX node.
+       * Makefile.in: Regenerate.
+
+2001-10-29  Kazu Hirata  <kazu@hxi.com>
+
+       * ldlang.c: Fix a comment typo.
+
+2001-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.host: Move alpha*-*-linux-gnu* entry to generic
+       entries, and match *-*-linux*.
+
+2001-10-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldgram.y (mri_script_command): Surround processing of INCLUDE
+       with ldlex_script, ldlex_popstate.
+       (ifile_p1): Likewise.
+       * ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
+       correct slot.
+       (lex_push_file): Save current lineno to lineno_stack.  Set lineno
+       to 1.  Don't BEGIN(SCRIPT).
+       (lex_redirect): Similarly.
+       * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
+
+2001-10-20  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
+       __EH_FRAME_END__ and accept eh frames into data section.
+       Add ctor and dtor sections.
+
+2001-10-19  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
+
+       * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
+       (auto-export): Fix indentation.
+
+2001-10-18  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
+
+       * pe-dll.c (autofilter_objectlist):  Add startup objects
+       for profiling.
+       (auto-export): Constify char * p.
+       Extract file basename and use strcmp rather than ststr
+       for object lookup.
+
+2001-10-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * ldmain.c (get_emulation): Improve comment about the handling
+       of -mipsN options.
+
+2001-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/POTFILES.in: Regenerate.
+
+2001-10-16  Vassili Karpov  <malc@pulsesoft.com>
+
+       * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
+       -z nocopyreloc and -z nocombreloc usage strings.
+
+2001-10-12  Vassili Karpov  <malc@pulsesoft.com>
+
+       * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
+       in usage.
+
+2001-10-11  Aleksey Romanov <aromanov@ennovatenetworks.com>
+
+       * scripttempl/armaout.sc: Place .bss section after end of aligned
+       data section to match behaviour of aout code in constructrion of
+       header.
+
+2001-10-11  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
+
+       * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
+       startup files for mingw32 dlls to list.
+
+2001-10-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * emultempl/elf32.em: Fix shell 'if' usage for portability.
+
+2001-10-08  Aldy Hernandez  <aldyh@redhat.com>
+
+       * configure.tgt (targ): Add arm9e-*-elf.
+
+2001-10-05  H.J. Lu  <hjl@gnu.org>
+
+       * genscripts.sh: Fix a typo in the last change.
+
+2001-10-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
+       -z nocombreloc in usage.
+
+2001-10-03  Jim Blandy  <jimb@redhat.com>
+
+       * genscripts.sh: Include a comment at the top of each generated
+       script, explaining its purpose.
+
+2001-10-03  Vassili Karpov  <malc@pulsesoft.com>
+
+       * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
+       * NEWS: Mention -z nocopyreloc.
+       * ld.texinfo (Options): Describe nocopyreloc.
+
+2001-10-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure: Regenerate.
+
+2001-10-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldver.h (ld_program_version): Remove declaration.
+       * lexsup.c (parse_args): Move printing of copyright message..
+       * ldver.c (ldversion): .. to here.
+       Use BFD_VERSION_STRING in place of BFD_VERSION.
+       (ld_program_version): Remove.
+       * Makefile.am (Makefile): Depend on bfd/configure.in.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2001-09-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * Makefile.am: Update dependencies with "make dep-am".
+       * Makefile.in: Regenerate.
+
+2001-09-29  John Reiser  <jreiser@BitWagon.com>
+
+       * ldlang.c (lang_common): Conditionally inhibit Common allocation.
+       * lexsup.c: Add --no-define-common commandline option.
+       * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
+       * ldlex.l: Likewise.
+       * ld.h: Add command_line.inhibit_common_definition.
+       * ldmain.c (main): Initialize.
+       * ld.texinfo: Document.
+
+2001-09-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldmisc.c (USE_STDARG): Remove.
+       (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
+       (einfo): Likewise.
+       (minfo): Likewise.
+       (lfinfo): Likewise.
+
+       * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
+       declarations.  Update copyright.
+
+2001-09-24  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * pe-dll.c: Remove obsoleted declaration of
+       pe_get_data_import_dll_name.
+       (pe_create_import_fixup): Fix thinko.
+
+       * ld.texinfo(enable-auto-import): Clarify the explanation.
+
+2001-09-24  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * pe-dll.c (pe_create_import_fixup): Revert previous patch.
+       * emultemp/pe.em (pe_data_import_dll): Move definition outside of
+       DLL_SUPPORT controlled code.
+
+2001-09-24  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * emultempl/pe.em(pe_data_import_dll): Make static.
+       (pe_get_data_import_dll_name): New accessor function.
+       * pe-dll.c(pe_create_import_fixup): call
+       pe_get_data_import_dll_name() from pe.em, instead of
+       directly accessing pe_data_import_dll variable from pe.em.
+
+2001-09-18  Bruno Haible  <haible@clisp.cons.org>
+
+       * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
+       (def_file_add_directive): Use ISSPACE instead of isspace.
+       (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
+       isdigit/isxdigit/isalpha/isalnum.
+       * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
+       (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
+       * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
+       (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
+       isalnum.
+       * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
+       (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
+       isupper/tolower.
+       * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
+       (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
+       * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (ctor_prio): Use ISDIGIT instead of isdigit.
+       * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (ldfile_open_file_search): Use ISALPHA instead of isalpha.
+       (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
+       isupper/tolower.
+       * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (stricpy): Use TOLOWER instead of isupper/tolower.
+       (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
+       * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
+       (lex_warn_invalid): Use ISPRINT instead of isprint.
+       * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (main): For gettext, also set the LC_CTYPE locate facet.
+       (add_keepsyms_file): Use ISSPACE instead of isspace.
+       * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (is_num, parse_args): Use ISDIGIT instead of isdigit.
+       * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
+       * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (gldppcmacos_read_file): Use ISSPACE instead of isspace.
+       * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
+       (quoteput): Use ISSPACE instead of isspace.
+       (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
+       instead of isalnum.
+
+2001-09-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * deffilep.y (def_stash_module): Constify "name" param.
+
+       * pe-dll.c: Replace CONST with const throughout.
+       (quick_symbol): Constify "n1", "n2", "n3" params.
+       (make_singleton_name_thunk): Constify "import" param.  Make
+       "buffer_len" a size_t.
+       (make_import_fixup_entry): Constify "name", "fixup_name",
+       "dll_symname" params.
+       (pe_get16): Cast args of bfd_seek.  Replace bfd_read with bfd_bread.
+       (pe_get32): Likewise.
+       (pe_implied_import_dll): Likewise.
+
+       * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
+       (sort_by_section_name): Likewise.
+
+       * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
+       (make_import_fixup): Cast printf arg, rel->address to long rather
+       than int.
+       (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
+
+2001-09-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
+       defines BufferSize.  Increase buffer size by one.
+
+2001-09-14  Ralf Habacker <Ralf.Habacker@freenet.de>
+
+       * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
+
+2001-09-14  Kevin Lo <kevlo@openbsd.org>
+
+       * configure.tgt: Add arm-openbsd target.
+
+2001-09-12  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
+       eelf64lppc.o to ...
+       (ALL_64_EMULATIONS): Here.
+       * Makefile.in: Regenerated.
+
+2001-09-12  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
+
+       * emultempl/pe.em(make_import_fixup): change signature to
+       take asection as well as arelec; we need this for proper
+       error reporting.  Only call pe_create_import_fixup() if
+       there is no attempt to add a constant addend to the reloc;
+       otherwise, report error condition.
+       * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
+       since final argument is a pointer to make_import_fixup().
+       Change call to cb() to match make_import_fixup() signature.
+       (make_import_fixup_mark): make buffer_len unsigned.
+       * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
+
+2001-09-12  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * ld.texinfo: add verbose documentation for auto-import
+       direct-addressing workaround, to compliment the terse
+       error message.
+
+2001-09-12  Andrew MacLeod  <amacleod@redhat.com>
+
+       * scripttempl/v850.sc: Add gcc_except_table sections.
+
+Fri Sep  7 11:34:24 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparams/h8300helf.sh: Move stack to a much higher memory address.
+       * emulparams/h8300self.sh: Similarly.
+
 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
 
        * ld.texinfo (Options, --stack): Correct default value for stack
@@ -6,7 +375,7 @@
 2001-09-05  Tom Rix <trix@redhat.com>
 
        * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
-       
+
 2001-09-03  Andreas Jaeger  <aj@suse.de>
 
        * emultempl/beos.em: Declare prototypes for comparions functions,
@@ -237,10 +606,10 @@ Wed Aug 28 13:37:20 2001  J"orn Rennecke <amylaar@redhat.com>
        scripttempl/v850.sc: Keep .jcr data.
 
 2001-08-12  H.J. Lu  <hjl@gnu.org>
-            Andrew Haley  <aph@cambridge.redhat.com>
-            Nick Clifton  <nickc@redhat.com>
+           Andrew Haley  <aph@cambridge.redhat.com>
+           Nick Clifton  <nickc@redhat.com>
 
-        * ldgram.y (had_script): Change name to saved_script_handle.
+       * ldgram.y (had_script): Change name to saved_script_handle.
        Change type to file handle.
        * ld.h (had_script): Rename and retype.
        * ldfile.c (ldfile_open_command_file): Save the file handle
@@ -652,7 +1021,7 @@ Wed Aug 28 13:37:20 2001  J"orn Rennecke <amylaar@redhat.com>
        * configure.tgt : same
 
        * scripttempl/aix.sc : default text section offset to 0x10000000
-        default data section offset to 0x20000000
+       default data section offset to 0x20000000
        add .sv3264 and .sv64 pseudo sections
        loader and debug sections use the currect section offset.
 
@@ -863,7 +1232,7 @@ Wed Aug 28 13:37:20 2001  J"orn Rennecke <amylaar@redhat.com>
 2001-03-23  Mark Elbrecht <snowball3@bigfoot.com>
 
        * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
-         and '-fdata-sections'. Set the VMA of STABS sections to zero.
+       and '-fdata-sections'. Set the VMA of STABS sections to zero.
 
 2001-03-17  Ulrich Drepper  <drepper@redhat.com>