* sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock):
[glibc.git] / sysdeps / generic / dl-osinfo.h
blob60b84a900d4a9bb0062aac2d2869a0731e6985cd
1 #include <stdint.h>
3 static inline uintptr_t __attribute__ ((always_inline))
4 _dl_setup_stack_chk_guard (void)
6 uintptr_t ret = 0;
7 unsigned char *p = (unsigned char *) &ret;
8 p[sizeof (ret) - 1] = 255;
9 p[sizeof (ret) - 2] = '\n';
10 p[0] = 0;
11 return ret;