diff options
author | 2015-11-07 17:53:23 +0000 | |
---|---|---|
committer | 2015-11-07 17:53:23 +0000 | |
commit | bc4575198ff69b5ed28e746c9eca7d110f88ed42 (patch) | |
tree | 5e7dd0c2499263d4cd520846afa638647d3e4c74 | |
parent | Emulate loops performed in the software crypto driver more closely (diff) | |
download | wireguard-openbsd-bc4575198ff69b5ed28e746c9eca7d110f88ed42.tar.xz wireguard-openbsd-bc4575198ff69b5ed28e746c9eca7d110f88ed42.zip |
Disable red-zone since EFI is running with a different ABI.
This may fixes the issue when loading a compressed kernel on macbook
reported by gonzalo, jung, Joel Roberts, Bryan Vyhmeist and many.
-rw-r--r-- | sys/arch/amd64/stand/efiboot/Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/efiboot/Makefile.common b/sys/arch/amd64/stand/efiboot/Makefile.common index e2d5afe690d..f01b4970e3e 100644 --- a/sys/arch/amd64/stand/efiboot/Makefile.common +++ b/sys/arch/amd64/stand/efiboot/Makefile.common @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.common,v 1.3 2015/09/23 03:27:59 yasuoka Exp $ +# $OpenBSD: Makefile.common,v 1.4 2015/11/07 17:53:23 yasuoka Exp $ S= ${.CURDIR}/../../../../.. SADIR= ${.CURDIR}/../.. @@ -14,7 +14,7 @@ LDFLAGS+= -nostdlib -T${.CURDIR}/../${LDSCRIPT} -Bsymbolic -shared COPTS+= -DEFIBOOT -DNEEDS_HEAP_H -I${.CURDIR}/.. COPTS+= -I${EFIDIR}/include -I${S}/stand/boot COPTS+= -ffreestanding -std=gnu99 -COPTS+= -fshort-wchar -fPIC +COPTS+= -fshort-wchar -fPIC -mno-red-zone .if ${SOFTRAID:L} == "yes" COPTS+= -DSOFTRAID .endif |