aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/powerpc.cc1
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index a1d3d30..64f7b78 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2021-01-19 Alan Modra <amodra@gmail.com>
+
+ PR 27203
+ * powerpc.cc (do_plt_fde_location): Remove doing_static_link
+ assertion.
+
2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ifuncmain6pie.c: Remove non-JUMP_SLOT relocations
diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index e2966ef..ec6f950 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -3946,7 +3946,6 @@ Target_powerpc<size, big_endian>::do_plt_fde_location(const Output_data* plt,
// See Output_data_glink::do_write() for glink contents.
if (len == 0)
{
- gold_assert(parameters->doing_static_link());
// Static linking may need stubs, to support ifunc and long
// branches. We need to create an output section for
// .eh_frame early in the link process, to have a place to