* ldlang.c (wild_doit): Rewrite flag handling for clarity. If we
[deliverable/binutils-gdb.git] / ld / ChangeLog
index d9c3c1cef36abb0479ff935d3645865dedec5a4b..1cd1fb507b92de0631bcf985e881fdbeb37cdd28 100644 (file)
@@ -1,3 +1,145 @@
+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
@@ -517,13 +659,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.
@@ -543,17 +683,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
@@ -564,7 +701,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.
@@ -599,11 +735,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>
 
@@ -637,13 +770,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. 
@@ -657,7 +788,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".
@@ -673,7 +803,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
@@ -698,12 +827,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
@@ -713,7 +840,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.
@@ -728,7 +854,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
@@ -845,12 +970,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
@@ -876,7 +999,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
@@ -890,7 +1012,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.
@@ -931,14 +1052,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.
@@ -3291,12 +3410,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
@@ -3385,13 +3498,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
@@ -3448,12 +3554,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
@@ -3587,15 +3687,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
This page took 0.027496 seconds and 4 git commands to generate.