mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
PR23980, powerpc64 ld segfault
PR 23980 * elf64-ppc.c (ppc64_elf_hide_symbol): Check hash table type before referencing ppc64-only fields of hash entries.
This commit is contained in:
parent
51b4f73a37
commit
87469ba2d2
@ -1,3 +1,9 @@
|
||||
2018-12-18 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 23980
|
||||
* elf64-ppc.c (ppc64_elf_hide_symbol): Check hash table type
|
||||
before referencing ppc64-only fields of hash entries.
|
||||
|
||||
2018-12-17 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 23994
|
||||
|
@ -6193,6 +6193,9 @@ ppc64_elf_hide_symbol (struct bfd_link_info *info,
|
||||
struct ppc_link_hash_entry *eh;
|
||||
_bfd_elf_link_hash_hide_symbol (info, h, force_local);
|
||||
|
||||
if (ppc_hash_table (info) == NULL)
|
||||
return;
|
||||
|
||||
eh = (struct ppc_link_hash_entry *) h;
|
||||
if (eh->is_func_descriptor)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user