From 4e0e019fa8eda9b7ffe0615133f55e9b0b882fa1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 17 Nov 2020 15:13:37 +1030 Subject: [GOLD] powerpc incremental-dump assertion failure incremental-dump wants to instantiate Target_powerpc without options being set up. This patch fixes internal error in options, at gold/parameters.h:92 * powerpc.cc (Target_powerpc::no_tprel_opt_): Rename from tprel_opt_. Init to false. (Target_powerpc::tprel_opt): Test parameters->options().tls_optimize(). (Target_powerpc::set_tprel_opt): Delete. (Target_powerpc::set_no_tprel_opt): New function. Update all uses of set_tprel_opt. --- gold/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gold/ChangeLog') diff --git a/gold/ChangeLog b/gold/ChangeLog index 937bb28..4739ed5 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,12 @@ +2020-11-17 Alan Modra + + * powerpc.cc (Target_powerpc::no_tprel_opt_): Rename from tprel_opt_. + Init to false. + (Target_powerpc::tprel_opt): Test parameters->options().tls_optimize(). + (Target_powerpc::set_tprel_opt): Delete. + (Target_powerpc::set_no_tprel_opt): New function. Update all uses + of set_tprel_opt. + 2020-11-16 Michael Hudson-Doyle PR 26902 -- cgit v1.1