summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-05-12 21:51:20 +0000
committerpeter <peter@FreeBSD.org>2000-05-12 21:51:20 +0000
commitb9125258de14ed1e9a7b4fff3e7ea09e81e41dfa (patch)
treef8f9d844fced37ab4c1fbafbff031ad9a34a276b
parent0f1968a738502e388bd99a8120cd30a7c4bef4b7 (diff)
downloadFreeBSD-src-b9125258de14ed1e9a7b4fff3e7ea09e81e41dfa.zip
FreeBSD-src-b9125258de14ed1e9a7b4fff3e7ea09e81e41dfa.tar.gz
Stop libficl from using floating point registers - this was cauing
dictDelete() to fault early on the Alpha and was the original cause of the Alpha ficl failures.
-rw-r--r--sys/boot/ficl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index a99ee62..f28b41c 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -4,6 +4,9 @@
BASE_SRCS= dict.c ficl.c math64.c stack.c vm.c words.c
SRCS= ${BASE_SRCS} sysdep.c softcore.c
CLEANFILES= softcore.c testmain testmain.o
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -mno-fp-regs
+.endif
.ifmake testmain
CFLAGS+= -DTESTMAIN -D_TESTMAIN
SRCS+= testmain.c
OpenPOWER on IntegriCloud