https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963
Andi Kleen <andi-gcc at firstfloor dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andi-gcc at firstfloor dot org --- Comment #6 from Andi Kleen <andi-gcc at firstfloor dot org> --- In theory the kernel could mark __init functions with noclone. But I think sticky behavior would be better. That's the behavior that the kernel expects. There isn't any code as far as I know that would expect only a single function per section.