Sign in
third-party-mirror
/
GRTEv4
/
refs/heads/master
/
.
/
google3
/
third_party
/
grte
/
v4_src
/
glibc-2.19
/
ports
/
sysdeps
/
ia64
/
stackguard-macros.h
blob: 390729327a2950c20df59dddde0828840cd2df95 [
file
] [
log
] [
blame
] [
edit
]
#include
<stdint.h>
#define
STACK_CHK_GUARD \
({
uintptr_t
x
;
asm
(
"adds %0 = -8, r13;; ld8 %0 = [%0]"
:
"=r"
(
x
));
x
;
})
#define
POINTER_CHK_GUARD \
({
uintptr_t
x
;
asm
(
"adds %0 = -16, r13;; ld8 %0 = [%0]"
:
"=r"
(
x
));
x
;
})