mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Reserve register t7 on alpha to point at per-cpu global variables.
This commit is contained in:
parent
0fa301ad86
commit
20b11a6003
2 changed files with 4 additions and 2 deletions
|
|
@ -34,7 +34,8 @@ 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).
|
||||
# Also, reserve register t7 to point at per-cpu global variables.
|
||||
#
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -mno-fp-regs -Wa,-mev56
|
||||
CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev56
|
||||
.endif
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@ 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).
|
||||
# Also, reserve register t7 to point at per-cpu global variables.
|
||||
#
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
CFLAGS+= -mno-fp-regs -Wa,-mev56
|
||||
CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev56
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue