2007-07-26 Michael Snyder <msnyder@access-company.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 26 Jul 2007 18:15:46 +0000 (18:15 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 26 Jul 2007 18:15:46 +0000 (18:15 +0000)
* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless
pointer increment.

bfd/ChangeLog
bfd/elf.c

index 954a47d2fa2e7635a3390420124a3fa0dca00aa4..3b90fcd7b1336e5376ab01c39170530f42fe4160 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-26  Michael Snyder  <msnyder@access-company.com>
+
+       * elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless 
+       pointer increment.
+
 2007-07-26  Alan Modra  <amodra@bigpond.net.au>
 
        * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
index f8bd7f9e35d973658dd081b9bfdaf1fca82de115..e804dbd2941a606869bec2102807769d91648ae8 100644 (file)
--- 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);