Index: uboot_davinci/lib_arm/div0.c =================================================================== --- uboot_davinci.orig/lib_arm/div0.c +++ uboot_davinci/lib_arm/div0.c @@ -22,9 +22,3 @@ */ /* Replacement (=dummy) for GNU/Linux division-by zero handler */ -void __div0 (void) -{ - extern void hang (void); - - hang(); -} Index: uboot_davinci/Makefile =================================================================== --- uboot_davinci.orig/Makefile +++ uboot_davinci/Makefile @@ -250,7 +250,7 @@ LIBS := $(addprefix $(obj),$(LIBS)) .PHONY : $(LIBS) $(VERSION_FILE) # Add GCC lib -PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc +PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -lgcc_eh # The "tools" are needed early, so put this first # Don't include stuff already done in $(LIBS)