diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-06-05 19:17:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-06-05 19:17:08 +0000 |
commit | 5e3da1b0d3cf6226781783ee732b2288611ca8a2 (patch) | |
tree | 65ed9cbb00d24b6e93bb46b03d71892646bb2ca3 | |
parent | bc67c82378f54d43a88978c72a93a2caddd21325 (diff) | |
download | gdb-5e3da1b0d3cf6226781783ee732b2288611ca8a2.zip gdb-5e3da1b0d3cf6226781783ee732b2288611ca8a2.tar.gz gdb-5e3da1b0d3cf6226781783ee732b2288611ca8a2.tar.bz2 |
Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf.c (elf_map_symbols): Don't add section VMA to symbol value
when comparing against 0.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b8acb4b..61a7a55 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 5 15:11:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * elf.c (elf_map_symbols): Don't add section VMA to symbol value + when comparing against 0. + Wed Jun 3 17:52:49 1998 Ian Lance Taylor <ian@cygnus.com> * Makefile.am (config.status): New target. @@ -1800,7 +1800,7 @@ elf_map_symbols (abfd) for (idx = 0; idx < symcount; idx++) { if ((syms[idx]->flags & BSF_SECTION_SYM) != 0 - && (syms[idx]->value + syms[idx]->section->vma) == 0) + && syms[idx]->value == 0) { asection *sec; |