* ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a

noload_section.
PR 13139.
This commit is contained in:
Ian Lance Taylor 1997-09-03 19:13:14 +00:00
parent 3b52112dfd
commit 7e519ffc58
2 changed files with 6 additions and 1 deletions

View 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@.

View 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;
}