A testcase with only ifuncs can result in no plt section (ifunc plt
entries might instead be in iplt), which means we can get to this code
without a static link.
PR 27203
* powerpc.cc (do_plt_fde_location): Remove doing_static_link
assertion.
+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
// 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