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.
This commit is contained in:
Ian Lance Taylor 1998-06-05 19:17:08 +00:00
parent bc67c82378
commit 5e3da1b0d3
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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;