[MLton-commit] r4142
Stephen Weeks
MLton@mlton.org
Thu, 3 Nov 2005 15:53:07 -0800
Eliminated -fcall-used-g[57], which cause segfaults on Solaris 10.
----------------------------------------------------------------------
U mlton/trunk/bin/mlton-script
U mlton/trunk/runtime/Makefile
----------------------------------------------------------------------
Modified: mlton/trunk/bin/mlton-script
===================================================================
--- mlton/trunk/bin/mlton-script 2005-11-03 18:29:18 UTC (rev 4141)
+++ mlton/trunk/bin/mlton-script 2005-11-03 23:53:05 UTC (rev 4142)
@@ -77,8 +77,6 @@
-target-cc-opt darwin '-I/sw/include' \
-target-cc-opt solaris \
'-Wa,-xarch=v8plusa
- -fcall-used-g5
- -fcall-used-g7
-mcpu=ultrasparc' \
-target-cc-opt sparc '-mcpu=v8 -m32' \
-target-cc-opt x86 \
Modified: mlton/trunk/runtime/Makefile
===================================================================
--- mlton/trunk/runtime/Makefile 2005-11-03 18:29:18 UTC (rev 4141)
+++ mlton/trunk/runtime/Makefile 2005-11-03 23:53:05 UTC (rev 4142)
@@ -32,7 +32,7 @@
endif
ifeq ($(TARGET_OS), solaris)
-FLAGS += -Wa,-xarch=v8plusa -fcall-used-g5 -fcall-used-g7 -funroll-all-loops -mcpu=ultrasparc
+FLAGS += -Wa,-xarch=v8plusa -funroll-all-loops -mcpu=ultrasparc
endif
ifeq ($(TARGET), self)