mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
x86: Stop building the vboot library using regparm=3.
This complicates things in a number of ways, including making GDB not work properly because it assumes the standard ABI in some places. Measurements show that it doesn't really make much difference performance wise. BUG=None TEST=Built and booted with coreboot and depthcharge on link. BRANCH=None Change-Id: I7f004f8cf83b7c1a78ab12f814477504a5a5c28c Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/180874 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
0417153258
commit
46e00e6380
2
Makefile
2
Makefile
@@ -132,7 +132,7 @@ CC ?= i686-pc-linux-gnu-gcc
|
||||
CFLAGS ?= \
|
||||
-ffunction-sections -fvisibility=hidden -fno-strict-aliasing \
|
||||
-fomit-frame-pointer -fno-toplevel-reorder -fno-dwarf2-cfi-asm \
|
||||
-mpreferred-stack-boundary=2 -mregparm=3 \
|
||||
-mpreferred-stack-boundary=2 \
|
||||
${COMMON_FLAGS}
|
||||
else ifeq (${FIRMWARE_ARCH}, x86_64)
|
||||
CFLAGS ?= ${COMMON_FLAGS} \
|
||||
|
||||
Reference in New Issue
Block a user