* configure.in: Change i[34]86 to i[345]86.
[binutils-gdb.git] / ld / ChangeLog
index a286a00df0da8b7af46571072644f98997205d2a..f7df81645e0505959951e41a0ee47f5fe02a7e4e 100644 (file)
@@ -1,3 +1,185 @@
+Wed Aug 24 12:52:30 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * configure.in: Change i[34]86 to i[345]86.
+
+Sun Aug 21 16:17:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0.
+
+Thu Aug 18 15:37:45 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       Make the ELF linker handle orphaned sections reasonably.  Also,
+       define __start_SECNAME and __stop_SECNAME around sections whose
+       names can be represented in C, for the benefit of symbol sets in
+       glibc.
+       * ldemul.h (ldemul_place_orphan): Declare.
+       (ld_emulation_xfer_type): Add place_orphan field.
+       * ldemul.c (ldemul_place_orphan): New function.
+       * ldlang.h (wild_doit): Declare.
+       * ldlang.c (wild_doit): Make nonstatic.
+       (lang_place_orphans): Call ldemul_place_orphan.
+       * emultempl/elf32.em: Include <ctype.h> and "ldgram.h".
+       (hold_section, hold_use, hold_text, hold_data, hold_bss): New
+       static variables.
+       (gld${EMULATION_NAME}_place_orphan): New static function.
+       (gld${EMULATION_NAME}_place_section): New static function.
+       (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field.
+
+Tue Aug 16 00:17:20 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * scripttempl/aout.sc: Add .linux-dynamic after .data.
+
+Tue Aug 16 00:08:22 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * lexsup.c (parse_args) Treat --dll-verbose as --version, for
+       Linux compatibility.  From hjl@nynexst.com (H.J. Lu).
+
+Mon Aug 15 17:17:33 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldexp.h (exp_get_abs_int): Declare.
+
+Sat Aug  6 01:45:39 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * ldlang.c (lang_do_assignments):  Handle complex AT's better.
+       * ldexp.c (exp_get_abs_int):  New function.
+
+Fri Aug  5 20:55:55 1994  Jason Molenda (crash@phydeaux.cygnus.com)
+
+       * configure.in: add i960-nindy-coff support.
+
+Thu Aug  4 14:45:50 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ldlex.l (yy_create_string_buffer): Handle change to internal
+       interface in flex 2.4.7.
+
+Tue Aug  2 11:52:06 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement):
+       New function; add 0x20 to any use of -Ttext.
+       (gld${EMULATION_NAME}_create_output_section_statements): New
+       function.
+       (ld_${EMULATION_NAME}_emulation): Use the new function
+       gld${EMULATION_NAME}_create_output_section_statements.
+
+Mon Aug  1 15:50:44 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * scripttempl/mips.sc: Redo script to set . outside of sections
+       and not bother to explicitly specify section addresses.
+
+Tue Jul 26 11:02:35 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * scripttempl/elf.sc: Copy several more relocation sections into
+       the output.  Put .got.plt sections into .got.
+
+Fri Jul 22 12:15:36 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.
+
+       Add a new script operator, PROVIDE, to define a symbol only if it
+       is needed.
+       * ldgram.y (PROVIDE): New token.
+       (assignment): Accept PROVIDE.
+       * ldlex.l (PROVIDE): New token.
+       * ldexp.h (node_type): Add etree_provide to node_class enum.
+       (exp_provide): Declare.
+       * ldexp.c (exp_fold_tree): Handle etree_provide.
+       (exp_provide): New function.
+       (exp_print_tree): Handle etree_provide.
+       * ld.texinfo: Document PROVIDE.
+
+       * ldlang.c (lang_common): Pass desired alignment to
+        lang_one_common as power of two.
+       (lang_one_common): Get common symbol alignment from linker hash
+       table entry.  Treat desired alignment as a power of two.
+
+       * ldlang.c (wild_section): Attach all section with the given name,
+       not just the first one.  If there is no name, attach all sections
+       even if the SEC_IS_COMMON flag is set.
+
+Wed Jul 20 15:49:27 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * ld.h (args_type): Add field rpath.
+       * lexsup.c (S_ISDIR): Define if not already defined.
+       (parse_args): Add support for -rpath.  If -R is used to name a
+       directory, treat it as -rpath for Solaris compatibility.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
+       Pass command_line.rpath to bfd_elf32_size_dynamic_sections.
+       * ldmain.c (main): Initialize command_line.rpath to NULL.
+       * ld.texinfo: Document -rpath option.
+
+Sun Jul 10 00:33:24 1994  Ian Dall  (dall@hfrd.dsto.gov.au)
+
+       * emulparams/pc532machaout.sh: New file. Pc532 mach script
+       parameters. 
+
+       * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters.
+
+       * config/pc532mach.mt: New file. Pc532 mach target support.
+
+       * config/pc532mach.mh: New file. Pc532 mach host support.
+
+       * config/netbsd532.mt: New file. Netbsd 532 target support.
+
+       * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support.
+
+       * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c
+       dependency.
+
+Fri Jul  8 10:57:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use
+       bfd_abs_section_ptr, not &bfd_abs_section.
+
+       * lexsup.c (parse_args): Changed "retain-symbols-file" from
+       no_argument to required_argument.  From djm.
+
+Thu Jul  7 12:29:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * scripttempl/elf.sc: Explicitly mention .stab and .stabstr
+       sections to force a VMA of 0; needed for ELF backends which have
+       not been converted to the new linker style.
+
+Mon Jul  4 19:35:45 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * scripttempl/hppaelf.sc (__stack_zero): Don't define this name,
+       it was for the HPUX dynamic loader's use and it creates problems
+       with ELF GDB.
+
+Fri Jul  1 12:53:47 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * ldlang.c (lang_do_assignments): No longer static.  Delete decl.
+       * ldlang.h (lang_do_assignments): Put external decl here.
+       * emultempl/hppaelf.em: Minor cleanups throughout file.
+       (hppa_elf_create_output_section_statements): Rewrite.
+       (hppaelf_finish): Rewrite.
+
+Wed Jun 29 16:50:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.
+
+       * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic.  Do not
+       accept plain -B.
+       * ld.texinfo: -Bstatic is not ignored.
+
+Tue Jun 28 12:13:34 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * ldlex.l: Recognize \r the same as \n.
+
+Thu Jun 23 17:53:04 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       Preliminary support for generating shared libraries, from Eric
+       Youngdale <ericy@cais.cais.com>.
+       * genscripts.sh: If the emulation parameter file sets
+        GENERATE_SHLIB_SCRIPT, generate a .xs script file with
+       CREATE_SHLIB defined.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If
+       link_info.shared is set, use the .xs script file.
+       * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a
+       .interp section, and don't include TEXT_START_ADDR in the starting
+       address of the first section.
+       * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise.
+       * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define.
+
 Thu Jun 23 12:52:22 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
 
        * configure.in: Change --with-targets to --enable-targets.