summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-12-19 02:20:12 (GMT)
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-27 19:45:18 (GMT)
commitbf041633a52931e59aa1f902c85cad38abb9fb69 (patch)
tree32b7b40fae46de4510913db7b4165a8e861a30d8
parent2905fd49a8337ae08e2bcec7645f498fc7da4015 (diff)
downloaddepthcharge-firmware-glimmer-5217.B.tar.gz
depthcharge-firmware-glimmer-5217.B.tar.xz
x86: Stop building with 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. BUG=None TEST=Built and booted with coreboot and depthcharge on link. BRANCH=None Change-Id: I77f5a1fc94aa579345742e6fb84b88761d42bc13 Original-Change-Id: Iaea387f4e040ba3a8cc32ea179da25fe87684898 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/183983 Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org> Commit-Queue: Shawn Nematbakhsh <shawnn@chromium.org> Tested-by: Shawn Nematbakhsh <shawnn@chromium.org>
-rw-r--r--src/arch/x86/build_vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/build_vars b/src/arch/x86/build_vars
index 98f1a8a..02b5a86 100644
--- a/src/arch/x86/build_vars
+++ b/src/arch/x86/build_vars
@@ -18,6 +18,6 @@
##
VB_FIRMWARE_ARCH=x86
-ARCH_ABI_FLAGS += -mpreferred-stack-boundary=2 -mregparm=3
+ARCH_ABI_FLAGS += -mpreferred-stack-boundary=2
ARCH_LINK_FLAGS := -Wl,--wrap=__divdi3 -Wl,--wrap=__udivdi3 \
-Wl,--wrap=__moddi3 -Wl,--wrap=__umoddi3