diff options
author | Gabe Black <gabeblack@chromium.org> | 2013-12-18 18:23:24 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-01-28 00:24:24 +0000 |
commit | 0c13226a90819884289b2c055cb0194cce17248f (patch) | |
tree | 0ca64560b0b658fa4553ebe7430a13942312f133 | |
parent | 04171532583052935121a3e33550cc39ef2625ec (diff) | |
download | vboot-firmware-glimmer-5217.B.tar.gz |
x86: Stop building the vboot library using regparm=3.firmware-glimmer-5217.B
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/183988
Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
Commit-Queue: Shawn Nematbakhsh <shawnn@chromium.org>
Tested-by: Shawn Nematbakhsh <shawnn@chromium.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} \ |