https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99888
Michael Matz <matz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at gcc dot gnu.org --- Comment #15 from Michael Matz <matz at gcc dot gnu.org> --- Umm. I just noticed this one as we now try to implement userspace live patching for ppc64le. The point of the "before" NOPs is (and always was) that they are completely out of the way of patchable but as-of-yet unpatched functions. For ppc that means the "before" and "after" NOPs cannot be consecutive. The two NOP sets being consecutive was never a design criteria or requirement. So, while the original bug is fixed by what was committed (local entry was skipping the patching-nops), the chosen solution is exactly the wrong one :-/