diff options
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 1ddfe18..277395a 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -9012,9 +9012,7 @@ elf_mark_used_section (struct elf_link_hash_entry *h, || h->root.type == bfd_link_hash_defweak) { asection *s = h->root.u.def.section; - if (s != NULL - && s->output_section != NULL - && !bfd_is_const_section (s->output_section)) + if (s != NULL && s->output_section != NULL) s->output_section->flags |= SEC_KEEP; } |