Sign in
third-party-mirror
/
GRTEv4
/
262be5abc585813b1766119db73641d44ba3741e
/
.
/
google3
/
third_party
/
grte
/
v4_src
/
glibc-2.19
/
sysdeps
/
sparc
/
sparc64
/
stackguard-macros.h
blob: cc0c12c0412901cfb00a80da71eb3a117b5d1c5a [
file
] [
log
] [
blame
]
#include
<stdint.h>
#define
STACK_CHK_GUARD \
({
uintptr_t
x
;
asm
(
"ldx [%%g7+0x28], %0"
:
"=r"
(
x
));
x
;
})
#define
POINTER_CHK_GUARD \
({
uintptr_t
x
;
asm
(
"ldx [%%g7+0x30], %0"
:
"=r"
(
x
));
x
;
})