From: Ian Lance Taylor Date: Wed, 3 Sep 1997 19:13:14 +0000 (+0000) Subject: * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e519ffc586e840e7562995899e49ab34a3f6cec;p=binutils-gdb.git * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a noload_section. PR 13139. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 6757c707910..2fe7043d2a5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 3 15:12:32 1997 Ian Lance Taylor + + * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a + noload_section. + Fri Aug 29 00:32:31 1997 Ian Lance Taylor * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@. diff --git a/ld/ldlang.c b/ld/ldlang.c index 66b35906c54..ad582081898 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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; }