about summary refs log tree commit diff
path: root/sysdeps/x86_64/stackguard-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/stackguard-macros.h')
-rw-r--r--sysdeps/x86_64/stackguard-macros.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sysdeps/x86_64/stackguard-macros.h b/sysdeps/x86_64/stackguard-macros.h
deleted file mode 100644
index 1948800cd0..0000000000
--- a/sysdeps/x86_64/stackguard-macros.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <stdint.h>
-
-#define STACK_CHK_GUARD \
-  ({ uintptr_t x;						\
-     asm ("mov %%fs:%c1, %0" : "=r" (x)				\
-	  : "i" (offsetof (tcbhead_t, stack_guard))); x; })
-
-#define POINTER_CHK_GUARD \
-  ({ uintptr_t x;						\
-     asm ("mov %%fs:%c1, %0" : "=r" (x)				\
-	  : "i" (offsetof (tcbhead_t, pointer_guard))); x; })