diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc32/stackguard-macros.h')
-rw-r--r-- | sysdeps/powerpc/powerpc32/stackguard-macros.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/powerpc/powerpc32/stackguard-macros.h b/sysdeps/powerpc/powerpc32/stackguard-macros.h deleted file mode 100644 index b3d0af830f..0000000000 --- a/sysdeps/powerpc/powerpc32/stackguard-macros.h +++ /dev/null @@ -1,14 +0,0 @@ -#include <stdint.h> - -#define STACK_CHK_GUARD \ - ({ uintptr_t x; asm ("lwz %0,-28680(2)" : "=r" (x)); x; }) - -#define POINTER_CHK_GUARD \ - ({ \ - uintptr_t x; \ - asm ("lwz %0,%1(2)" \ - : "=r" (x) \ - : "i" (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t)) \ - ); \ - x; \ - }) |