diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-03-26 16:01:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-03-26 16:01:04 +0000 |
commit | 3851fca49e08f131a68bbb80e9c0b09c162e0bc9 (patch) | |
tree | 862b32cadc5b2ef47d4dab98018abc71f504fb60 /bfd/elflink.h | |
parent | d7679631e88e095c0ee4a7df9e6153ccc205faca (diff) | |
download | gdb-3851fca49e08f131a68bbb80e9c0b09c162e0bc9.zip gdb-3851fca49e08f131a68bbb80e9c0b09c162e0bc9.tar.gz gdb-3851fca49e08f131a68bbb80e9c0b09c162e0bc9.tar.bz2 |
2002-03-26 H.J. Lu (hjl@gnu.org)
* elflink.h (elf_link_input_bfd): Complain about relocations
against local symbols in discarded sections.
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) |