make stack protector work with gcc configured for non-tls canary
authorRich Felker <dalias@aerifal.cx>
Mon, 30 Apr 2012 07:00:24 +0000 (03:00 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 30 Apr 2012 07:00:24 +0000 (03:00 -0400)
src/env/__stack_chk_guard.c [new file with mode: 0644]

diff --git a/src/env/__stack_chk_guard.c b/src/env/__stack_chk_guard.c
new file mode 100644 (file)
index 0000000..f4c9e4f
--- /dev/null
@@ -0,0 +1,2 @@
+#include <inttypes.h>
+uintptr_t __stack_chk_guard = 0xdecafbad;