* ld.texinfo (Options): Add a brief description of the types of
[binutils-gdb.git] / ld / ChangeLog
index 82b4f3e320584c9a92a67593250a80c72f639541..503ea728341e871b88a3e449f25cf7b9e94f753a 100644 (file)
@@ -1,9 +1,557 @@
+start-sanitize-sky
+Wed Jan 28 12:19:31 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure.tgt (dvp-*-*): Recognize.
+
+end-sanitize-sky
+Wed Jan 28 14:10:01 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.texinfo (Options): Add a brief description of the types of
+       information included in a link map.
+
+       * ld.texinfo (Options): Mention LDEMULATION in description of -m.
+       (Environment): Mention LDEMULATION.
+
+       * ld.texinfo (Options): Clarify --export-dynamic a bit.
+
+Thu Jan 22 16:07:23 1998  Richard Henderson  <rth@cygnus.com>
+
+       * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
+       pattern could match.
+
+Wed Jan 21 22:26:46 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
+       a relocateable link, set the image base to 0, and don't define the
+       various symbols.
+       * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
+       * scripttempl/pe.sc: Swap the .data and .bss sections so that
+       .data comes first.  If doing a relocateable link, use
+       RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
+       sections at 0, and don't define any symbols.
+
+       * ldlang.c (lang_memory_default): Correct parenthisization of
+       expression.
+
+Wed Jan 21 21:20:32 1998  Manfred Hollstein  <manfred@s-direktnet.de>
+
+       * emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
+       here; they are included already via sysdep.h.
+
+Tue Jan  6 13:40:02 1998  Richard Henderson  <rth@cygnus.com>
+
+       * scripttempl/i960.sc: Don't explicitly set .data and .bss start.
+
+Fri Jan  2 20:15:37 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * ldgram.y (attributes_opt): Pass region pointer to
+       lang_set_flags, not &region->flags.
+
+       * ldlang.c (lang_memory_default): New function to figure out a
+       default memory region for a section if it was not specified.
+       (lang_memory_region_lookup): Zero flags, not_flags field.
+       (lang_map{,_flags}): Print attribute flags in memory map.
+       (lang_size_sections): Call lang_memory_default to get default
+       memory region.
+       (lang_set_flags): Implement attribute flags for real.  Take new
+       argument to give the flags we are to skip for this region.
+
+       * ldlang.h (memory_region_struct): Add not_flags field, make both
+       flags fields flagword type.
+       (lang_output_section_state): Make flags field flagword type.
+       (lang_set_flags): Update prototype to match new calling sequence.
+       (lang_memory_region_default): Add prototype.
+
+start-sanitize-d30v
+       * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION):
+       Define whether or not the region gets default sections, and if so,
+       what sections.
+
+       * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get
+       default sections.
+
+Thu Jan  1 22:58:04 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * scripttempl/elfd30v.sc (.eh_frame): Link into the data section.
+
+end-sanitize-d30v
+Thu Jan  1 18:04:51 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * scripttempl/h8300h.sc: Fix typo.
+       * scripttempl/h8300s.sc: Likewise.
+
+Sun Dec 21 12:51:49 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldexp.c (fold_name): Don't crash if the symbol is defined in a
+       section with no output section, such as a shared library section.
+
+Wed Dec 17 12:14:11 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * lexsup.c (parse_args): Keep track of where we are in the option
+       parsing before calling ldemul_parse_args, so that we don't call it
+       multiple times on the same argument and confuse the getopt
+       internals.
+
+start-sanitize-d30v
+Thu Dec 11 09:00:15 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and
+       d30velf_o to d30v_o to work in DOS environments.
+       * Makefile.{am,in}: Ditto.
+
+       * emulparams/d30v_{o,e}: Rename from d30velf_{o,e}.
+       * emulparams/d30velf_{o,e}: Deleted.
+
+end-sanitize-d30v
+Wed Dec 10 17:40:08 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/armcoff.sc: Add glue sections (code taken from Arm
+       branch). 
+
+       * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff.
+
+       * emultempl/armcoff.em: New file, imported from Arm branch.
+
+start-sanitize-d30v
+Wed Dec 10 14:10:44 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * scripttempl/elfd30v.sc: Add .rel and .rela sections for all
+       defined sections.  Set up __{D,C}TOR_{LIST,END}__.  Add onchip and
+       external memory sections for rodata.  Delete .string, .rodata1,
+       and .data1 sections.
+
+end-sanitize-d30v
+Tue Dec  9 15:28:17 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * Makefile.am: Add Oct 23 changes to Makefile.in here.
+
+       * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o.
+
+start-sanitize-tic80
+       * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o.
+end-sanitize-tic80
+
+start-sanitize-d30v
+       * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o.
+       (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in
+       external memory.
+       (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in
+       onchip memory.
+
+       * emulparams/d30velf.sh (STACK_START_ADDR): Top of default
+       stack.
+       ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas.
+       ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and
+       .bss should go in.
+
+       * emulparams/d30velf_{e,o}.sh: New files to be explicit whether
+       .text, .data, etc go in external memory or onchip memory.
+
+       * configure.tgt (d30v-*-*ext*): New configuration to default
+       .text, .data, etc. in external memory.
+       (d30v-*-*onchip*): New configuration to default .text, .data,
+       etc. in onchip memory.
+       (d30v-*-*): Add d30velf_{e,o} emulations.
+
+       * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in
+       either the onchip text/data areas or the external memory area.
+       (MEMORY): Get sizes from d30velf.sh.
+       (.e{data,text,bss}): Put sections in the external memory region.
+       (.stext): Put section in the onchip text region.
+       (.s{data,bss}): Put sections in the onchip data region.
+       (__stack): Assign from ${STACK_START_ADDR}.
+       (.text): Put in ${TEXT_MEMORY} memory region.
+       (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory
+       region.
+       (.bss): Put in ${BSS_MEMORY} memory region.
+end-sanitize-d30v
+
+Tue Dec  2 10:14:47 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.tgt (targ_extra_emuls): Add support for Thumb target.
+
+Sat Nov 22 15:23:19 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlex.l: Don't define hex_mode.  Correct number regexp to not
+       accept hex digits without a leading $ or 0x.  Handle leading $
+       correctly.  Pass 0 rather than hex_mode to bfd_scan_vma.
+       * ldlex.h (hex_mode): Don't declare.
+
+start-sanitize-d30v
+Sun Nov 16 20:16:45 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start
+       of internal data area and external memory on chip.
+
+       * scripttempl/elfd30v.sc: Define a MEMORY region that describes
+       the 3 regions of memory on the chip.  Put .text/.init/.fini into
+       the text memory region, put other segments into the data memory
+       region.  Add more of the standard elf sections.  Default __stack
+       to be 0x20008000, which is 1 byte beyond end of the internal data
+       region.
+
+end-sanitize-d30v
+Thu Nov 13 13:45:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd
+       variant.
+
+Sun Nov  2 14:51:36 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
+
+       * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0.  Set
+       HOSTING_LIBS.
+
+Thu Oct 30 12:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.h (args_type): Add warn_mismatch field.
+       * ldmain.c (main): Initialize warn_mismatch field.
+       * lexsup.c (parse_args): Handle --no-warn-mismatch option.
+       * ldlang.c (ignore_bfd_error): New static function.
+       (lang_check): If warn_mismatch is false, don't warn about
+       mismatched input files.
+       * ld.texinfo, ld.1: Document new option.
+
+start-sanitize-tx49
+Wed Oct 29 17:50:26 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * configure.tgt: Add tx49 configury.
+
+end-sanitize-tx49
+Thu Oct 23 14:38:18 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack'
+       to avoid conflicts with C code which is defining a variable called
+       'stack'.
+
+Thu Oct 23 00:57:45 1997  Richard Henderson  <rth@dot.cygnus.com>
+
+       * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ...
+       (ALL_64_EMULATIONS): ... here.
+       (eelf64_sparc.c): Template should be elf32 not generic.
+       * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition.
+
+Thu Oct 23 00:44:20 1997  Richard Henderson  <rth@dot.cygnus.com>
+
+       * configure.tgt: Add sparc64-*-linux*.
+       * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.
+
+Wed Oct 22 11:29:25 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/pe.sc: Put .eh_frame in .rdata.
+
+Fri Oct 17 00:00:13 1997  Richard Henderson  <rth@cygnus.com>
+
+       * ldlang.c (lang_register_vers_node): Only check globals<=>locals,
+       since we need to be able to export different versions of the same
+       symbol.
+
+Wed Oct 15 14:52:36 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/pe.sc: Put .stab and .stabstr sections at end.
+
+Wed Oct  8 12:37:05 1997  Richard Henderson  <rth@cygnus.com>
+
+       * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*;
+       config.guess now recognizes alphaev5 etc.
+
+Fri Oct  3 14:23:02 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat
+       -s and -u as -static and -unix.
+
+Thu Oct  2 18:40:28 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (wild_doit): Rewrite flag handling for clarity.  If we
+       are not adding the first input section, and SEC_READONLY is clear
+       on the output section, then don't copy it from the input section.
+       If SEC_READONLY is not set on the input section, then clear it on
+       the output section.
+
+       * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than
+       elf32bmip.
+       (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip
+       to elf32bsmip.
+       (mips*-*-linux*): Likewise.
+       * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but
+       setting ENTRY to __start.
+       * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but
+       setting ENTRY to __start.
+       * scripttempl/elf.sc: Always set ENTRY to _start if it was not
+       already set.
+
+Wed Oct  1 16:41:00 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New
+       Variables. 
+
+       * scripttempl/v850.sc: Move read only areas out of zero and small
+       data sections and into their own sections.
+
+Wed Sep 24 16:59:15 1997  Joel Sherrill  <joel@oarcorp.com>
+
+        * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*.
+
+Wed Sep 24 11:33:14 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.texinfo (Section Options): Improve documentation of NOLOAD
+       directive.
+
+       * aclocal.m4: Rebuild with new libtool.
+       * configure: Rebuild.
+
+Mon Sep 22 17:24:06 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (wild_doit): Revert patch of September 3.
+
+Wed Sep 17 16:45:34 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.am, Makefile.in: Add rule for ev850.c
+       * configure.tgt (targ_extra_emuls): Add v850 target.
+
+start-sanitize-v850e
+Wed Sep 17 16:43:39 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry.
+       * scripttempl/v850.sc: Add call table data area
+
+end-sanitize-v850e
+start-sanitize-d30v
+Mon Sep 15 11:29:13 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+       Merge change from Martin Hunt:
+
+       * scripttempl/elfd30v.sc: Put .rodata in the .text section.
+
+end-sanitize-d30v
+Tue Sep  9 07:49:56 1997  Fred Fish  <fnf@ninemoons.com>
+
+       * ldlang.c (lang_memory_region_lookup): Remove extraneous
+       initialization of p.
+
+Thu Sep  4 09:03:33 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In
+       expression produced for -bpT and -bpD options, align to a 32 byte
+       boundary rather than an 8 byte boundary.
+       * scripttempl/aix.sc: Put .tocbss at start of .bss section.
+
+       * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid
+       function name conflict with AIX 4.2 unistd.h header file.
+
+Wed Sep  3 15:12:32 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a
+       noload_section.
+
+Fri Aug 29 00:32:31 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@.
+       * Makefile.in: Rebuild.
+
+Thu Aug 28 10:12:10 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.tgt (arc-*-elf*): Recognize.
+       * Makefile.am (ALL_EMULATIONS): Add earcelf.o.
+       * Makefile.in: Regenerate.
+       * emulparams/arcelf.sh: New file.
+
+Wed Aug 20 11:14:13 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlang.c (wildcardp): Don't let a backslash by itself cause a
+       pattern to be treated as a wildcard pattern.
+
+       * ldgram.y (atype): Accept parentheses with no type.
+
+       * ld.texinfo (Section Definition): Clarify use of whitespace.
+       (Section Placement): Likewise.
+
+start-sanitize-v850e
+Mon Aug 18 11:12:03 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.tgt (targ_extra_emuls): Add support for v850e target.
+
+Mon Aug 18 11:12:03 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.tgt (targ_extra_emuls): Add support for v850e target.
+end-sanitize-v850e
+
+Sat Aug  9 00:42:27 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (ld.info): Change dependency from
+       $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi.
+       (ld.dvi): Likewise.
+       (bfdsumm.texi): New target.
+       (CLEANFILES): Add bfdsumm.texi.
+       * Makefile.in: Rebuild.
+
+       * Makefile.am: New file, based on old Makefile.in.
+       * acinclude.m4: New file, from old aclocal.m4.
+       * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.  Remove
+       shared library handling; now handled by libtool.  Replace
+       AC_CONFIG_HEADER with AM_CONFIG_HEADER.  Call AC_PROG_YACC,
+       AC_PROG_LEX, and AC_DECL_YYTEXT.  Call AM_MAINTAINER_MODE,
+       AM_CYGWIN32, and AM_EXEEXT.  Don't call CY_CYGWIN32 or CY_EXEEXT.
+       * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
+       * acconfig.h: Mention PACKAGE and VERSION.
+       * stamp-h.in: New file.
+       * ldver.c (ld_program_version): Set ld_program_version from
+       VERSION.
+       * ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
+       * Makefile.in: Now built with automake.
+       * aclocal.m4: Now built with aclocal.
+       * configure, config.in: Rebuild.
+
+Mon Jul 28 19:04:50 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+        * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
+        win32 dependencies.
+        * configure: Regenerated with autoconf 2.12.
+        * Makefile.in: Add $(EXEEXT) to executable.
+
+Tue Jul 22 18:50:38 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
+
+       * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32".
+       (SEGMENT_SIZE): Set to 0x200.
+       * scripttempl/i386go32.sc: Rewrite.
+       * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
+
+start-sanitize-r5900
+Tue Jul 15 10:18:09 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.tgt: Default the r5900 to little endian.
+
+end-sanitize-r5900
+Mon Jul  7 12:39:42 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       From Manfred Hollstein <manfred@s-direktnet.de>:
+       * configure.host (i[3456]86-*-linux*libc1*): Renamed from
+       i[3456]86-*-linux*.
+       (i[3456]86-*-linux*): New host.
+
+Thu Jun 26 13:54:03 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/pe.sc: Put .rsrc after .reloc.  Put input .rsrc
+       sections in the output .rsrc section.
+
+Wed Jun 25 12:48:41 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * configure.host (m68*-*-linux*libc1*): Renamed from
+       `m68*-*-linux*'.
+       (m68*-*-linux*): New configuration for use with GNU libc 2.
+
+Mon Jun 16 19:18:21 1997  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * scripttempl/elfppc.sc: Correct .rela.sdata entries.
+
+       * scripttempl/elfppc.sc: Put the PLT between the small and large
+       BSS segments.
+       * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A
+       program base of 0x02000000 is recommended...' because otherwise
+       shared libraries are less efficient.  We use 0x01800000 because
+       otherwise it's impossible to branch to location 0, for instance if
+       you have an undefined weak symbol.
+
+Mon Jun 16 12:49:36 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
+
+       * ldlang.c (lang_place_undefineds): Add \n in einfo call.
+       (lang_size_sections): Likewise.
+       * ldlex.l: Likewise.
+       * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
+       * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open):
+       Likewise.
+       (check_sections): Likewise.
+       (gld${EMULATION_NAME}_after_allocation): Likewise.
+       * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation):
+       Likewise.
+       * mpw-eppcmac.c (gldppcmacos_read_file): Likewise.
+       * mpw-idtmips.c (gldmipsidt_after_open): Likewise.
+       (check_sections): Likewise.
+       (gldmipsidt_after_allocation): Likewise.
+
+       * ldemul.c (ldemul_choose_mode): Remove unused einfo argument.
+
+Fri Jun  6 23:47:42 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
+       the import list.
+
+Thu May 29 13:13:22 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't
+       crash if an output section has no BFD section.
+
+Fri May 23 15:23:25 1997  Fred Fish  <fnf@cygnus.com>
+
+       * lexsup.c (ld_options): Add entry for the new "task-link" option.
+       (parse_args): Handle the "task-link" option.
+       (OPTION_TASK_LINK): Add define.
+
+Wed May 21 17:44:15 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldmain.c (main): Correct check of fclose return value when
+       handling --force-exe-suffix.
+
+Thu May 15 11:35:29 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * ldlang.c (lang_check): Add test of the return value from the
+       call to bfd_merge_private_bfd_data().
+
+Mon May 12 23:22:58 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * scripttempl/elfmips.sc: Remove.
+       * scripttempl/elf.sc: Set ENTRY based on target.  Permit
+       TEXT_DYNAMIC to control .dynamic segment.  Permit
+       SHLIB_TEXT_START_ADDR to set start of shared object.  Support
+       INITIAL_READONLY_SECTIONS.  Put .stub in .text.  Only put
+       .gnu.linkonce.t* in .text when relocating.  Support
+       OTHER_TEXT_SECTIONS.  Support SHLIB_DATA_ADDR as well as
+       DATA_ADDR.  Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS.
+       * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf.
+       (DATA_ADDR): Don't set.
+       (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS.
+       (OTHER_TEXT_SECTIONS): Set.
+       (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS.
+       (MACHINE): Set to empty string.
+       * emulparams/elf32l4300.sh: Likewise.
+       * emulparams/elf32ebmip.sh: Likewise.
+       * emulparams/elf32elmip.sh: Likewise.
+       * emulparams/elf32bmip.sh: Likewise.  Also:
+       (TEXT_DYNAMIC): Set.
+       * emulparams/elf32lmips.sh: Likewise.
+       * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than
+       elfmips.sc.
+       (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.
+
+Mon May 12 11:11:06 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * scripttempl/elf.sc: Don't align the data segment on the next 8
+       byte boundary, instead let the linker use whatever the individual
+       sections require.
+
+Fri May  9 17:45:46 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support.
+
+Tue May  6 13:21:19 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       From Sean McNeil <sean@mcneil.com>:
+       * emultempl/pe.em (sort_by_file_name): Sort by archive name
+       first.
+       (sort_sections): Sort all sections, not just sections in the same
+       archive.
+
+Mon May  5 18:19:55 1997  Philip Blundell  <pjb27@cam.ac.uk>
+
+       * configure.tgt, configure.host: cope with '*-*-linux-gnuaout'
+       targets.
+
 start-sanitize-tic80
 Fri May  2 15:54:28 1997  Mike Meissner  <meissner@cygnus.com>
 
        * scripttempl/tic80coff.sc (.text): Add a leading underscore to
        __{D,C}TOR_{LIST,END}__ definations.  Rearrange the order of items
-       in the .text section.
+       in the .text section.  Move .const, .ctors, .dtors into separate
+       sections.
 
 end-sanitize-tic80
 Wed Apr 30 12:23:21 1997  Manfred Hollstein  <manfred@s-direktnet.de>
@@ -372,13 +920,11 @@ Fri Jan  3 14:04:40 1997  Ian Lance Taylor  <ian@cygnus.com>
        * ld.texinfo (Operators): Remove '@' from @smallexmple in comment
        to avoid confusing texi2roff.
 
-start-sanitize-v850
 Fri Jan  3 11:27:02 1997  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * scripttempl/v850.sc (.zdata): Add .zcommon section.
        (.tdata): Add .tcommon and .tcommon_byte sections.
 
-end-sanitize-v850
 Thu Jan  2 18:14:32 1997  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets.
@@ -398,17 +944,14 @@ Tue Dec 31 14:48:30 1996  Ian Lance Taylor  <ian@cygnus.com>
        size_dynamic_sections.
        * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f.
 
-start-sanitize-v850
 Mon Dec 30 13:55:57 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections.
 
-end-sanitize-v850
 Wed Dec 18 22:57:35 1996  Stan Shebs  <shebs@andros.cygnus.com>
 
        * mpw-make.sed: Use NewFolderRecursive for installation.
 
-start-sanitize-v850
 Fri Dec 13 14:08:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * scripttempl/v850.sc: Make sure __{e,g}p start relative to the
@@ -419,7 +962,6 @@ Fri Dec 13 14:08:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
        * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define
        appropriately.  Remove crud not used anymore.   
 
-end-sanitize-v850
 Fri Dec 13 10:19:57 1996  Jeffrey A Law  (law@cygnus.com)
 
        * Makefile.in (emn10200.c): Add dependencies.
@@ -454,11 +996,8 @@ Mon Dec  2 11:43:50 1996  Ian Lance Taylor  <ian@cygnus.com>
 Wed Nov 27 03:22:05 1996  Jason Merrill  <jason@yorick.cygnus.com>
 
        * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections.
-
        * scripttempl/elfd10v.sc: Likewise.
-start-sanitize-v850
        * scripttempl/v850.sc: Likewise.
-end-sanitize-v850
 
 Tue Nov 26 16:58:33 1996  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -492,13 +1031,11 @@ Fri Nov  1 10:01:27 1996  Ian Lance Taylor  <ian@cygnus.com>
        * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__
        symbols are correctly aligned.
 
-start-sanitize-v850
 Thu Oct 31 09:28:59 1996  Jeffrey A Law  (law@cygnus.com)
 
        * scriptempl/v850.sc (zdata): Handle reszdata, romzdata and
        romzbss too.
 
-end-sanitize-v850
 Tue Oct 29 12:33:05 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
 
        * emulparams/d10velf.sh: Changes needed for D10V-EVA board. 
@@ -512,7 +1049,6 @@ Mon Oct 28 15:37:00 1996  Doug Evans  <dje@canuck.cygnus.com>
 
        * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*.
 
-start-sanitize-v850
 Wed Oct 23 16:17:22 1996  Jeffrey A Law  (law@cygnus.com)
 
        * scriptempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata".
@@ -528,7 +1064,6 @@ Tue Oct 22 11:36:47 1996  Jeffrey A Law  (law@cygnus.com)
        * scriptempl/v850.sc: Move all "normal" sections into
        the external memory region (0x100000 - 0x200000).
 
-end-sanitize-v850
 Mon Oct 21 17:16:59 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
 
        * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to
@@ -553,12 +1088,10 @@ Fri Oct 18 15:43:38 1996  Ian Lance Taylor  <ian@cygnus.com>
        EMULATION_OFILES.
        * configure: Rebuild.
 
-start-sanitize-v850
 Fri Oct 18 12:58:35 1996  Jeffrey A Law  (law@cygnus.com)
 
        * scripttempl/v850.sc (__gp, __ep): Define.
 
-end-sanitize-v850
 Thu Oct 17 18:14:07 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * ld.texinfo: Try to consistently use a single or a double dash
@@ -568,7 +1101,6 @@ Thu Oct 17 10:17:20 1996  Doug Evans  <dje@canuck.cygnus.com>
 
        * emulparams/m32relf.sh (EMBEDDED): Define.
 
-start-sanitize-v850
 Thu Oct 17 10:56:49 1996  Jeffrey A Law  (law@cygnus.com)
 
        * scripttempl/v850.sc (.zdata): Add this before .text.
@@ -583,7 +1115,6 @@ Wed Oct 16 23:10:01 1996  Jeffrey A Law  (law@cygnus.com)
        * scripttempl/v850.sc: New linker script for the V850.
        * Makefile.in: Use it.
 
-end-sanitize-v850
 Thu Oct 10 17:57:00 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not
@@ -700,12 +1231,10 @@ Mon Sep 16 17:55:21 1996  Ian Lance Taylor  <ian@cygnus.com>
        * scripttempl/armcoff.sc: For -N or -n, don't align .data.  From
        Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>
 
-start-sanitize-v850
 Sun Sep 15 22:09:56 1996  Jeffrey A Law  (law@cygnus.com)
 
        * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
 
-end-sanitize-v850
 Sun Sep 15 10:38:16 1996  Mark Alexander  <marka@cygnus.com>
 
        * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
@@ -731,7 +1260,6 @@ Wed Sep  4 15:53:43 1996  Ian Lance Taylor  <ian@cygnus.com>
        * configure.tgt (alpha-*-gnu*): New target.  From Fila Kolodny
        <fila@ibi.com>.
 
-start-sanitize-v850
 Tue Sep  3 00:52:54 1996  Jeffrey A Law  (law@cygnus.com)
 
        * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS
@@ -745,7 +1273,6 @@ Fri Aug 30 22:30:30 1996  Jeffrey A Law  (law@cygnus.com)
        * emulparms/v850.sh: Entry symbol is "_start", tweak
        ctor/dtor support.
 
-end-sanitize-v850
 Fri Aug 30 18:32:31 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.tgt (sh-*-elf*): New target.
@@ -786,14 +1313,12 @@ Thu Aug 22 17:10:40 1996  Ian Lance Taylor  <ian@cygnus.com>
        * Makefile.in (HLDENV): New variable.
        ($(LD_PROG)): Use $(HLDENV).
 
-start-sanitize-v850
 Thu Aug 22 16:29:28 1996  Jeffrey A Law  (law@cygnus.com)
 
        * Makefile.in (ev850.c): New target.
        * configure.tgt (v850-*-*): New target.
        * emulparams/v850.sh: New file.
 
-end-sanitize-v850
 Thu Aug 22 11:16:02 1996  Stan Shebs  <shebs@andros.cygnus.com>
 
        * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit.
@@ -3146,12 +3671,6 @@ Tue Apr 11 12:02:03 1995  Stan Shebs  <shebs@andros.cygnus.com>
        * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to
        prevent redefinition errors.
 
-start-sanitize-arc
-Thu Apr  6 20:38:36 1995  Doug Evans  <dje@chestnut.cygnus.com>
-
-       * emulparams/arcelf.sh (ENTRY): Define.
-end-sanitize-arc
-
 Tue Apr  4 17:55:18 1995  Steve Chamberlain  <sac@bang.hack.com>
 
        * ldwrite.c (clone_section): Align clone sections on even
@@ -3240,13 +3759,6 @@ Thu Mar  9 12:21:51 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
        bfd_merge_private_bfd_data to let the backend do additional
        checks.
 
-start-sanitize-arc
-Tue Mar  7 21:10:28 1995  Doug Evans  <dje@chestnut.cygnus.com>
-
-       * emulparams/arcelf.sh (OUTPUT_FORMAT): Change to elf32-littlearc.
-       (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define.
-end-sanitize-arc
-
 Tue Mar  7 00:53:08 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * ldemul.c (ldemul_choose_mode): If emulation not recognized, list
@@ -3303,12 +3815,6 @@ Fri Feb 17 13:06:47 1995  Michael Meissner  <meissner@cygnus.com>
        Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area
        to double the size of the table.
 
-start-sanitize-arc
-Thu Feb  9 19:03:25 1995  Doug Evans  <dje@canuck.cygnus.com>
-
-       * emulparms/arcelf.sh (TEMPLATE_NAME): Comment out.
-end-sanitize-arc
-
 Thu Feb  9 18:29:43 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
 
        * Makefile.in (distclean): Do recursive deletion, since ldscripts
@@ -3442,15 +3948,6 @@ Mon Dec 19 14:02:13 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
        * ldwrite.c  (clone_section, split_sections): New functions.
        * lexsup.c (parse_args): Understand new split options.
 
-start-sanitize-arc
-Tue Dec 13 16:45:18 1994  Doug Evans  <dje@canuck.cygnus.com>
-
-       * configure.in (arc-elf): New target.
-       * Makefile.in (earcelf.c): New target.
-       * config/arc-elf.mt: New file.
-       * emulparms/arcelf.sh: New file.
-end-sanitize-arc
-
 Fri Dec  9 17:22:55 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
 
        * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to