[coreboot] [commit] r5455 - trunk/src/arch/i386

repository service svn at coreboot.org
Sat Apr 17 19:59:40 CEST 2010

Author: stepan
Date: Sat Apr 17 19:59:40 2010
New Revision: 5455
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5455

This piece of code was somehow lost in the switch to Kconfig, and re-activates
proper libgcc handling, which we introduced by revision r4679, which was

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/src/arch/i386/Makefile.inc
--- trunk/src/arch/i386/Makefile.inc	Sat Apr 17 01:01:34 2010	(r5454)
+++ trunk/src/arch/i386/Makefile.inc	Sat Apr 17 19:59:40 2010	(r5455)
@@ -81,7 +81,7 @@
 $(obj)/coreboot_ram.o: $(obj)/arch/i386/lib/c_start.o $$(drivers) $(obj)/coreboot.a $(LIBGCC_FILE_NAME)
 	@printf "    CC         $(subst $(obj)/,,$(@))\n"
-	$(CC) -nostdlib -r -o $@ $(obj)/arch/i386/lib/c_start.o $(drivers) -Wl,--start-group $(obj)/coreboot.a $(LIBGCC_FILE_NAME) -Wl,--end-group
+	$(CC) -nostdlib -r -o $@ $(obj)/arch/i386/lib/c_start.o $(drivers) -Wl,--wrap,__divdi3 -Wl,--wrap,__udivdi3 -Wl,--wrap,__moddi3 -Wl,--wrap,__umoddi3 -Wl,--start-group $(obj)/coreboot.a $(LIBGCC_FILE_NAME) -Wl,--end-group
 $(obj)/coreboot.a: $$(objs)
 	@printf "    AR         $(subst $(obj)/,,$(@))\n"

More information about the coreboot mailing list