glibc/sysdeps/sparc/sparc64/stackguard-macros.h

5 lines
111 B
C
Raw Normal View History

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