* Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
[binutils-gdb.git] / ld / ChangeLog
index 7404098bb900801ea6cc6da041e397659eb8af6d..1d96c89019a3d40fefc4d0ce64b21c43ade63266 100644 (file)
@@ -1,5 +1,641 @@
+Fri Nov 17 10:37:27 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
+       $(host_canonical) and $(target_canonical).
+       (CXX_FOR_TARGET): Likewise.
+
+Thu Nov 16 11:23:42 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * scripttempl/pe.sc (.endjunk): Move definition of `end' to here
+       so the malloc heap begins at a sane place.
+
+Thu Nov 16 03:09:32 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       Version 2.6 released.
+       * ldver.c (ldversion): Update to 2.6.
+
+       * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not
+       $(GENERATED_*FILES), since they need to be retained by distclean.
+       (maintainer-clean, realclean): Delete them here.
+
+Tue Nov 14 17:08:06 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the
+       base file with FOPEN_WB, not "w".
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
+       environment variable LD_RUN_PATH if neither -rpath nor -rpath-link
+       were used.
+       (gld${EMULATION_NAME}_before_allocation): Use the environment
+       variable LD_RUN_PATH if -rpath was not used.
+       * ld.texinfo, ld.1: Document LD_RUN_PATH.
+
+Thu Nov  9 13:09:29 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize
+       -bl and -bloadmap options.
+
+       * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
+       report a better error.
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add
+       new local variable special_sections, and pass it to
+       size_dynamic_sections.  Look through the results, and move the
+       sections around in the mapping so that they are defined correctly.
+
+Wed Nov  8 11:40:59 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldemul.c (ldemul_default_target): Cast getenv return value.
+
+Tue Nov  7 11:15:36 1995  Kim Knuttila  <krk@cygnus.com>
+
+       * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable
+       Executable support.
+       * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable
+       support.
+
+       * configure.tgt (targ_extra_emuls): Added powerpcle-pe target.
+       * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target.
+
+       * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro
+       (gld_$_before_allocation): added hooks for toc construction based
+       on the above macro.
+
+Tue Nov  7 11:47:23 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.texinfo: The linker does not use _main as an entry point.
+
+Tue Nov  7 11:46:11 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
+
+       * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo
+       0x2000 not 0x200.
+
+Mon Nov  6 10:59:21 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Add test for whether free must be declared.
+       * sysdep.h: Declare free if necessary.  Include "ansidecl.h".
+       * acconfig.h: Explain NEED_DECLARATION_FREE.
+       * configure, config.in: Rebuild.
+
+       * lexsup.c (parse_args): Take B:: out of shortopts.
+
+Sun Nov  5 03:08:28 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0
+       for now, as with m68k4kbsd, until shared library support gets
+       done.
+
+       * configure.host: For i386 BSD variants, crt0.o lives in
+       /usr/lib.  (True for NetBSD at least, unconfirmed for others.)
+
+Wed Nov  1 15:42:45 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>
+
+       * Makefile.in (ALL_EMULATIONS): Add edelta68.o.
+       (edelta68.c): New target.
+       * configure.tgt (m68*-motorola-sysv*): New target.
+       * emulparams/delta68.sh: New file.
+       * scripttempl/delta68.sc: New file.
+
+       * scripttempl/m88kbcs.sc: Handle .init and .fini.  Change section
+       addresses.
+
+Wed Nov  1 11:41:56 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldgram.y (mri_script_command): Accept ',' as well as '=' in
+       ALIGN and ALIGNMOD statements.
+
+       * emultempl/aix.em: Include ldgram.h.
+       (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on
+       AIX 4.1.
+       * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h.
+
+Tue Oct 31 18:22:24 1995  David Mosberger-Tang  <davidm@azstarnet.com>
+
+       * configure.host (alpha-*-linux*): New host.
+       * configure.tgt (alpha-*-linux*): New target.
+
+Tue Oct 31 12:36:52 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em (export_files): Remove.
+       (import_files): Make static.
+       (struct export_symbol_list): Define.
+       (export_symbols): New static variable.
+       (gld${EMULATION_NAME}_parse_args): Handle an initial -b option
+       correctly.  Call read_file for an export file.
+       (gld${EMULATION_NAME}_before_allocation): Call
+       bfd_xcoff_export_symbol for each export symbol, rather than
+       calling read_file for each export file.
+       (gld${EMULATION_NAME}_read_file): For an export file, make the
+       exported symbols undefined, and store them on the export_symbols
+       list.
+
+Sat Oct 28 00:10:03 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
+       Don't hang if last option is unrecognised.
+       (gld_${EMULATION_NAME}_set_symbols): Insert created
+       symbols into ABS output section.
+
+Fri Oct 27 18:03:17 1995  Niklas Hallqvist  <niklas@appli.se>
+
+       *  Makefile.in (ALL_EMULATIONS): Added support for the NetBSD
+       m68k4k arch.
+       (em68k4knbsd.c): New rule.
+
+       * configure.tgt: Added support for the NetBSD m68k4k arch.
+
+       * genscripts.sh, ldint.texinfo,
+       emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960,
+       gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s,
+       hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32,
+       i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx,
+       m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd,
+       pc532machaout,rce,riscix,sa29200,sh,shl,sparclynx,sparcnbsd,
+       st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed
+       PAGE_SIZE to TARGET_PAGE_SIZE. 
+
+       * emulparams/m68knbsd.h: Ditto.
+       (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize.
+       (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time
+       being.
+
+       * emulparams/m68k4knbsd.sh: New file.
+
+       * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
+       
+Fri Oct 27 17:59:09 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em: Include ldctor.h.
+       (gld${EMULATION_NAME}_after_open): New static function.
+       (gld${EMULATION_NAME}_before_allocation): Call find_relocs.
+       (gld${EMULATION_NAME}_find_relocs): New static function.
+       (gld${EMULATION_NAME}_find_exp_assignment): New static function.
+       (ld_${EMULATION_NAME}_emulation): Use new after_open function.
+       * scripttempl/aix.sc: Use CONSTRUCTORS in .data.
+       * ldctor.c (struct set_info): Move definition into ldctor.h.
+       (struct set_element): Likewise.
+       (sets): Make non-static.
+       (ldctor_add_set_entry): Add name parameter.  Save it in the new
+       set element.
+       (ldctor_build_sets): Avoid being called twice.  Pass set element
+       name to lang_add_reloc.
+       * ldctor.h (struct set_info): Move definition here from ldctor.c.
+       (struct set_element): Likewise.  Add new field name.
+       (sets): Declare.
+       (ldctor_add_set_entry): Declare new name parameter.
+       * ldwrite.c (build_link_order): Don't insist that either name or
+       section be NULL in a lang_reloc_statement.
+       * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for
+       new name parameter.
+       (constructor_callback): Pass name to ldctor_add_new_set_entry for
+       new name parameter.
+       
+       * ldmisc.c (demangle): Fix indentation.  Remove a leading period.
+
+Thu Oct 26 22:22:49 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-config.in: Add PowerMac target support, generate config.h.
+       * mac-ld.r: New file, Mac resources.
+       * mpw-make.sed: New file, edits Makefile.in into MPW syntax.
+       * mpw-make.in: Remove.
+       * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script.
+
+Thu Oct 26 14:11:26 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat
+       -static as a synonym for -bnso.
+
+       * scripttempl/aix.sc: Move special symbols inside sections.
+       Always start .data at 0.
+
+Wed Oct 25 11:52:12 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * Makefile.in (diststuff):  Also make info.
+       (maintainer-clean realclean):  Also delete *.info*.
+
+Wed Oct 25 11:27:25 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em: Add support for various AIX linker options,
+       for AIX import and export files, and for AIX shared objects.
+       * scripttempl/aix.sc: Add .pad.  Put .ds just before the TOC.
+
+       * ldmain.c (main): Initialize new field link_info.static_link.
+
+       * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls.
+       (constructor_callback): Likewise.
+       * ldmisc.c (vfinfo): Likewise.
+       * ldwrite.c (build_link_order): Likewise.
+
+       * ld.texinfo: The MRI ALIGN directive is supported.
+
+Mon Oct 23 11:46:43 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
+
+       * emulparams/elf32vr4300.sh: Deleted.
+       * emulparams/elf32vr4300el.sh: Deleted.
+       * emulparams/elf32b4300.sh: Added.
+       * emulparams/elf32l4300.sh: Added.
+       * configure.tgt, Makefile.in: Updated the build to use the
+       new 8.3 unique names.
+
+Thu Oct 19 17:41:46 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (entry_symbol): Make non-static.
+       * ldlang.h (entry_symbol): Declare.
+
+       * ldlex.l: Treat PROVIDE as a keyword in expression state.
+
+Wed Oct 18 17:34:06 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * scripttempl/pe.sc (.bss): Move to be after .text
+
+Tue Oct 17 12:22:05 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):
+       Search trinary.cond rather than searching trinary.lhs twice.  From
+       linli@ihp.PHys.ethz.CH.
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move
+       directory searching code into gld${EMULATION_NAME}_search_dir.
+       (gld${EMULATION_NAME}_search_dir): New static function, extracted
+       from gld${EMULATION_NAME}_find_so.
+       (global_needed, global_found): New static variables.
+       (gld${EMULATION_NAME}_after_open): New static function.
+       (gld${EMULATION_NAME}_search_needed): New static function.
+       (gld${EMULATION_NAME}_try_needed): New static function.
+       (gld${EMULATION_NAME}_check_needed): New static function.
+       (ld_${EMULATION_NAME}_emulation): Use new after_open function.
+       * ld.texinfo, ld.1: Mention -rpath-link on SunOS.
+
+       * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.
+       (eelf32lppc.c): Likewise.
+       * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32.
+       (GENERATE_SHLIB_SCRIPT): Define as yes.
+
+Mon Oct 16 19:11:13 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named
+       bfd_link_needed-list; make appropriate changes.
+
+       * configure.tgt (powerpc-*-aix*): New target; use aixppc.
+       (rs6000-*-aix*): New target; use aixrs6.
+       * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
+       * emultempl/aix.em: New file.
+       * scripttempl/aix.sc: New file.
+       * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
+       (eaixppc.c, eaixrs6.c): New targets.
+
+Fri Oct 13 14:00:37 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * scripttemp/pe.sc (.reloc): Move to the end.
+
+Tue Oct 10 17:53:22 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (lang_finish): Don't try to use an entry_symbol from a
+       section which was not linked into the final output.
+
+Tue Oct 10 10:17:22 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
+       fatal typos.
+
+Tue Oct 10 01:01:51 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.h (args_type): Add rpath_link field.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for
+       required dependencies in rpath_link path.  Only search
+       LD_LIBRARY_PATH when configured native.
+       * lexsup.c (parse_args): Recognize -rpath-link.
+       * ld.1, ld.texinfo: Document -rpath-link.
+
+Sat Oct  7 17:07:17 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
+       bother searching for needed libraries unless doing a final link.
+
+Fri Oct  6 16:26:16 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * ld/ld.1: Fix formatting bugs.
+
+Wed Oct  4 17:37:46 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldexp.c (exp_get_abs_int): Return bfd_vma, not int.
+       * ldexp.h (exp_get_abs_int): Update declaration.
+       * ldlang.c (print_output_section_statement): Use fprintf_vma to
+       print return value of exp_get_abs_int.
+
+Mon Oct  2 13:56:09 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/elf32.em (global_stat): New file static variable.
+       (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure
+       that the file has not already been included under another name.
+       (gld${EMULATION_NAME}_stat_needed): New static function.
+
+Fri Sep 29 12:00:18 1995  Doug Evans  <dje@deneb.cygnus.com>
+
+       * scripttempl/armcoff.sc: Start .text at 0x8000.
+       Start .data at 0x40000.
+
+Fri Sep 29 11:09:46 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If
+       command_line.rpath is set, use it, rather than the -L options, to
+       build the rules section.
+       * ld.texinfo: Document this use of -rpath.
+
+       * lexsup.c (parse_args): Don't set link_info.shared for -assert
+       pure-text.  Pass true, not 1, to lang_add_entry.
+       * emultempl/sunos.em (find_assign): New static variable.
+       (found_assign): New static variable.
+       (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn.
+       If not a relocateable link, and no start symbol was specified on
+       the command line, and there are any undefined symbols, set
+       link_info.shared.  If link_info.shared is set, set the address of
+       the .text section to 0x20.
+       (gld${EMULATION_NAME}_find_assignment): Rename from
+       gld${EMULATION_NAME}_find_statement_assignment.  If find_assign is
+       set, then just set found_assign based on whether an assignment is
+       found to find_assign.
+       (gld${EMULATION_NAME}_get_script): Don't use a special script when
+       producing a shared library.
+       * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove.
+       * scripttempl/aout.sc: Remove CREATE_SHLIB tests.
+       * ldlang.c (entry_from_cmdline): New global variable.
+       (lang_add_entry): Change cmdline parameter from int to boolean.
+       Use global entry_from_cmdline rather than function static
+       from_cmdline.
+       * ldlang.h (entry_from_cmdline): Declare.
+       (lang_add_entry): Change declaration of second parameter from int
+       to boolean.
+       * ldgram.y: Pass false, not 0, to lang_add_entry.
+
+Thu Sep 28 12:34:13 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.h (parsing_defsym): Declare.
+       * ldlex.h (lex_string): Declare.
+       * ldlex.l (lex_string): Define.
+       * lexsup.c (parsing_defsym): Define.
+       (parse_args): In OPTION_DEFSYM case, set lex_string before calling
+       lex_redirect, and clear it after calling yyparse.  Set
+       parsing_defsym around call to yyparse.
+       * ldmain.c (main): Set lex_string before calling lex_redirect, and
+       clear it after calling yyparse.
+       * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built
+       in linker scripts correctly.
+
+       * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other
+       COFF targets, allowing for the leading underscore used on SPARC
+       COFF.
+
+       * lexsup.c (parse_args): Handle -assert.
+       * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define.
+       * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the
+       shared library script when appropriate.
+       * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text
+       section at SIZEOF_HEADERS.
+
+Thu Sep 28 01:40:37 1995  Doug Evans  <dje@deneb.cygnus.com>
+
+       * Makefile.in (earmcoff.c): Build.
+       * configure.tgt (arm-*-coff): New target
+       * emulparms/armcoff.sh: New file.
+       * scripttempl/armcoff.sc: New file.
+
+Tue Sep 26 10:59:32 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/i386coff.sc: Remove .data2; no longer needed.
+
+Fri Sep 22 18:09:02 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldfile.c (ldfile_set_output_arch): Make arch const.
+
+Thu Sep 21 17:55:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * scripttempl/elfppc.sc: Correctly locate __bss_start at the
+       beginning of the .bss area, not at the end of data.  Add
+       __sbss_{start,end} symbols.
+
+Wed Sep 20 12:29:36 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name).
+       (CXX_FOR_TARGET, install): Likewise.
+
+Mon Sep 18 14:53:22 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:
+       * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff.
+       (CXX_FOR_TARGET): Likewise.
+       (install): Likewise.
+       (GENERATED_HFILES): Remove config.h.
+       (.dep): Depend upon config.h.
+
+Mon Sep 18 14:39:38 1995  Arne H. Juul  <arnej@pvv.unit.no>
+
+       * configure.tgt (mips*-dec-netbsd*): New target.
+
+Fri Sep 15 20:01:52 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * configure.host (m88*-*-dgux*): Fix another shell syntax error.
+
+Fri Sep 15 23:28:05 1995  Andrew Cagney  <cagney@highland.com.au>
+
+       * configure.host (i[345]86-*-bsd*): Fix shell syntax error.
+
+Thu Sep 12 12:50:49 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * scripttemp/pe.sc:  Allow both spellings of .ctors/.dtors.
+       Start .text section on the right boundary. Always align
+       stabs.
+
+Tue Sep 12 12:24:17 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New target.
+
+       * ldmain.c (struct warning_callback_info): Define.
+       (warning_callback): Add new parameter symbol.  Call
+       warning_find_reloc to try to find the section and VMA.
+       (warning_find_reloc): New static function.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
+       Pass NULL as symbol parameter to warning callback.
+
+       * ld.texinfo: Clarify -L option.
+
+       * ldlang.c (lang_one_common): Add cast to avoid warning.
+       (topower): Likewise.  Also, reindent.
+       * ldwrite.c (clone_section): Change i to unsigned int.
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add
+       cast to avoid warning.
+
+Fri Sep  8 16:32:43 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (config.status): Depend upon configure.tgt.
+
+       * ldemul.h (ldemul_set_symbols): Declare.
+       (ldemul_parse_args): Declare.
+       * ldemul.c (ldemul_parse_args): Fix indentation.
+
+       * configure.in: Call AC_HEADER_DIRENT.
+       * configure, config.in: Rebuild.
+       * emultempl/sunos.em: Use autoconf recommend mechanism to define
+       DIR and struct dirent.
+
+       * configure.tgt (mips*-*-bsd*): New case.
+
+       * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)
+       New case.
+       * configure.tgt (i[345]86-*-ptx*): New case.
+
+Thu Sep  7 10:48:26 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config.in: Rename from config.h.in.
+       * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
+       Check for config.h:config.in when creating stamp-h.
+       * configure: Rebuild.
+       * Makefile.in (stamp-h): Depend upon config.in rather than
+       config.h.in.  Set CONFIG_HEADERS to config.h:config.in when
+       calling config.status.
+
+       * Makefile.in (distclean): Remove config.h and stamp-h.
+
+       * configure.host (sparc-*-sunos64*): Remove.
+       * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT.
+
+       * ldexp.c (exp_fold_tree): Don't warn about moving the location
+       counter backward in the absolute section.
+
+Wed Sep  6 14:42:11 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Rewrite to use autoconf.
+       * configure.host: New file.
+       * configure.tgt: New file.
+       * aclocal.m4: New file.
+       * configure: New file, built by autoconf.
+       * acconfig.h: New file.
+       * config.h.in: New file, built by autoheader.
+       * sysdep.h: New file.
+       * ld.h: Incorporate old contents of config.h.
+       * config.h: Remove.
+       * Makefile.in: Various changes for new configure script.  Also:
+       (CC_FOR_BUILD): Remove.
+       (ldmain.o): Don't bother to ensure that EMUL is non-empty.
+       (dep.sed): Use @SRCDIR@, not @srcdir@.
+       * dep-in.sed: Use @SRCDIR@, not @srcdir@.
+       * genscripts.sh: Create ldscripts if it does not exist.
+       * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h".
+       * mpw-esh.c, emultemp/*.em: Likewise.
+       * ldmain.c: Likewise.  Include <ctype.h>.  Don't try to set
+       HAVE_SBRK here.
+       * config/*.mt, config/*.mh: Remove.
+
+Tue Sep  5 14:55:24 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and
+       ns32k-pc532-lites* like ns32k-pc532-netbsd*.  From Ian Dall.
+
+Fri Sep  1 22:29:52 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors.
+
+Fri Sep  1 13:13:29 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldmain.c (warning_callback): Add abfd, section, and address
+       parameters.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
+       Change call to warning accordingly.
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not
+       relocateable and not shared, put .gnu.warning.SYMBOL sections into
+       the .text section.
+
+Fri Sep  1 08:35:16 1995  James G. Smith  <jsmith@beauty.cygnus.com>
+
+       * configure.in: Added mips*vr4300-idt-elf* and
+        mips*vr4300el-idt-elf* targets.
+       * Makefile.in: Added eelf32vr4300* targets.
+       * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added.
+       * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added.
+
+Fri Sep  1 10:51:45 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/a29k.sc: Fix to be reasonable.  From Brendan Kehoe
+       <brendan@cygnus.com>.
+
+Thu Aug 31 16:37:07 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * ldemul.c (ldemul_parse_args): New.
+       * ldemul.h (ld_emulation_xfer_struct): Add parse_args.
+       * lexsup.c (all pe stuff): Moved into pe.em
+       (parse_args): Call emulation arg parser.
+       * emultempl/pe.em (parse_args): handle PE specfic args.
+
+Thu Aug 31 17:01:37 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (lang_memory_region_lookup): Don't use the first region
+       as the default region.  Create a new region instead.
+
+Tue Aug 29 14:21:41 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * ldemul.c (ldemul_set_symbols): New function.
+       * ldemul.h (ld_emulation_xfer_struct): Add set_symbols.
+       * ldmain.c (main): Add call to ldemul_set_symbols.
+       * lexsup.c (set_pe_value): New args.
+       (set_pe_name): New.
+       (parse_args): Cope with new set_pe_value args.
+       * emultempl/pe.em (set_symbols): New function.
+       (ld_emulation_xfer_struct): Add set_symbols.
+       * scripttempl/pe.sc: Use new symbols.
+
+Thu Aug 24 18:12:18 1995  Ian Lance Taylor  (ian@cygnus.com)
+
+       * lexsup.c (parse_args): Don't call set_default_dirlist for -O.
+       For -Y, ignore a leading `P,', and only call set_default_dirlist
+       after processing all the other arguments.
+
+Tue Aug 22 07:36:58 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * scripttempl/pe.sc: Keep .edata, don't base stabs at 0.
+       * emulparams/armpe.sh: Run PE script.
+
+Mon Aug 21 18:30:42 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * ldmain.c (main): Remove PE stuff.
+       * lexsup.c (options): Load more PE options.
+       (set_pe_value): New function.
+
+Thu Aug 17 13:35:49 1995  steve chamberlain  <sac@slash.cygnus.com>
+       
+
+       * emultempl/{armpe.sc, i386pe.sc}: Deleted.
+       * emultempl/pe.sc: New file performs generic PE support and sorts
+       archive members.
+       * emulparams/{armpe.sh,i386pe.sh}: Use new file.
+       * scripttempl/{armpe.sc, i386pe.sc}: Deleted
+       * scripttempl/pe.sc: New.
+       * Makefile.in: Use new files.
+
+Thu Aug 17 14:46:34 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * scripttempl/h8500s.sc (.rdata): All data must go in data segment.
+       (.strings,.ctors,.dtors): Likewise.
+
+Wed Aug 16 11:38:59 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * scripttempl/armpe.sc: Always start code at 0x401000, even
+       if -r.
+       * ldwrite.c (strdup): New extern declaration.
+       * ldgram.y (atype): New rule to clarify type parsing. 
+       * ldlang.c (init_os): Remove commented out code.
+       (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits
+       unless told not to by the link script.
+
 Wed Aug 16 11:45:11 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * ldlang.c (lang_set_startof): New static function.
+       (lang_process): Call it.
+
+       * ldgram.y: Tweak casesymlist to avoid bison errors.
+
        * lexsup.c (parse_args): Accept -h as a synonym for --soname, for
        Solaris compatibility.