Fix thinko
[binutils-gdb.git] / ld / ChangeLog
index 0c25d4dab6ac38d2b2f0604c533a0847d98571d4..c94bbaa9fc17d6d9d51d13dd4b37d35bcf990ac4 100644 (file)
@@ -1,8 +1,145 @@
+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
        reserve.
 
+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,