[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

amodra at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 7 21:45:42 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125

--- Comment #8 from Alan Modra <amodra at gmail dot com> ---
Created attachment 49701
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49701&action=edit
fix powerpc64 -fpatchable-function-entry

This makes -fpatchable-function-entry do something sensible on powerpc64 ELFv1
and ELFv2.  The ELFv2 fix is all rs6000 backend trickery, ELFv1 needs a change
to generic code to use the function code section symbol rather than the
function symbol as the "o" argument for the __patchable_function_entries
.section directive.  Regression testing only done powerpc64le-linux so far.


More information about the Gcc-bugs mailing list