Displaying 8 results from an estimated 8 matches for "d__firmware_".
2018 Aug 02
1
[PATCH 1/2] Add fabs() implementation
When we add -ffreestanding the compiler won't get to inline this any more.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
com32/lib/math/fabs.S | 15 +++++++++++++++
mk/lib.mk | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 com32/lib/math/fabs.S
diff --git a/com32/lib/math/fabs.S b/com32/lib/math/fabs.S
new file mode 100644
index
2020 Jul 28
1
[PATCH] mk/efi: add -znoseparate-code to LD_FLAGS for EFI builds
...RCH)/syslinux.ld -Bsymbolic -pie -nostdlib
-znocombreloc \
- -L$(LIBDIR) --hash-style=gnu -m elf_$(ARCH) $(CRT0) -E
+ -znoseparate-code -L$(LIBDIR) --hash-style=gnu -m elf_$(ARCH) \
+ $(CRT0) -E
SFLAGS = $(GCCOPT) $(GCCWARN) $(ARCHOPT) \
-fomit-frame-pointer -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \
2016 Oct 20
0
[PATCH] Fix for crash with certain EFIs
...+= -mno-red-zone
EFI_SUBARCH = $(ARCH)
endif
@@ -29,7 +32,7 @@
-I$(core)/include -I$(core)/ $(ARCHOPT) \
-I$(com32)/lib/ -I$(com32)/libutil/include -std=gnu99 \
-DELF_DEBUG -DSYSLINUX_EFI -I$(objdir) \
- $(GCCWARN) -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__
-mno-red-zone \
+ $(GCCWARN) -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \
-DLDLINUX=\"$(LDLINUX)\" -fvisibility=hidden \
-Wno-unused-parameter $(GCCOPT)
--- syslinux.orig/mk/elf.mk
+++ syslinux/mk/elf.mk
@@ -27,6 +27,9 @@
ifeq ($(AR...
2016 Oct 17
1
[PATCH] Fix for crash with certain EFIs
...-red-zone
+endif
EFI_SUBARCH = $(ARCH)
endif
@@ -29,7 +32,7 @@
-I$(core)/include -I$(core)/ $(ARCHOPT) \
-I$(com32)/lib/ -I$(com32)/libutil/include -std=gnu99 \
-DELF_DEBUG -DSYSLINUX_EFI -I$(objdir) \
- $(GCCWARN) -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__
-mno-red-zone \
+ $(GCCWARN) -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ \
-DLDLINUX=\"$(LDLINUX)\" -fvisibility=hidden \
-Wno-unused-parameter $(GCCOPT)
--- syslinux-6.03-orig/mk/elf.mk
+++ syslinux-6.03/mk/elf.mk
@@ -27,6 +27,9 @@...
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
2015 Mar 14
0
[PATCH 0/1] EFI access from Com32 modules
...FLAGS)
+CFLAGS += -I$(EFIINC) -I$(EFIINC)/$(EFI_SUBARCH) \
+ -DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding \
+ -Wall \
+ -I$(core)/ $(ARCHOPT) \
+ -I$(com32)/lib/ -I$(com32)/libutil/include -std=gnu99 \
+ -DELF_DEBUG -DSYSLINUX_EFI -I$(objdir) \
+ $(GCCWARN) -D__COM32__ -D__FIRMWARE_$(FIRMWARE)__ -mno-red-zone \
+ -Wno-unused-parameter $(GCCOPT)
+
+
+
+
+## granular test pat
+LDFLAGS += -Bsymbolic -pie -nostdlib -znocombreloc \
+ -L$(LIBDIR) -m elf_$(ARCH) -E
+#
+#
+SFLAGS += $(GCCOPT) $(GCCWARN) $(ARCHOPT) \
+ -fomit-frame-pointer -D__COM32__ -D__FIRMWARE_$(FIRMWARE...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
This patch adds to the core EFI image booting capabilities.
It was tested on VMware EFI clients and HP Elitebook EFI notebooks,
only on PXE environments but it should work on non-PXE scenarios as well.
Feedback appreciated.
Best,
Patrick
Signed-off-by: Patrick Masotta <masottaus at yahoo.com>
---
diff -uprN a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c
---
2015 Nov 27
8
[PATCH 0/2] Do not use the "red zone" on EFI
From: Sylvain Gault <sylvain.gault at gmail.com>
The System V ABI for x86-64 specify that a "red zone" is an area of 128 bytes
above the current stack frame. This area can be used by a called function in
order to avoid the overhead of modifying the stack pointer. The direct effect
is that interrupt/event/signal handlers must not write to this area. In the
UEFI calling convention,