From: Ian Lance Taylor Date: Mon, 9 Jun 1997 16:36:08 +0000 (+0000) Subject: Mon Jun 9 12:34:21 1997 Andreas Schwab X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94e05b00bdefdb0ae9e83b4e2d42b03784e11554;p=binutils-gdb.git Mon Jun 9 12:34:21 1997 Andreas Schwab * elflink.h (elf_link_add_object_symbols): Ignore relocations of sections that will be discarded. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 50aa25fec8c..98db551530d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 9 12:34:21 1997 Andreas Schwab + + * elflink.h (elf_link_add_object_symbols): Ignore relocations of + sections that will be discarded. + 1997-06-06 22:58 Ulrich Drepper * elflink.h (elf_link_find_version_dependencies): When searching diff --git a/bfd/elflink.h b/bfd/elflink.h index cce2947797d..905da426c5b 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)