Displaying 2 results from an estimated 2 matches for "fwclass".
Did you mean:
fclass
2016 Oct 20
0
[PATCH] Fix for crash with certain EFIs
...is not supported by the Windows ABI.
Without this, syslinux crashes on some UEFI implementations.
--- syslinux.orig/mk/com32.mk
+++ syslinux/mk/com32.mk
@@ -29,6 +29,9 @@
ifeq ($(strip $(ARCH)),x86_64)
GCCOPT += $(call gcc_ok,-m64,)
GCCOPT += $(call gcc_ok,-march=x86-64)
+ifeq ($(FWCLASS),EFI)
+ GCCOPT += $(call gcc_ok,-mno-red-zone)
+endif
#let the stack-boundary default to whatever it is on 64bit
#GCCOPT += $(call gcc_ok,-mpreferred-stack-boundary=8,)
#GCCOPT += $(call gcc_ok,-incoming-stack-boundary=8,)
@@ -48,9 +51,7 @@
GCCOPT += $(call gcc_ok,-fa...
2016 Oct 19
4
[PATCH] Fix for crash with certain EFIs
Hi Ady,
Would it work if we removed "ifdef EFI_BUILD" condition and just add
-mno-red-zone for all x86_64 builds? If not, do you have any ideas how
to pass this flag?
This could work, because the patch is adding the -mno-red-zone flag
only for x86_64 builds, which are only used in the form of the efi64
target. The efi32 and bios targets are both 32-bit.
BTW. I also tried 6.04-pre1 and