mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Reserve register t7 on alpha to point at per-cpu global variables.
This commit is contained in:
parent
0fa301ad86
commit
20b11a6003
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59722
@ -34,7 +34,8 @@ CFLAGS+= -mpreferred-stack-boundary=2
|
|||||||
#
|
#
|
||||||
# On the alpha, make sure that we don't use floating-point registers and
|
# 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 EV56 instructions (only needed for low-level i/o).
|
||||||
|
# Also, reserve register t7 to point at per-cpu global variables.
|
||||||
#
|
#
|
||||||
.if ${MACHINE_ARCH} == "alpha"
|
.if ${MACHINE_ARCH} == "alpha"
|
||||||
CFLAGS+= -mno-fp-regs -Wa,-mev56
|
CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev56
|
||||||
.endif
|
.endif
|
||||||
|
@ -34,7 +34,8 @@ CFLAGS+= -mpreferred-stack-boundary=2
|
|||||||
#
|
#
|
||||||
# On the alpha, make sure that we don't use floating-point registers and
|
# 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 EV56 instructions (only needed for low-level i/o).
|
||||||
|
# Also, reserve register t7 to point at per-cpu global variables.
|
||||||
#
|
#
|
||||||
.if ${MACHINE_ARCH} == "alpha"
|
.if ${MACHINE_ARCH} == "alpha"
|
||||||
CFLAGS+= -mno-fp-regs -Wa,-mev56
|
CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev56
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user