From 80a83dd70ea11bec2c606f36c87e768e7376847f Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Fri, 27 Sep 2013 10:59:02 +0900 Subject: [PATCH] Add SH implementation of stackguard-macros.h. --- sysdeps/sh/stackguard-macros.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sysdeps/sh/stackguard-macros.h diff --git a/sysdeps/sh/stackguard-macros.h b/sysdeps/sh/stackguard-macros.h new file mode 100644 index 0000000000..55a5771b62 --- /dev/null +++ b/sysdeps/sh/stackguard-macros.h @@ -0,0 +1,6 @@ +#include + +extern uintptr_t __stack_chk_guard; +#define STACK_CHK_GUARD __stack_chk_guard + +#define POINTER_CHK_GUARD THREAD_GET_POINTER_GUARD()