Return to stack_smash_handler3.c CVS log | Up to [DVB] / dietlibc / lib |
fix compiler warnings make i386 start code slightly smaller (I think profiling was broken, too, and this should fix it) add PIC stack smash handler
#include <sys/cdefs.h> extern void __stack_chk_fail(void) __attribute__((noreturn)); /* this is only called from implicitly generated code, so there is no * explicit prototype anywhere */ void __attribute__((noreturn)) __stack_chk_fail_local(void); /* no idea why sometimes this is called instead of __stack_chk_fail, * but it apparently only happens with shared libraries */ void __attribute__((noreturn)) __stack_chk_fail_local(void) { __stack_chk_fail (); }