diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-07-26 18:15:46 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-07-26 18:15:46 +0000 |
commit | b7fd5ce17da6b61e8e13a27d86db9f5d07edb82b (patch) | |
tree | 3af19f15736ef7700901ca1b0923d96b07fff1b8 /bfd/elf.c | |
parent | 33774f084b0c1094d0ae966e4339db378fc60b53 (diff) | |
download | gdb-b7fd5ce17da6b61e8e13a27d86db9f5d07edb82b.zip gdb-b7fd5ce17da6b61e8e13a27d86db9f5d07edb82b.tar.gz gdb-b7fd5ce17da6b61e8e13a27d86db9f5d07edb82b.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |