From ad43ed4ce48c9f83b38469eb543d1d8e2d3585a5 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 26 Mar 2002 18:13:54 +0000 Subject: [PATCH] 2002-03-26 H.J. Lu (hjl@gnu.org) * elflink.h (elf_link_input_bfd): Revert the last change since the gcc exception handling isn't fixed yet. --- bfd/ChangeLog | 5 +++++ bfd/elflink.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a6dc6493a4..b28e9780d7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-03-26 H.J. Lu (hjl@gnu.org) + + * elflink.h (elf_link_input_bfd): Revert the last change since + the gcc exception handling isn't fixed yet. + 2002-03-26 H.J. Lu (hjl@gnu.org) * elflink.h (elf_link_input_bfd): Complain about relocations diff --git a/bfd/elflink.h b/bfd/elflink.h index fa960291f7..43abe17bce 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -6662,7 +6662,8 @@ 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) + if ((o->flags & SEC_DEBUGGING) != 0 + || (sec->flags & SEC_LINK_ONCE) != 0) { #if BFD_VERSION_DATE > 20021005 (*finfo->info->callbacks->warning)