New patch to review for coreboot: libpayload: Keep stack boundary small on x86
Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10751 -gerrit commit 97f444010dfc8f239606f9a0d6bfea1ad7677299 Author: Stefan Reinauer <stefan.reinauer@coreboot.org> Date: Wed Jul 1 11:31:40 2015 -0700 libpayload: Keep stack boundary small on x86 There is no measurable performance impact, but this positively impacts the memory used by payloads. Change-Id: Ib2bdba4a7bf2a4c2391a20b3225bbb44422d3194 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> --- payloads/libpayload/arch/x86/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/payloads/libpayload/arch/x86/Makefile.inc b/payloads/libpayload/arch/x86/Makefile.inc index 87b3e9e..6517bf1 100644 --- a/payloads/libpayload/arch/x86/Makefile.inc +++ b/payloads/libpayload/arch/x86/Makefile.inc @@ -27,6 +27,8 @@ ## SUCH DAMAGE. ## +CFLAGS += -mpreferred-stack-boundary=2 + head.o-y += head.S libc-y += main.c sysinfo.c libc-y += timer.c coreboot.c util.S
participants (1)
-
Stefan Reinauer