diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-06-09 16:36:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-06-09 16:36:08 +0000 |
commit | 94e05b00bdefdb0ae9e83b4e2d42b03784e11554 (patch) | |
tree | 4ccd49deceb8efbfa0166cfce800b457e03717c8 /bfd/elflink.h | |
parent | 27f1958c241c861d12f40901a96a119cabf0228c (diff) | |
download | gdb-94e05b00bdefdb0ae9e83b4e2d42b03784e11554.zip gdb-94e05b00bdefdb0ae9e83b4e2d42b03784e11554.tar.gz gdb-94e05b00bdefdb0ae9e83b4e2d42b03784e11554.tar.bz2 |
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.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index cce2947..905da426 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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) |