mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-30 23:40:24 +00:00
bfd/
* elf.c (_bfd_elf_get_synthetic_symtab): Increment p by bed->s->int_rels_per_ext_rel.
This commit is contained in:
parent
6ba2a41553
commit
cb53bf42a0
@ -1,3 +1,8 @@
|
|||||||
|
2008-06-30 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
|
* elf.c (_bfd_elf_get_synthetic_symtab): Increment p by
|
||||||
|
bed->s->int_rels_per_ext_rel.
|
||||||
|
|
||||||
2008-06-30 Richard Sandiford <rdsandiford@googlemail.com>
|
2008-06-30 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
* syms.c (BSF_SYNTHETIC): New flag.
|
* syms.c (BSF_SYNTHETIC): New flag.
|
||||||
|
@ -8761,7 +8761,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++, p++)
|
for (i = 0; i < count; i++, p += bed->s->int_rels_per_ext_rel)
|
||||||
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);
|
||||||
@ -8771,7 +8771,7 @@ _bfd_elf_get_synthetic_symtab (bfd *abfd,
|
|||||||
names = (char *) (s + count);
|
names = (char *) (s + count);
|
||||||
p = relplt->relocation;
|
p = relplt->relocation;
|
||||||
n = 0;
|
n = 0;
|
||||||
for (i = 0; i < count; i++, p++)
|
for (i = 0; i < count; i++, p += bed->s->int_rels_per_ext_rel)
|
||||||
{
|
{
|
||||||
size_t len;
|
size_t len;
|
||||||
bfd_vma addr;
|
bfd_vma addr;
|
||||||
|
Loading…
Reference in New Issue
Block a user