[syslinux] [PATCH 0/2] Do not use the "red zone" on EFI

Patrick Masotta masottaus at yahoo.com
Mon Nov 30 05:14:00 PST 2015


>>>
> The addition of the EFI_BUILD variable inside Makefiles could potentially
> affect scripts such as package builders, perhaps even the way the
> official (pre)release archives are built(?).
<<<

I think the -mno-red-zone thing is a good catch, the rest of EFI projects all use it; 
now I wonder if there might be other similar parameters probably overlooked on EFI builds... 

The variable "EFI_BUILD" is "already" defined at /makefile by the targets "efi32:" and "efi64:" 
Celeibi's patch seems to only propagate its value and correctly use -mno-red-zone when needed. 
At first sight I cannot see this mod breaking anything. 
I just only wonder if -mno-red-zone is now applied to the "whole" EFI codebase without forgetting anycomponent of the build.

Best,Patrick


  


More information about the Syslinux mailing list