* ldlang.c (wild_doit): Rewrite flag handling for clarity. If we
authorIan Lance Taylor <ian@airs.com>
Thu, 2 Oct 1997 23:08:14 +0000 (23:08 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 2 Oct 1997 23:08:14 +0000 (23:08 +0000)
  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.

ld/ChangeLog

index 7984cf5e330028629a6954833bb747cc2eb07969..1cd1fb507b92de0631bcf985e881fdbeb37cdd28 100644 (file)
@@ -1,5 +1,11 @@
 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