mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a
noload_section. PR 13139.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user