mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
* section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE
for removed output sections.
This commit is contained in:
parent
ebe3e2d199
commit
0ebaf18527
@ -1,3 +1,8 @@
|
||||
2002-06-10 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE
|
||||
for removed output sections.
|
||||
|
||||
2002-06-10 Geoffrey Keating <geoffk@redhat.com>
|
||||
|
||||
* merge.c (merge_strings): Use htab_create_alloc with calloc, not
|
||||
|
@ -1368,6 +1368,7 @@ _bfd_strip_section_from_output (info, s)
|
||||
if (*spp == os)
|
||||
{
|
||||
bfd_section_list_remove (os->owner, spp);
|
||||
os->flags |= SEC_EXCLUDE;
|
||||
os->owner->section_count--;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user