x86: Stop building with 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.

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>
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