Support mcount/gprof test with GCC defaulting to PIE
[glibc.git] / sysdeps / generic / stackguard-macros.h
blobb4a6b23ff87dd9b1425349ffe269c76b3cd29543
1 #include <stdint.h>
3 extern uintptr_t __stack_chk_guard;
4 #define STACK_CHK_GUARD __stack_chk_guard
6 #ifdef PTRGUARD_LOCAL
7 extern uintptr_t __pointer_chk_guard_local;
8 # define POINTER_CHK_GUARD __pointer_chk_guard_local
9 #else
10 extern uintptr_t __pointer_chk_guard;
11 # define POINTER_CHK_GUARD __pointer_chk_guard
12 #endif