aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-05-21 14:32:29 +0000
committerAlan Modra <amodra@gmail.com>2009-05-21 14:32:29 +0000
commit930e005c64bf4473e395dffed9bab1c5d6dcba49 (patch)
treeab5f51777f88ec9b8d2ac6d6fd63f4b57e6e47a1 /bfd/elflink.c
parent6e0b88f1b8d24ad0c318a989dd582e0d2205e03f (diff)
downloadgdb-930e005c64bf4473e395dffed9bab1c5d6dcba49.zip
gdb-930e005c64bf4473e395dffed9bab1c5d6dcba49.tar.gz
gdb-930e005c64bf4473e395dffed9bab1c5d6dcba49.tar.bz2
* elflink.c (elf_link_input_bfd): Correct *pindex change in last
commit.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 61c510f..5e36d12 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