summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2007-07-26 18:15:46 +0000
committerMichael Snyder <msnyder@specifix.com>2007-07-26 18:15:46 +0000
commit94be5d9ef413ed20f2f0b0fcae2854dbd5933a57 (patch)
treec1ef3fffae46bc2b44664d91b7481bfd57014214 /bfd/elf.c
parent6ece3b6bf88c41f5bcfdcef3f3c98a44624f27e0 (diff)
downloadgdb-94be5d9ef413ed20f2f0b0fcae2854dbd5933a57.tar.gz
2007-07-26 Michael Snyder <msnyder@access-company.com>
* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless pointer increment.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index f8bd7f9e35d..e804dbd2941 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -8419,7 +8419,7 @@ _bfd_elf_get_synthetic_symtab (bfd *abfd,
count = relplt->size / hdr->sh_entsize;
size = count * sizeof (asymbol);
p = relplt->relocation;
- for (i = 0; i < count; i++, s++, p++)
+ for (i = 0; i < count; i++, p++)
size += strlen ((*p->sym_ptr_ptr)->name) + sizeof ("@plt");
s = *ret = bfd_malloc (size);