aboutsummaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-09-06 07:27:41 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-09-06 07:27:41 +0000
commitc253d72f0a3db50f79808fffdbc424b1a5199d2c (patch)
tree39af6f94b4c9cb59758160bdce88dddc134d191f /share/mk
parent1faf202ea93b367ba8943658f878f21deb199ed8 (diff)
downloadsrc-c253d72f0a3db50f79808fffdbc424b1a5199d2c.tar.gz
src-c253d72f0a3db50f79808fffdbc424b1a5199d2c.zip
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.
Notes
Notes: svn path=/head/; revision=103003
Diffstat (limited to 'share/mk')
-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 edc21efbe802..4d1be9c691c1 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
#