Mon Jun 9 12:34:21 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>

* elflink.h (elf_link_add_object_symbols): Ignore relocations of
	sections that will be discarded.
This commit is contained in:
Ian Lance Taylor 1997-06-09 16:36:08 +00:00
parent 27f1958c24
commit 94e05b00bd
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Jun 9 12:34:21 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elflink.h (elf_link_add_object_symbols): Ignore relocations of
sections that will be discarded.
1997-06-06 22:58 Ulrich Drepper <drepper@cygnus.com>
* elflink.h (elf_link_find_version_dependencies): When searching

View file

@ -1586,7 +1586,8 @@ elf_link_add_object_symbols (abfd, info)
if ((o->flags & SEC_RELOC) == 0
|| o->reloc_count == 0
|| ((info->strip == strip_all || info->strip == strip_debugger)
&& (o->flags & SEC_DEBUGGING) != 0))
&& (o->flags & SEC_DEBUGGING) != 0)
|| bfd_is_abs_section (o->output_section))
continue;
internal_relocs = (NAME(_bfd_elf,link_read_relocs)