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.

Reply via email to