David Daney wrote: [snip] > -fno-unit-at-a-time prevents GCC from rearranging things in its output thus preventing > the save_static_function() from being separated from its companion. As far as I could tell > only syscall.c and signal.c need this. Ah, I missed that. It's probably better to use the same way as in 2.6, that is, to add a jump at the end of save_static_function(). > noinline was not defined for me :( so I removed it. It seems that in 2.6 it is > just #defined to be nothing. The alternative is to add: > > #ifndef noinline > #define noinline > #endif > > to compiler.h as is done in 2.6 Yes, that's the better idea. gcc-4.0 ff may need it. Thiemo