summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/stackguard-macros.h
blob: 80f063558acecd703b666de32b2cb8c4ffc4d47e (plain) (blame)
1
2
3
4
#include <stdint.h>

#define STACK_CHK_GUARD \
  ({ uintptr_t x; asm ("ldx [%%g7+0x28], %0" : "=r" (x)); x; })