aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc32/stackguard-macros.h
blob: c0b02b0bbdd67c679ee0e9173da5659f0ffe09b1 (plain)
1
2
3
4
#include <stdint.h>

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