summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormerdely <merdely@openbsd.org>2008-06-09 23:08:35 +0000
committermerdely <merdely@openbsd.org>2008-06-09 23:08:35 +0000
commitbc05205fd8e9dda07a1550f6f068364c338a33d4 (patch)
tree6aa46819f7deaae03f6ffef8cc69b8d5356c89d6
parentsimplify math for arc4random_uniform() suggested by (diff)
downloadwireguard-openbsd-bc05205fd8e9dda07a1550f6f068364c338a33d4.tar.xz
wireguard-openbsd-bc05205fd8e9dda07a1550f6f068364c338a33d4.zip
Make gcc on alpha use -mieee by default. This fixes many FPE problems
with several ports on alpha and does not produce a significant slowdown. Suggestion to patch gcc directly from millert@ Diff and ok from miod@ ok pvalchev@, martin@, deraadt@
-rw-r--r--gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h
index 8d2a8bca068..4077a71c359 100644
--- a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h
@@ -21,7 +21,8 @@ Boston, MA 02111-1307, USA. */
/* Controlling the compilation driver. */
#undef TARGET_DEFAULT
-#define TARGET_DEFAULT (MASK_FP | MASK_FPREGS | MASK_GAS)
+#define TARGET_DEFAULT \
+ (MASK_FP | MASK_FPREGS | MASK_IEEE | MASK_IEEE_CONFORMANT | MASK_GAS)
/* alpha needs __start. */
#undef LINK_SPEC