mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-07-01 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs.
|
||||||
|
|
||||||
2010-06-29 Alan Modra <amodra@gmail.com>
|
2010-06-29 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* cpu-maxq.c: Delete file.
|
* cpu-maxq.c: Delete file.
|
||||||
|
@ -8043,9 +8043,17 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (h != NULL)
|
if (h != NULL)
|
||||||
val = h->root.u.def.value;
|
{
|
||||||
|
if (h->type == STT_GNU_IFUNC)
|
||||||
|
continue;
|
||||||
|
val = h->root.u.def.value;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
val = sym->st_value;
|
{
|
||||||
|
if (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)
|
||||||
|
continue;
|
||||||
|
val = sym->st_value;
|
||||||
|
}
|
||||||
val += rel->r_addend;
|
val += rel->r_addend;
|
||||||
val += sym_sec->output_section->vma + sym_sec->output_offset;
|
val += sym_sec->output_section->vma + sym_sec->output_offset;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user