Remove extraneous underscore from prototype
[binutils-gdb.git] / ld / ChangeLog
index a964c22114fc4fbd1d332ceed49aadafb33662a7..564bb2b3d1f72ec11a5a96ff4043990dd3707c98 100644 (file)
@@ -1,3 +1,471 @@
+1999-10-26  Nick Clifton  <nickc@cygnus.com>
+
+       * emultempl/armcoff.em (gld{}_finish): Remove extraneous
+       underscore from prototype.
+       * emultempl/armelf.em (gld{}_finish): Remove extraneous
+       underscore from prototype.
+
+1999-10-07  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs
+       being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*.
+       (.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*.
+       (.rel.sbss): Make like .rel.bss.
+       (.rela.sbss): Make like .rel.bss.
+       (.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when
+       ld -r.
+       (.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS,
+       .dynsbss.
+
+1999-09-29  Andrew Haley  <aph@cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer
+       merging sections when not relocating.
+
+1999-09-28  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * pe-dll.c (process_def_file): Move the offset lookup from here to
+       (fill_exported_offsets): here. New static function.
+       (fill_edata): Use.
+       
+1999-09-28  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * deffilep.y (tokens): Add upper and lower case versions of DATA,
+       CONSTANT, NONAME and PRIVATE tokens.
+       (command): Use DATAU.
+       (expline): Allow for drectve syntax as well.
+       (exp_opt_list): Likewise.
+       (exp_opt): Likewise.
+       * pe-dll.c (make_one): Only generate the idata entries for data
+       symbols.
+
+1999-09-28  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
+       in .sdata too.
+
+1999-09-26  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/elf.sc (.bss): Accept sections named .bss.*
+       (.sbss): Accept sections names .sbss.*
+
+1999-09-22  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.am: Add earm_epoc_pe.c build target. 
+
+Sat Sep 18 07:57:10 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",
+       they've been renamed to ".stub", which is handled automatically
+       by elf.sc.
+
+Fri Sep 17 11:00:33 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
+       (DATA_START_SYMBOLS): Kill __hp_load_map definition
+
+Thu Sep 16 10:59:56 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
+       Use the same filename extension for the bfd_elf_dt_needed_name call
+       as we did for finding the library.
+
+       * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
+       (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
+
+       * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
+
+Wed Sep 15 02:47:43 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
+       (SHLIB_DATA_ADDR): Likewise.
+
+       * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
+
+       * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS):  No longer combine
+       the .plt, .dlt, .opd  into a single output section.  Provide values
+       for __gp and __hp_load_map.
+
+1999-09-14  Michael Meissner  <meissner@cygnus.com>
+
+       * configure.in (Canonicalization of target names): Remove adding
+       ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
+       generates $ac_config_sub with a ${CONFIG_SHELL} already.
+       * configure: Regenerate.
+
+1999-09-14  Donn Terry  <donn@interix.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for 
+       terminating null.
+
+1999-09-14  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.in: Add earm_epoc_pe.c build target.
+
+Tue Sep 14 05:26:34 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
+
+1999-09-13  Donn Terry  <donn@interix.com>
+
+       * emultempl/pe.em: Remove the output file at the start, in case it
+       is not writable.
+
+Mon Sep 13 00:17:18 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
+       Search for file with .sl extension if no file with a .so extension
+       is found.
+
+       * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
+       at the start of the .dlt output section.
+
+1999-09-12  Ian Lance Taylor  <ian@zembu.com>
+
+       * pe.em: Don't include "../bfd/libbfd.h".
+       (gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
+       bfd_alloc.
+
+       * pe-dll.h: New file.
+       * pe-dll.c: Include "pe-dll.h".  Mark unused arguments as needed
+       to avoid warnings.
+       (edata_sz, reloc_sz): Change from int to size_t.
+       (pe_details_type): Change type of imagebase_reloc from int to
+       unsigned int.
+       (pe_detail_list): Fully initialize last entry.
+       (pe_dll_id_target): Change parameter to const.
+       (pe_dll_generate_def_file): Likewise.
+       (pe_dll_generate_implib): Likewise.
+       (pe_implied_import_dll): Likewise.  Change dll_name to const.
+       * emultempl/pe.em: Include "pe-dll.h".  Remove declarations now in
+       pe-dll.h.
+       (init): Fully initialize __dll__ entry.
+       (gld_${EMULATION_NAME}_after_open): Remove unused variables
+       sequence, elt, and i.
+       * deffile.h: Add preprocessor guard.
+       * deffilep.y (def_debug): Remove.
+       * Makefile.am: Rebuild dependencies.
+       (HFILES): Add pe-dll.h.
+
+1999-09-12  Donn Terry  <donn@interix.com>
+
+       * ld.h (ld_abort): Declare.
+       (abort): Define.
+       * ldmisc.c (ld_abort): Define.
+
+       * scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
+       Move .bss section after .rdata.  Move .reloc section after .rsrc.
+
+       * lexsup.c (parse_args): Use strtoul for --split-by-reloc
+       argument.
+
+       * lexsup.c (parse_args): If we get an unrecognized argument,
+       mention --help.
+
+       * ldlang.c (section_already_linked): Use comdat information if it
+       is available.
+
+       * emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If
+       OVERRIDE_SECTION_ALIGNMENT is defined, change to that.
+       (gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is
+       defined, rather than a.exe.
+       (init): Define __subsystem__ as ${SUBSYSTEM}.
+       (set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol
+       name.
+
+1999-09-12  Ian Lance Taylor  <ian@zembu.com>
+
+       * ldlang.c (open_output): Change local variable desired_endian
+       from int to enum bfd_endian.
+
+       * emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and
+       INITIAL_SYMBOL_CHAR.
+       * emulparams/armpe.sh: Likewise.
+       * emulparams/morepe.sh: Likewise.
+       * emulparams/ppcpe.sh: Likewise.
+       * emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
+       (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM.
+
+Fri Sep 10 00:22:50 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (LIB_PATH): Define.
+
+       * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
+       unwinders so that they are closer to the text section.
+       (OTHER_BSS_SECTIONS): Define.
+       (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS.
+       (INIT_START, INIT_END): Define.
+       (FINI_START, FINI_END): Define.
+       * scripttempl/elf.sc: Add support for INIT_START, INIT_END,
+       FINI_START, FINI_END and OTHER_BSS_SECTIONS.
+
+Thu Sep  9 21:43:58 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
+       (DATA_ADDR): Define.
+
+1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.
+
+1999-09-09  Andreas Schwab  <schwab@suse.de>
+
+       * ld.texinfo: Fix arguments of @var to not contain punctuation.
+
+Thu Sep  9 05:52:34 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define.
+
+1999-09-08  Ulrich Drepper  <drepper@cygnus.com>
+
+       * emulparams/elf64hppa.sh (ELFSIZE): New.  Set to 64.
+
+Wed Sep  8 00:07:39 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparms/elf64hppa.sh (ENTRY): Define to main.
+
+1999-09-03  Scott Bambrough  <scottb@netwinder.org>
+
+       * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
+       target "arm*-*-linux-gnu*"
+
+1999-09-04  Steve Chamberlain  <sac@pobox.com>
+
+       * configure.tgt (pjl-*-*, pj-*-*): New targets.
+       * emulparams/pjelf.sh: New file.
+       * emulparams/pjlelf.sh: New file.
+       * scripttempl/pj.sc: New file.  
+       * Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o.
+       (epjelf.o, epjlelf.o): New targets.
+       * Makefile.in: Rebuild.
+
+Fri Sep  3 20:17:08 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparams/elf64hppa.sh (MAXPAGESIZE): Define.
+       (OTHER_READONLY_SECTIONS, DATA_PLT): Likewise.
+
+Thu Sep  2 14:32:03 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * emulparams/elf64hppa.sh: New file.
+       * configure.tgt (hppa*w-*-*): Use elf64hppa emulation.
+       * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o
+       (eelf64hppa.c): Add dependencies.
+       * Makefile.in: Rebuilt.
+
+1999-08-25  Philip Blundell  <pb@nexus.co.uk>
+
+       * emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__.
+       * emulparams/armelf_linux.sh: Likewise.
+       * emulparams/armelf_linux26.sh: Likewise.
+
+1999-08-24  Nick Clifton  <nickc@cygnus.com>
+
+       From a patch submitted by Roland McGrath  <roland@baalperazim.frob.com>
+
+       * configure.tgt (arm-*-netbsd*): New target.
+       * Makefile.am (ALL_EMULATIONS): Add earmnbsd.o.
+       (earmnbsd.c): New rule with deps.
+       * Makefile.on: Regenerate.
+       * emulparams/armnbsd.sh: New file.
+
+1999-08-23  Nick Clifton  <nickc@cygnus.com>
+
+       * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define.
+       Implement --base-file command line switch.
+
+       * emultempl/elf32.em: Add ability for individual targets to have
+       their own command line switches by defining PARSE_AND_LIST_ARGS.
+
+1999-08-19  Andreas Schwab  <schwab@suse.de>
+
+       * configure.host: Use ${CC} instead of gcc for finding compiler
+       related files.
+
+1999-08-11  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo.
+
+1999-08-09  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * scripttempl/i386go32.sc: Handle g++ exception sections.
+
+1999-08-09  Ian Lance Taylor  <ian@zembu.com>
+
+       From Wally Iimura <iimura@microunity.com>:
+       * ldlang.c (lang_size_sections): When checking whether an address
+       is within a region, don't get confused by wrapping around at the
+       end of the address space.
+
+1999-08-08  Ian Lance Taylor  <ian@zembu.com>
+
+       * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
+       SEC_SMALL_DATA.
+
+       * Makefile.am: Rename .dep* files to DEP*.  Change DEP variable to
+       MKDEP.  Rebuild dependencies.
+       * Makefile.in: Rebuild.
+
+1999-08-08  Jakub Jelinek  <jj@ultra.linux.cz>
+
+       * configure.host (sparc-*-linux-gnu*): New host.
+       (sparc64-*-linux-gnu*): New host.
+
+1999-08-06  Ian Lance Taylor  <ian@zembu.com>
+
+       * lexsup.c (is_num): Reindent.
+       (parse_args): Mention program name in error message.
+
+       * emultempl/ostring.sed: Rename from stringify.sed.
+       * emultempl/astring.sed: New file.
+       * Makefile.am (stringify.sed): New target.
+       (GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to
+       stringify.sed.
+       * configure.in: Define and substitute STRINGIFY.
+       * emultempl/*.em: Use stringify.sed from build directory rather
+       than source directory.
+       * emultempl/elf32.em: Use stringify.sed rather than inline sed
+       script.
+       * emultempl/gld960.em, emultempl/gld960c.em: Likewise.
+       * emultempl/hppaelf.em, emultempl/linux.em: Likewise.
+       * emultempl/lnk960.em, emultempl/sunos.em: Likewise.
+       * configure, Makefile.in: Rebuild.
+
+1999-08-05  Donn Terry  <donn@interix.com>
+
+       * emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and
+       INITIAL_SYMBOL_CHAR.
+       * emulparams/i386pe_posix.sh: New file.
+       * Makefile.am (YACC): If bison is not in the source tree, use
+       @YACC@ rather than bison -y.
+       (LEX): If flex is not in the source tree, use @LEX@ rather than
+       flex.
+       (ALL_EMULATIONS): Add ei386pe_posix.o.
+       (ei386pe_posix.c): New target.
+       * configure.tgt (i[3456]86-*-interix*): New target.
+       * configure.host (i[3456]86-pc-interix*): New host.
+       * Makefile.in: Rebuild.
+
+1999-08-03  Ian Lance Taylor  <ian@zembu.com>
+
+       * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.
+       * emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
+
+1999-08-03  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am (ALL_EMULATIONS): Remove ego32.o.
+       (ego32.c): Remove.
+       * Makefile.in: Rebuild.
+
+1999-07-22  Philip Blundell  <pb@nexus.co.uk>
+
+       * emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define.
+       (OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise.
+       * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define.
+
+       * configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*,
+       thumb-*-linux-gnu*): New targets.
+
+1999-07-21  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * scripttempl/i386go32.sc: Add handling of linkonce sections.
+
+       * configure.bat: Remove; obsolete.
+       * emulparams/go32.sh: Remove; obsolete.
+       * scripttempl/go32coff.sc: Remove; obsolete.
+
+1999-07-21  H.J. Lu  <hjl@gnu.org>
+
+       * configure.tgt (mips*el-*-vxworks*): New target.
+
+1999-07-21  Brad M. Garcia  <bgarcia@fore.com>
+
+       * configure.tgt (i[3456]86-*-vxworks*): New target.
+
+Tue Jul 20 15:18:46 1999  Bob Manson  <manson@charmed.cygnus.com>
+
+       * ldlang.c (lang_gc_sections): Only handle the start symbol
+       specially if there is one.
+
+Mon Jul 19 14:19:14 1999  Mark P. Mitchell  <mark@codesourcery.com>
+
+       * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add
+       .MIPS.events and .MIPS.content handling.
+       * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise.
+
+1999-07-17  Nick Clifton  <nickc@cygnus.com>
+
+       * ldlang.c (get_target): New function: Return true iff the
+       given target is the target being sought.
+       (stricpy): New function:  Like strcpy but convert to lower
+       case as well.
+       (strcut): New function:  Like strstr but remove the located
+       substring as well.
+       (name_compare): New function: Compute a compatability rating
+       for two target names.
+       (winner): New variable: Best target found by
+       closest_target_match() so far.
+       (closest_target_match): New function: Find the target which is
+       the closest match to the original target.
+       (get_first_input_target): New function: Find the target format
+       of the first of the linker's input file.
+       (open_output): Be more clever about deciding the output target
+       format. 
+
+1999-07-16  Jakub Jelinek  <jj@ultra.linux.cz>
+
+       * emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH.
+
+Thu Jul 15 15:55:15 1999  Mark P. Mitchell  <mark@codesourcery.com>
+
+       * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
+
+1999-07-15  Ian Lance Taylor  <ian@zembu.com>
+
+       * configure.in: Bump version number to 2.9.5.
+       * configure: Rebuild.
+
+1999-07-14  Richard Henderson  <rth@cygnus.com>
+
+       * ldlang.c (wild_doit): Copy SEC_SHORT to output section.
+
+       * scripttempl/elf.sc: Re-order .rel[a].foo outputs to the
+       same order seen for the main sections.  Add
+       OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS.
+
+1999-07-12  Andreas Schwab  <schwab@suse.de>
+
+       * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in
+       structure initializations.
+
+       * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing
+       comma in initializer.
+
+1999-07-11  Ian Lance Taylor  <ian@zembu.com>
+
+       * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
+       as appropriate.  Fill in structure initializations.
+
+1999-07-10  Ian Lance Taylor  <ian@zembu.com>
+
+       * ldfile.c: Revert patch of 1999-07-08.
+       (ldfile_try_open_bfd): If we are searching for the file, skip
+       files with an incompatible architecture.
+
+1999-07-09  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and
+       little endian formats.
+
+1999-07-08  Felix Lee  <flee@cygnus.com>
+
+       * scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x
+
+1999-07-08  Jakub Jelinek  <jj@ultra.linux.cz>
+
+       * ldfile.c (ldfile_open_file_search): Skip libraries made for
+       incompatible architectures in the search path. Let the user know
+       about any such skips.
+
 Thu Jul  8 12:32:23 1999  John David Anglin <dave@hiauly1.hia.nrc.ca>
 
         * configure.tgt (hppa*-linux-gnu*): New target.