This series of patches fixes -fpatchable-function-entry on PowerPC64 ELFv1 so that SECTION_LINK_ORDER (.section 'o' arg) is now supported, and on PowerPC64 ELFv2 to not break the global entry code.
Bootstrapped powerpc64le-linux and x86_64-linux all langs. I did see one regression on both targets, libgo runtime/pprof. It's unclear to me what that means. Alan Modra (3): PowerPC64 ELFv1 -fpatchable-function-entry Revert "rs6000: Avoid -fpatchable-function-entry* regressions on powerpc64 be [PR98125]" PowerPC64 ELFv2 -fpatchable-function-entry gcc/config/rs6000/rs6000-logue.c | 5 ++++ gcc/config/rs6000/rs6000.c | 47 +++++++++++++++++--------------- gcc/targhooks.c | 38 ++++++++------------------ gcc/targhooks.h | 3 -- gcc/testsuite/g++.dg/pr93195a.C | 1 - gcc/varasm.c | 37 ++++++++++++++++++------- 6 files changed, 69 insertions(+), 62 deletions(-)