Blame sysdeps/powerpc/powerpc64/stackguard-macros.h
|
Packit |
6c4009 |
#include <stdint.h>
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#define STACK_CHK_GUARD \
|
|
Packit |
6c4009 |
({ uintptr_t x; asm ("ld %0,-28688(13)" : "=r" (x)); x; })
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#define POINTER_CHK_GUARD \
|
|
Packit |
6c4009 |
({ \
|
|
Packit |
6c4009 |
uintptr_t x; \
|
|
Packit |
6c4009 |
asm ("ld %0,%1(13)" \
|
|
Packit |
6c4009 |
: "=r" (x) \
|
|
Packit |
6c4009 |
: "i" (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t)) \
|
|
Packit |
6c4009 |
); \
|
|
Packit |
6c4009 |
x; \
|
|
Packit |
6c4009 |
})
|