mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
PR ld/4267
* elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for unused entries. Don't clear plt.plist in loop.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2007-03-29 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR ld/4267
|
||||
* elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for
|
||||
unused entries. Don't clear plt.plist in loop.
|
||||
|
||||
2007-03-28 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela.
|
||||
|
@ -4500,13 +4500,15 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
|
||||
}
|
||||
else
|
||||
ent->plt.offset = (bfd_vma) -1;
|
||||
|
||||
if (!doneone)
|
||||
{
|
||||
h->plt.plist = NULL;
|
||||
h->needs_plt = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
ent->plt.offset = (bfd_vma) -1;
|
||||
|
||||
if (!doneone)
|
||||
{
|
||||
h->plt.plist = NULL;
|
||||
h->needs_plt = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user