[coreboot-gerrit] New patch to review for coreboot: Only apply libgcc workaround on x86-32

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Sat Aug 1 03:00:53 CEST 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11110

-gerrit

commit 986a0a3dc260cce841e1b2eb43d046c4cd790124
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Fri Jul 31 17:56:03 2015 -0700

    Only apply libgcc workaround on x86-32
    
    This should probably be moved out of lib and to arch/x86,
    since it does not even apply on x86-64, and ARM has its
    own copy of libgcc.
    
    Change-Id: I4fca1323927f8d37128472ed60d059f7a459fc71
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 src/lib/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index bda7586..8597667 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -94,6 +94,7 @@ romstage-y += compute_ip_checksum.c
 ifeq ($(CONFIG_COMPILER_GCC),y)
 romstage-$(CONFIG_ARCH_ROMSTAGE_X86_32) += gcc.c
 ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += gcc.c
+smm-$(CONFIG_ARCH_RAMSTAGE_X86_32) += gcc.c
 endif
 
 romstage-$(CONFIG_GENERIC_UDELAY) += timer.c
@@ -166,7 +167,6 @@ smm-y += region.c
 smm-y += boot_device.c
 smm-y += fmap.c
 smm-y += cbfs.c memcmp.c
-smm-$(CONFIG_COMPILER_GCC) += gcc.c
 
 bootblock-y += version.c
 romstage-y += version.c



More information about the coreboot-gerrit mailing list