mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
PR ld/11088
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol hiding has nulled out plt.plist.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2009-12-17 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
PR ld/11088
|
||||||
|
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol
|
||||||
|
hiding has nulled out plt.plist.
|
||||||
|
|
||||||
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
|
2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in
|
* opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in
|
||||||
|
@ -5864,9 +5864,7 @@ ppc64_elf_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info,
|
|||||||
for (ent = h->plt.plist; ent != NULL; ent = ent->next)
|
for (ent = h->plt.plist; ent != NULL; ent = ent->next)
|
||||||
if (ent->addend == rel->r_addend)
|
if (ent->addend == rel->r_addend)
|
||||||
break;
|
break;
|
||||||
if (ent == NULL)
|
if (ent != NULL && ent->plt.refcount > 0)
|
||||||
abort ();
|
|
||||||
if (ent->plt.refcount > 0)
|
|
||||||
ent->plt.refcount -= 1;
|
ent->plt.refcount -= 1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user