From 46e00e63805f85c05449ce09cd843a18b76ca665 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 18 Dec 2013 18:23:24 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/180874 Reviewed-by: Randall Spangler Reviewed-by: Stefan Reinauer Tested-by: Gabe Black Commit-Queue: Gabe Black --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d4b6245f..ffe3946d 100644 --- a/Makefile +++ b/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} \ -- cgit v1.2.1