From: Michael Snyder Date: Thu, 26 Jul 2007 18:15:46 +0000 (+0000) Subject: 2007-07-26 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7fd5ce17da6b61e8e13a27d86db9f5d07edb82b;p=binutils-gdb.git 2007-07-26 Michael Snyder * elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless pointer increment. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 954a47d2fa2..3b90fcd7b13 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-07-26 Michael Snyder + + * elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless + pointer increment. + 2007-07-26 Alan Modra * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary 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);