summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Erdely <merdely@cvs.openbsd.org>2008-06-09 23:08:36 +0000
committerMichael Erdely <merdely@cvs.openbsd.org>2008-06-09 23:08:36 +0000
commited38349a6154d283c7f4d8666c2accc69d917436 (patch)
tree9e8e246a98e540abad1aded754f1ec7a5b2d0606
parent745a31d28b64181d4545890433494283dd54cadd (diff)
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