https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99888
Bug ID: 99888 Summary: Add powerpc ELFv2 support for -fpatchable-function-entry* Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: amodra at gmail dot com, hjl.tools at gmail dot com, jakub at gcc dot gnu.org, marxin at gcc dot gnu.org, seurer at gcc dot gnu.org, unassigned at gcc dot gnu.org Depends on: 98125 Target Milestone: --- Host: powerpc64*-linux-gnu Target: powerpc64*-linux-gnu Build: powerpc64*-linux-gnu +++ This bug was initially created as a clone of Bug #98125 +++ As mentioned in PR98125, for ELFv2 the patchable nops need to be added after the first two insns of the function rather than before it. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 [Bug 98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors