commit | 909b916e56dcbb9e4fa1334055cea998b03d99b4 | [log] [tgz] |
---|---|---|
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | Wed Jul 01 11:31:40 2015 -0700 |
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | Wed Jul 01 20:55:18 2015 +0200 |
tree | 1673868b4a08bce00df5f3253140545b00202e22 | |
parent | d0ed7eef7413cc753b03e2cfba36ef9208491d71 [diff] [blame] |
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> Reviewed-on: http://review.coreboot.org/10751 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
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