* ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a
authorIan Lance Taylor <ian@airs.com>
Wed, 3 Sep 1997 19:13:14 +0000 (19:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 3 Sep 1997 19:13:14 +0000 (19:13 +0000)
noload_section.
PR 13139.

ld/ChangeLog
ld/ldlang.c

index 6757c707910e7a2c568d4f0a7b90f26edb535017..2fe7043d2a5869def427f332ff99e963f5ff249f 100644 (file)
@@ -1,3 +1,8 @@
+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@.
index 66b35906c54e03fa24d0d315c4974e382f8e38fb..ad582081898a4cce83f05f31601beaaa692989bb 100644 (file)
@@ -845,7 +845,7 @@ wild_doit (ptr, section, output, file)
          output->bfd_section->flags &= ~SEC_ALLOC;
          break;
        case noload_section:
-         output->bfd_section->flags &= ~SEC_LOAD;
+         output->bfd_section->flags &= ~ (SEC_LOAD | SEC_HAS_CONTENTS);
          output->bfd_section->flags |= SEC_NEVER_LOAD;
          break;
        }
This page took 0.028399 seconds and 4 git commands to generate.