* elflink.c (elf_link_input_bfd): Correct *pindex change in last

commit.
This commit is contained in:
Alan Modra 2009-05-21 14:32:29 +00:00
parent 6e0b88f1b8
commit 930e005c64
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-05-21 Alan Modra <amodra@bigpond.net.au>
* elflink.c (elf_link_input_bfd): Correct *pindex change in last
commit.
2009-05-21 Alan Modra <amodra@bigpond.net.au>
* elf-bfd.h (struct elf_backend_data

View File

@ -9065,8 +9065,6 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
if (osym.st_shndx == SHN_BAD)
return FALSE;
*pindex = bfd_get_symcount (output_bfd);
/* ELF symbols in relocatable files are section relative, but
in executable files they are virtual addresses. Note that
this code assumes that all ELF sections have an associated