about summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/stackguard-macros.h
blob: b74c5799b3a3465c095ffe27c8d32078d3cfa36e (plain) (blame)
1
2
3
4
#include <stdint.h>

#define STACK_CHK_GUARD \
  ({ uintptr_t x; asm ("ear %0,%%a0; l %0,0x14(%0)" : "=a" (x)); x; })