From: Ian Lance Taylor Date: Thu, 15 Dec 1994 01:23:40 +0000 (+0000) Subject: * elfcode.h (elf_map_symbols): Only use section symbols whose X-Git-Tag: gdb-4_18~12887 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5202354c3e705adb67ad73518bcdcdbe2f13816;p=platform%2Fupstream%2Fbinutils.git * elfcode.h (elf_map_symbols): Only use section symbols whose value is the start of the section. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1a0e14b..ed71918 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 14 20:21:58 1994 Ian Lance Taylor + + * elfcode.h (elf_map_symbols): Only use section symbols whose + value is the start of the section. + Tue Dec 13 13:31:06 1994 Ian Lance Taylor * cpu-z8k.c (arch_info_struct): Make z8002 the default diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 717206d..e59402e 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -1497,7 +1497,8 @@ elf_map_symbols (abfd) for (idx = 0; idx < symcount; idx++) { - if ((syms[idx]->flags & BSF_SECTION_SYM) != 0) + if ((syms[idx]->flags & BSF_SECTION_SYM) != 0 + && syms[idx]->value == asect->vma) { asection *sec;