powerpcspe: Don't crash the loader on ubldr with SPE instructions.
-msoft-float seems to be insufficient for disabling the SPE on powerpcspe. Force it off with -mno-spe as well. This prevents a crash in ubldr on powerpcspe.
This commit is contained in:
parent
2d714dbcc7
commit
89797c881d
@ -115,6 +115,11 @@ CFLAGS+= -march=rv64imac -mabi=lp64
|
||||
CFLAGS+= -msoft-float
|
||||
.endif
|
||||
|
||||
# -msoft-float seems to be insufficient for powerpcspe
|
||||
.if ${MACHINE_ARCH} == "powerpcspe"
|
||||
CFLAGS+= -mno-spe
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "i386" || (${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 1)
|
||||
CFLAGS+= -march=i386
|
||||
CFLAGS.gcc+= -mpreferred-stack-boundary=2
|
||||
|
Loading…
Reference in New Issue
Block a user