Raphael Zulliger <zulliger@xxxxxxxx> writes: > i would like to add a very simple stack-protection (for our own-brewed > os) to the code compiled with gcc 3.x. therefore i should be able to > add about 5 lines of PPC assembler to each function body... first i > hoped this should be quite easy - but it seams to be harder than > expected. at least for me. You might try taking a look at how -fstack-check is implemented. Ian