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.
This commit is contained in:
H.J. Lu 2002-03-26 18:13:54 +00:00
parent 3851fca49e
commit ad43ed4ce4
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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)