From c253d72f0a3db50f79808fffdbc424b1a5199d2c Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 6 Sep 2002 07:27:41 +0000 Subject: [PATCH] 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. --- share/mk/bsd.kern.mk | 4 ++-- sys/conf/kern.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk index edc21efbe80..4d1be9c691c 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 # diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index edc21efbe80..4d1be9c691c 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/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 #