From a78fca7b57c5444ac23110c6d0f80abd966f0e90 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 29 Aug 2019 00:20:46 +0930 Subject: Segfault in ld building SPEC CPU2017 527.cam4_r with -flto 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. --- ld/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ld/ChangeLog') diff --git a/ld/ChangeLog b/ld/ChangeLog index ed646ac..b654eb9 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2019-08-29 Alan Modra + + PR ld/24406 + * plugin.c (get_symbols): Test link_info.wrap_hash before calling + unwrap_hash_lookup. + 2019-08-22 Tamar Christina PR ld/24601 -- cgit v1.1