mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 05:42:42 +08:00
2007-07-26 Michael Snyder <msnyder@access-company.com>
* elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless pointer increment.
This commit is contained in:
@ -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>
|
2007-07-26 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
|
* elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary
|
||||||
|
@ -8419,7 +8419,7 @@ _bfd_elf_get_synthetic_symtab (bfd *abfd,
|
|||||||
count = relplt->size / hdr->sh_entsize;
|
count = relplt->size / hdr->sh_entsize;
|
||||||
size = count * sizeof (asymbol);
|
size = count * sizeof (asymbol);
|
||||||
p = relplt->relocation;
|
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");
|
size += strlen ((*p->sym_ptr_ptr)->name) + sizeof ("@plt");
|
||||||
|
|
||||||
s = *ret = bfd_malloc (size);
|
s = *ret = bfd_malloc (size);
|
||||||
|
Reference in New Issue
Block a user