summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-09-06 07:27:41 +0000
committerpeter <peter@FreeBSD.org>2002-09-06 07:27:41 +0000
commit907be9c6f2f035ab524f8fe3f942556236d335e1 (patch)
tree39af6f94b4c9cb59758160bdce88dddc134d191f /share
parent4446570abffaa8bb634aecab0e8b85c27033979b (diff)
downloadFreeBSD-src-907be9c6f2f035ab524f8fe3f942556236d335e1.zip
FreeBSD-src-907be9c6f2f035ab524f8fe3f942556236d335e1.tar.gz
Bump the -mev56 to -mev6. Otherwise, when you compile with gcc using
ev6 or pca56 etc this downgrades the cpu specification passed to gas. As a result, gas will fail when gcc generates media instructions (in uipc_usrreq.c). This only affects what gas will accept, not what gcc generates or what our *.s file contain.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.kern.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk
index edc21ef..4d1be9c 100644
--- a/share/mk/bsd.kern.mk
+++ b/share/mk/bsd.kern.mk
@@ -28,11 +28,11 @@ CFLAGS+= -mpreferred-stack-boundary=2
#
# On the alpha, make sure that we don't use floating-point registers and
-# allow the use of EV56 instructions (only needed for low-level i/o).
+# allow the use of BWX etc instructions (only needed for low-level i/o).
# Also, reserve register t7 to point at per-cpu global variables.
#
.if ${MACHINE_ARCH} == "alpha"
-CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev56
+CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev6
.endif
#
OpenPOWER on IntegriCloud