https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345
--- Comment #20 from Jan Hubicka <hubicka at ucw dot cz> --- > > Live patching (user-space) doesn't depend on any particular alignment of > functions, on x86-64 at least. (The plan for other architectures wouldn't > need > any specific alignment either). Note that the above complaints about missing > alignment is for kernel (!) ftrace/livepatching on arm64 (!), not on x86_64. I had impression that x86-64 also needs forced alignment so the patching can be always done atomically. But it is not a big practical difference if we go with a flag specifying minimal function alignment.