diff options
author | Michael Matz <matz@suse.de> | 2024-11-13 16:04:06 +0100 |
---|---|---|
committer | Michael Matz <matz@suse.de> | 2025-03-17 18:54:43 +0100 |
commit | 96698551b8e19fc33637908190f121e039301993 (patch) | |
tree | f7110a0aeed47bf9b04f669be03c8f062b1b71a5 /gcc/testsuite/c-c++-common/raw-string-7.c | |
parent | 051ca98a12908b9685d76b4432cff2f8f0f33368 (diff) | |
download | gcc-96698551b8e19fc33637908190f121e039301993.zip gcc-96698551b8e19fc33637908190f121e039301993.tar.gz gcc-96698551b8e19fc33637908190f121e039301993.tar.bz2 |
rs6000: Add -msplit-patch-nops (PR112980)
as the bug report details some uses of -fpatchable-function-entry
aren't happy with the "before" NOPs being inserted between global and
local entry point on powerpc. We want the before NOPs be in front
of the global entry point. That means that the patching NOPs aren't
consecutive for dual entry point functions, but for these usecases
that's not the problem. But let us support both under the control
of a new target option: -msplit-patch-nops.
gcc/
PR target/112980
* config/rs6000/rs6000.opt (msplit-patch-nops): New option.
* doc/invoke.texi (RS/6000 and PowerPC Options): Document it.
* config/rs6000/rs6000.h (machine_function.stop_patch_area_print):
New member.
* config/rs6000/rs6000.cc (rs6000_print_patchable_function_entry):
Emit split nops under control of that one.
* config/rs6000/rs6000-logue.cc (rs6000_output_function_prologue):
Add handling of split patch nops.
Diffstat (limited to 'gcc/testsuite/c-c++-common/raw-string-7.c')
0 files changed, 0 insertions, 0 deletions