summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/dl-osinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-osinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index fb885330f9..a8291c3c1c 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -203,7 +203,7 @@ _dl_setup_stack_chk_guard (void)
#if __BYTE_ORDER == __LITTLE_ENDIAN
stk <<= (__WORDSIZE - 29);
#else
- stk <<= (__WORDSIZE == 64 ? 24 : 5);
+ stk >>= 8;
#endif
ret ^= stk;
return ret;