summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/loader
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-05-05 11:00:50 +0000
committerandrew <andrew@FreeBSD.org>2015-05-05 11:00:50 +0000
commit69bbb6bc36ae0a705807777558d05420dfc01589 (patch)
tree14a18bea28eb4c198c1144d8bf2049e843462f63 /sys/boot/efi/loader
parent509c82b2c28ffec1a51141e75c487b19bc4c0f8d (diff)
downloadFreeBSD-src-69bbb6bc36ae0a705807777558d05420dfc01589.zip
FreeBSD-src-69bbb6bc36ae0a705807777558d05420dfc01589.tar.gz
Disable the use of floating-point and vector registers in the loader. They
need the vfp unit to be enabled which may not be the case.
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r--sys/boot/efi/loader/arch/arm64/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/efi/loader/arch/arm64/Makefile.inc b/sys/boot/efi/loader/arch/arm64/Makefile.inc
index e5064cc..82d8cef 100644
--- a/sys/boot/efi/loader/arch/arm64/Makefile.inc
+++ b/sys/boot/efi/loader/arch/arm64/Makefile.inc
@@ -7,3 +7,5 @@ SRCS+= exec.c \
.PATH: ${.CURDIR}/../../arm64/libarm64
CFLAGS+=-I${.CURDIR}/../../arm64/libarm64
SRCS+= cache.c
+
+CFLAGS+= -msoft-float -mgeneral-regs-only
OpenPOWER on IntegriCloud