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.
This commit is contained in:
parent
1faf202ea9
commit
c253d72f0a
@ -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
|
||||
|
||||
#
|
||||
|
@ -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
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user