Caused by the PR24406 fix. unwrap_hash_lookup shouldn't be called
with link_info.wrap_hash NULL.
PR ld/24406
* plugin.c (get_symbols): Test link_info.wrap_hash before calling
unwrap_hash_lookup.
+2019-08-29 Alan Modra <amodra@gmail.com>
+
+ PR ld/24406
+ * plugin.c (get_symbols): Test link_info.wrap_hash before calling
+ unwrap_hash_lookup.
+
2019-08-22 Tamar Christina <tamar.christina@arm.com>
PR ld/24601
if (syms[n].def != LDPK_UNDEF && syms[n].def != LDPK_WEAKUNDEF)
{
blhe = h;
- if (blhe)
+ if (blhe && link_info.wrap_hash != NULL)
{
/* Check if a symbol is a wrapper symbol. */
struct bfd_link_hash_entry *unwrap