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

#define STACK_CHK_GUARD \
  ({ uintptr_t x; asm ("movl %%gs:0x14, %0" : "=r" (x)); x; })