https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97166
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com Last reconfirmed| |2020-09-24 CC| |amodra at gmail dot com Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Alan Modra <amodra at gmail dot com> --- Oops didn't put the PR number in the commit. Fixed on master with commit 08cd8d5929 and followup commit fff56af642. These two will give a working power10 libffi even without commit 677b9150f5, the patch adding a built-in __PCREL__ define but you'll get some linker stubs to call between pc-rel and toc code.