https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980
--- Comment #7 from Naveen N Rao <naveen at kernel dot org> --- I have been looking at an alternative approach to see if we can move the entire function patching sequence out of line. However, the approach I am considering is very specific to the linux kernel, and I don't see it applying for userspace in a generic way. As such, I think there is value in addressing the current limitation with -fpatchable-function-entry one way or another.