diff options
author | andrew <andrew@FreeBSD.org> | 2015-05-05 11:00:50 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-05-05 11:00:50 +0000 |
commit | 69bbb6bc36ae0a705807777558d05420dfc01589 (patch) | |
tree | 14a18bea28eb4c198c1144d8bf2049e843462f63 /sys/boot/efi/libefi | |
parent | 509c82b2c28ffec1a51141e75c487b19bc4c0f8d (diff) | |
download | FreeBSD-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/libefi')
-rw-r--r-- | sys/boot/efi/libefi/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile index 88ca242..d248927 100644 --- a/sys/boot/efi/libefi/Makefile +++ b/sys/boot/efi/libefi/Makefile @@ -6,6 +6,9 @@ INTERNALLIB= SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \ libefi.c time.c +.if ${MACHINE_CPUARCH} == "aarch64" +CFLAGS+= -msoft-float -mgeneral-regs-only +.endif .if ${MACHINE_ARCH} == "amd64" CFLAGS+= -fPIC -mno-red-zone .endif |