From: Alan Modra Date: Thu, 21 May 2009 14:32:29 +0000 (+0000) Subject: * elflink.c (elf_link_input_bfd): Correct *pindex change in last X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=930e005c64bf4473e395dffed9bab1c5d6dcba49;p=binutils-gdb.git * elflink.c (elf_link_input_bfd): Correct *pindex change in last commit. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 68443df7210..8bbd37db29c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-05-21 Alan Modra + + * elflink.c (elf_link_input_bfd): Correct *pindex change in last + commit. + 2009-05-21 Alan Modra * elf-bfd.h (struct elf_backend_data diff --git a/bfd/elflink.c b/bfd/elflink.c index 61c510f184c..5e36d125fa8 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -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