From a9538892adfbb9f092e0bb14ff3a1703973968af Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 15 May 2012 23:34:30 +0000 Subject: Split up stackguard-macros.h into sysdeps directories. --- sysdeps/powerpc/powerpc64/stackguard-macros.h | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sysdeps/powerpc/powerpc64/stackguard-macros.h (limited to 'sysdeps/powerpc/powerpc64') diff --git a/sysdeps/powerpc/powerpc64/stackguard-macros.h b/sysdeps/powerpc/powerpc64/stackguard-macros.h new file mode 100644 index 0000000000..9da879c611 --- /dev/null +++ b/sysdeps/powerpc/powerpc64/stackguard-macros.h @@ -0,0 +1,4 @@ +#include + +#define STACK_CHK_GUARD \ + ({ uintptr_t x; asm ("ld %0,-28688(13)" : "=r" (x)); x; }) -- cgit v1.2.3-70-g09d2