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

#define STACK_CHK_GUARD \
  ({ uintptr_t x; asm ("adds %0 = -8, r13;; ld8 %0 = [%0]" : "=r" (x)); x; })