diff options
Diffstat (limited to 'sysdeps/i386/stackguard-macros.h')
-rw-r--r-- | sysdeps/i386/stackguard-macros.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/i386/stackguard-macros.h b/sysdeps/i386/stackguard-macros.h deleted file mode 100644 index 039762927c..0000000000 --- a/sysdeps/i386/stackguard-macros.h +++ /dev/null @@ -1,12 +0,0 @@ -#include <stdint.h> - -#define STACK_CHK_GUARD \ - ({ uintptr_t x; asm ("movl %%gs:0x14, %0" : "=r" (x)); x; }) - -#define POINTER_CHK_GUARD \ - ({ \ - uintptr_t x; \ - asm ("movl %%gs:%c1, %0" : "=r" (x) \ - : "i" (offsetof (tcbhead_t, pointer_guard))); \ - x; \ - }) |