* elflink.h (elf_link_add_object_symbols): Don't call check_relocs

if this is a debugging section which we are stripping.
This commit is contained in:
Ian Lance Taylor 1997-04-15 15:54:24 +00:00
parent 21a2898b49
commit a0c807260c
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,13 @@
Tue Apr 15 11:50:37 1997 Ian Lance Taylor <ian@cygnus.com>
* elflink.h (elf_link_add_object_symbols): Don't call check_relocs
if this is a debugging section which we are stripping.
Mon Apr 14 12:39:30 1997 Richard Henderson <rth@tamu.edu>
* elf64-alpha.c (elf64_alpha_object_p): Allocate the
alpha-specific target data struct.
Mon Apr 14 11:45:46 1997 Ian Lance Taylor <ian@cygnus.com>
From Thomas Graichen <graichen@rzpd.de>:

View File

@ -1495,7 +1495,9 @@ elf_link_add_object_symbols (abfd, info)
boolean ok;
if ((o->flags & SEC_RELOC) == 0
|| o->reloc_count == 0)
|| o->reloc_count == 0
|| ((info->strip == strip_all || info->strip == strip_debugger)
&& (o->flags & SEC_DEBUGGING) != 0))
continue;
internal_relocs = (NAME(_bfd_elf,link_read_relocs)