summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2008-05-29 18:08:27 +0000
committermiod <miod@openbsd.org>2008-05-29 18:08:27 +0000
commite5eb302b3737f4da7d761439bf6d538904ea7f91 (patch)
treef375a0b1abda76dd02a68e21bdb50c89d35f4838
parentsync (diff)
downloadwireguard-openbsd-e5eb302b3737f4da7d761439bf6d538904ea7f91.tar.xz
wireguard-openbsd-e5eb302b3737f4da7d761439bf6d538904ea7f91.zip
Revert 1.6 and reenable -fno-regmove for now -- it stroke back in sha1(1).
-rw-r--r--gnu/usr.bin/gcc/gcc/config/sh/sh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/sh/sh.c b/gnu/usr.bin/gcc/gcc/config/sh/sh.c
index 3e31d619460..9f138a6970c 100644
--- a/gnu/usr.bin/gcc/gcc/config/sh/sh.c
+++ b/gnu/usr.bin/gcc/gcc/config/sh/sh.c
@@ -8104,6 +8104,9 @@ sh_override_options (void)
#if defined(OPENBSD_NATIVE) || defined(OPENBSD_CROSS)
/* disable stack protection for now */
flag_propolice_protection = 0;
+
+ /* -fregmove is known to produce bad code on SuperH */
+ flag_regmove = 0;
#endif
sh_cpu = CPU_SH1;