2002-03-26 H.J. Lu (hjl@gnu.org)
* elflink.h (elf_link_input_bfd): Complain about relocations against local symbols in discarded sections.
This commit is contained in:
parent
d7679631e8
commit
3851fca49e
|
@ -1,3 +1,8 @@
|
|||
2002-03-26 H.J. Lu (hjl@gnu.org)
|
||||
|
||||
* elflink.h (elf_link_input_bfd): Complain about relocations
|
||||
against local symbols in discarded sections.
|
||||
|
||||
2002-03-26 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue