summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-04-17 11:10:33 +0000
committermiod <miod@openbsd.org>2012-04-17 11:10:33 +0000
commitceaa202cbeef0e1576af6ed01ce107a4adb558b0 (patch)
treeae5786fab8a29057b7624b80c0445396d28e9f3e
parentExplicitely request -fno-stack-protector on sh when building the unwinder, (diff)
downloadwireguard-openbsd-ceaa202cbeef0e1576af6ed01ce107a4adb558b0.tar.xz
wireguard-openbsd-ceaa202cbeef0e1576af6ed01ce107a4adb558b0.zip
Do not disable the stack protector by default anymore.
-rw-r--r--gnu/gcc/gcc/config/sh/sh.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gnu/gcc/gcc/config/sh/sh.c b/gnu/gcc/gcc/config/sh/sh.c
index e00d862dca5..0ba7f259073 100644
--- a/gnu/gcc/gcc/config/sh/sh.c
+++ b/gnu/gcc/gcc/config/sh/sh.c
@@ -10955,11 +10955,6 @@ sh_override_options (void)
{
int regno;
-#if defined(OPENBSD_NATIVE) || defined(OPENBSD_CROSS)
- /* disable stack protection for now */
- flag_stack_protect = 0;
-#endif
-
if (flag_finite_math_only == 2)
flag_finite_math_only
= !flag_signaling_nans && TARGET_SH2E && ! TARGET_IEEE;