diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-04-15 15:54:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-04-15 15:54:24 +0000 |
commit | a0c807260c809005e26ba60b28d9ff6124b1b8d0 (patch) | |
tree | 3aec067547b6b208411b53d79f76f1f4c2e1a76d /bfd | |
parent | 21a2898b491cff3aca3d76d17c1becaa4e759da3 (diff) | |
download | gdb-a0c807260c809005e26ba60b28d9ff6124b1b8d0.zip gdb-a0c807260c809005e26ba60b28d9ff6124b1b8d0.tar.gz gdb-a0c807260c809005e26ba60b28d9ff6124b1b8d0.tar.bz2 |
* elflink.h (elf_link_add_object_symbols): Don't call check_relocs
if this is a debugging section which we are stripping.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 10 | ||||
-rw-r--r-- | bfd/elflink.h | 4 |
2 files changed, 13 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8fc70bd..b123020 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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>: diff --git a/bfd/elflink.h b/bfd/elflink.h index 877f166..c44163c 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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) |