summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/stackguard-macros.h
blob: 839f6a4b9beb79b88fbecdd9946e54fee9d90816 (plain) (blame)
1
2
3
4
#include <stdint.h>

#define STACK_CHK_GUARD \
  ({ uintptr_t x; asm ("lwz %0,-28680(2)" : "=r" (x)); x; })