diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-07-01 11:31:40 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-07-01 20:55:18 +0200 |
commit | 909b916e56dcbb9e4fa1334055cea998b03d99b4 (patch) | |
tree | 1673868b4a08bce00df5f3253140545b00202e22 /payloads/libpayload | |
parent | d0ed7eef7413cc753b03e2cfba36ef9208491d71 (diff) |
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>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/arch/x86/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/x86/Makefile.inc b/payloads/libpayload/arch/x86/Makefile.inc index 87b3e9e842..6517bf196c 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 |