diff options
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 43abe17..fa96029 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -6662,8 +6662,7 @@ elf_link_input_bfd (finfo, input_bfd) if (sec != NULL && elf_discarded_section (sec)) { #if BFD_VERSION_DATE < 20031005 - if ((o->flags & SEC_DEBUGGING) != 0 - || (sec->flags & SEC_LINK_ONCE) != 0) + if ((o->flags & SEC_DEBUGGING) != 0) { #if BFD_VERSION_DATE > 20021005 (*finfo->info->callbacks->warning) |