* genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 70723007fb4ffd78ad070d8962a3ea762fb86599..f97b537a24f1c90c53b5b7445452c5d2a5899b25 100644 (file)
@@ -1,3 +1,366 @@
+Wed Mar 13 12:40:18 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
+       support it.
+
+Tue Mar 12 12:43:59 1996  David Mosberger-Tang  <davidm@koala.azstarnet.com>
+
+       * ld.h (ld_config_type): Add warn_multiple_gp field.
+       * lexsup.c (parse_args): Handle --warn-multiple-gp.
+       * ldmain.c (warning_callback): Suppress multiple gp values warning
+       if --warn_multiple_gp was not used.
+       * ld.texinfo, ld.1: Document --warn-multiple-gp.
+
+Tue Mar 12 12:02:21 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * lexsup.c (parse_args): Handle --wrap.
+       * ldmain.c (main): Initialize link_info.wrap_hash.
+       * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED
+       and NAME cases.
+       * ld.texinfo, ld.1: Document --wrap.
+
+       * configure: Rebuild with autoconf 2.8.
+
+       Don't do SunOS style dynamic linking for sparc-aout:
+       * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4.
+       (sparclite*-fujitsu-*, sparc*-*-aout): Likewise.
+       (sparc*-wrs-vxworks*): Likewise.
+       * emulparams/sparcaout.sh: New file.
+       * Makefile.in (ALL_EMULATIONS): Add esparcaout.o.
+       (esparcaout.c): New target.
+
+Wed Mar  6 16:06:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
+       in a different manner to work around differences in shell variable
+       expansion.
+
+Wed Mar  6 18:08:18 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldemul.h (ldemul_unrecognized_file): Declare.
+       (ldemulation_xfer_type): Add unrecognized_file field.
+       * ldemul.c (ldemul_unrecognized_file): New function.
+       * ldlang.c (load_symbols): If a file can not be recognized, call
+       ldemul_unrecognized_file before trying it as a linker script.
+       * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static
+       function.
+       (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r".
+       (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.
+
+Mon Mar  4 14:11:17 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (wild): Handle foo.a(.text) by mapping each included
+       member of foo.a separately.  From Jouke Numan <jnuman@bazis.nl>.
+
+Fri Mar  1 10:24:59 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
+       Search trinary.cond rather than searching trinary.lhs twice.
+
+Tue Feb 27 15:08:43 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-make.sed: Edit out shared library support.
+       (@TDIRS@): Edit out, can't use genscripts.
+
+Tue Feb 27 15:09:21 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets.
+       * emulparams/m68klinux.sh: New file.
+       * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation):
+       Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of
+       bfd_linux_size_dynamic_sections.
+       * Makefile.in (ALL_EMULATIONS): Add em68klinux.o.
+       (em68klinux.c): New target.
+       * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts.
+
+Tue Feb 27 12:55:46 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order.
+       Fill in missing entries.
+
+       * lexsup.c (parse_args): Recognize --no-whole-archive.
+       * ldlang.h (lang_input_statement_type): Add whole_archive field.
+       * ldlang.c (new_afile): Set whole_archive field.
+       (load_symbols): Check input file specific whole_archive field
+       rather than global variable.
+       * ld.texinfo, ld.1: Document --no-whole-archive.
+
+Tue Feb 20 16:07:00 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.tgt: Correct gldi960 to gld960.
+
+Mon Feb 19 11:16:44 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check
+       the SONAME if it is available.
+       (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the
+       filename, when checking for conflicting library versions.  Don't
+       assume that the suffix is only numbers and dots.
+
+       * ld.texinfo: Mention that -R can be used for -rpath.
+
+Sun Feb 18 15:05:17 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.host: Check for 'do not mix' from native linker before
+       trying to use -rpath.
+
+Thu Feb 15 13:58:06 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Remove explicit substitution of CFLAGS; autoconf
+       does it anyhow.
+       * configure: Rebuild.
+       * Makefile.in (LDFLAGS): Set to @LDFLAGS@.
+
+       * configure.in: Call AC_PROG_CC before configure.host.
+       * configure: Rebuild.
+       * configure.host: Remove go32 host, since it should no longer be
+       necessary.  Don't set CC for romp host.
+
+       * scripttempl/elf.sc: Don't skip a page in virtual memory space if
+       the text segment ends exactly on a page boundary.
+
+       * configure.in: Substitute RPATH_ENVVAR.
+       * configure: Rebuild.
+       * configure.host: Set RPATH_ENVVAR.
+       * Makefile.in (RPATH_ENVVAR): New variable.
+       (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
+
+Wed Feb 14 18:49:01 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * configure.in: Redo emulation handling so that each emulation
+       searches the correct tool directory, based on the target alias.
+       For example, "configure --enable-targets=m68k-coff i386-linux"
+       will search /usr/local/i386-linux/lib for linux and
+       /usr/local/m68k-coff/lib for m68k-coff.
+       * configure: Rebuild.
+       * configure.tgt: Add special tdir settings for Linux.
+       * Makefile.in: Add @TDIRS@.  Pass "$(tdir_EMUL)" to ${GENSCRIPTS}
+       for each eEMUL.c target.
+       * genscripts.sh: Accept specific alias as 9th argument, and use it
+       in LIB_PATH.
+
+Wed Feb 14 16:38:36 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
+
+       * ldlang.c (lang_set_startof): Don't do anything for a
+       relocateable link.
+
+       * ldgram.y (mri_script_file): Call mri_draw_tree.
+       * mri.c (mri_draw_tree): Make globally visible.  Don't bother to
+       create memory regions.
+       (mri_load): Don't call mri_draw_tree.
+       * mri.h (mri_draw_tree): Declare.
+
+       * configure.tgt (m68*-*-psos): New target.
+       * emulparams/m68kpsos.sh: New file.
+       * scripttempl/psos.sc: New file.
+       * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o.
+       (em68kpsos.c): New target.
+
+Wed Feb 14 11:09:25 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.tgt (*-*-ieee*): New target; use vanilla.
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip
+       `:foo' from ${ARCH}.
+
+Tue Feb 13 15:58:58 1996  Bryan Ford  <baford@snake.cs.utah.edu>
+
+       * scripttempl/i386msdos.sc: Don't pad the .text section.  Put
+       .rodata in .data.
+
+Tue Feb 13 14:04:19 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if
+       it looks like we might be linking in two different versions of the
+       same shared library.  Based on a patch from H J Lu <hjl@zoom.com>.
+
+Thu Feb  8 19:25:54 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (lang_size_sections): Increment the section size when a
+       padding statement is encountered.
+
+Wed Feb  7 14:01:33 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Look for --enable-shared.  Change the value of
+       BFDLIB when linking against a shared library on SunOS.
+       * configure: Rebuild.
+       * configure.host: If using a shared BFD library, try to pass a
+       reasonable -rpath option when linking.
+       * Makefile.in (BFDLIB): Set to @BFDLIB@.
+
+Tue Feb  6 12:29:14 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'.
+       * emultempl/generic.em: Strip `:foo' from ${ARCH}.
+
+Mon Feb  5 16:25:30 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       Support for building bfd and opcodes as shared libraries, based on
+       patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
+       * configure.in (HLDFLAGS): New substitution.
+       * configure: Rebuild.
+       * configure.host: Set HLDFLAGS on SunOS.
+       * Makefile.in (HLDFLAGS): New variable.
+       (BFDDEP): New variable.
+       (BFDLIB): Change to -L../bfd -lbfd.
+       ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB).  Use
+       $(HLDFLAGS) in link.
+       (check): Set LD_LIBRARY_PATH in the environment.
+
+Fri Feb  2 19:26:25 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
+
+       * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss
+       in the read-only section, not read/write unless we are making a
+       shared library.
+       (.debug*): Add dwarf debug sections.
+       (.rela.{sdata*,sbss*}): Add sections.
+
+Fri Feb  2 16:50:21 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Regenerate.
+
+Thu Feb  1 10:50:46 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000,
+       for SVR4 compatibility.
+
+       * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE.
+
+Wed Jan 31 17:30:19 1996  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New.
+       * emultempl/pe.em (definfo init): Make the default stack reserve
+       of a PPC larger.
+       
+Wed Jan 31 14:34:23 1996  Richard Henderson  <rth@tamu.edu>
+
+       * configure.tgt (m68*-apple-aux*): New target.
+       * emulparams/m68kaux.sh: New file.
+       * scripttempl/m68kaux.sc: New file.
+       * Makefile.in (ALL_EMULATIONS): Add em68kaux.o.
+       (em68kaux.c): New target.
+
+Tue Jan 30 13:18:56 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore
+       -bnoentry, since the right thing tends to happen anyhow.
+
+Mon Jan 29 12:29:26 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.texinfo, ld.1: Document -export-dynamic.
+
+Fri Jan 26 11:11:55 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * emultempl/sunos.em: Check for native compile by comparing
+       ${target} and ${host}.
+
+Thu Jan 25 16:46:58 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed
+       TEXT_START_ADDR to allow use on IDT and PMON systems.
+
+Wed Jan 24 20:59:40 1996  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
+       correct spelling.
+
+Wed Jan 24 16:59:19 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * configure.tgt (sparc64-*-solaris2*): New configuration.
+       (sparc64-*-aout*): Renamed from sparc64*.
+
+Mon Jan 22 13:01:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@.
+       * genscripts.sh: Set host, target and target_alias variables.
+       Check for native compile by comparing ${target} and ${host}.
+       * emultempl/elf32.em: Likewise.
+       * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}.
+
+Mon Jan 22 11:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * scripttempl/elfppc.sc: Refine eabi support to better support
+       .sdata, .sdata2, .sbss, etc. sections.
+
+Tue Jan 16 15:16:58 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldgram.y (%union): Add phdr field.
+       (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at.
+       (phdr_qualifiers): New nonterminal.  Add support for FLAGS.
+       (opt_hdrs, hdr): Remove.
+       (phdr_val): New nonterminal.
+       * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr
+       and phdrs parameters.  Add flags parameter.
+       (lang_record_phdrs): Update for changes to lang_phdr.  Pass flags
+       to bfd_record_phdr.
+       * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and
+       phdrs fields.  Add flags field.
+       (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove.
+       (lang_new_phdr): Update declaration.
+       * ld.texinfo: Document FLAGS.
+
+Mon Jan 15 15:07:19 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):
+       Don't make a shared library because of an undefined reference to
+       __GLOBAL_OFFSET_TABLE_.
+
+       Add some Irix 5 support, mostly from Kazumoto Kojima
+        <kkojima@info.kanagawa-u.ac.jp>:
+       * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips.
+       (SHLIB_TEXT_START_ADDR): Define.
+       (OTHER_GOT_SYMBOLS): Define.
+       (OTHER_READWRITE_SECTIONS): Remove initialization of _gp.
+       (EXECUTABLE_SYMBOLS): Don't define.
+       (DYNAMIC_LINK): Don't define.
+       * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh.
+       * scripttempl/elfmips.sc: New file.
+       * configure.host (mips*-dec-bsd*): Change mips to mips*.
+       (mips*-sgi-irix4*): Likewise.
+       (mips*-sgi-irix5*): New entry.
+       * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than
+       elf.sc.
+       (eelf32lmip.c): Likewise.
+
+Sat Jan 13 09:41:43 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * scripttempl/elfppc.sc: Remove support for .rel.* sections.  Add
+       .rela.got.neg section.
+
+Fri Jan 12 14:56:19 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/sh.sc: Only build constructors when CONSTRUCTING.
+
+       * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if
+       ANSI_PROTOTYPES is defined.  Remove special handling of
+       WINDOWS_NT.  Various indendation fixes.
+       (vfinfo): Change fmt parameter to const char *.
+       (info_msg): Write <stdarg.h> version.
+       (einfo, minfo, finfo): Likewise.
+       (info_assert): Change file parameter to const char *.
+       * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is
+       defined, use a real prototype.
+       (info_assert): Change first parameter to be const char *.
+
+Fri Jan 12 13:29:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc.  Add
+       in old support that 2.7.2 needs, but the current compiler does
+       not.
+
+       * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the
+       correct Linker script template.
+
+       * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000,
+       not 0x400000.
+       (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete.
+
+Tue Jan  9 15:53:02 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/alpha.sc: Put .rconst right after .rdata.
+
 Fri Jan  5 14:07:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
 
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation):
This page took 0.026919 seconds and 4 git commands to generate.