[U-Boot] [PATCH] TRAB: make independent of specific libgcc helper routines

Wolfgang Denk wd at denx.de
Thu Aug 13 00:37:16 CEST 2009


The TRAB board references local libgcc helper routines
(lib_arm/div0.o and lib_arm/_umodsi3.o) which cause build problems
when we try to use the normal, compiler provided libgcc instead.
Removing these references allows to build both with and without the
local libgcc helper routines.

Signed-off-by: Wolfgang Denk <wd at denx.de>
---
 board/trab/Makefile   |    1 -
 board/trab/u-boot.lds |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/board/trab/Makefile b/board/trab/Makefile
index 2afad88..27d75f3 100644
--- a/board/trab/Makefile
+++ b/board/trab/Makefile
@@ -49,7 +49,6 @@ $(obj)trab_fkt.srec:	$(OBJS_FKT) $(LIB)
 	$(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_fkt $^ $(LIB) \
 		-L$(obj)../../examples/standalone -lstubs \
 		-L$(obj)../../lib_generic -lgeneric \
-		$(obj)../../lib_arm/div0.o \
 		$(PLATFORM_LIBS)
 	$(OBJCOPY) -O srec $(<:.o=) $@
 
diff --git a/board/trab/u-boot.lds b/board/trab/u-boot.lds
index d8bcfa4..c3d5c49 100644
--- a/board/trab/u-boot.lds
+++ b/board/trab/u-boot.lds
@@ -33,7 +33,6 @@ SECTIONS
 	.text      :
 	{
 	  cpu/arm920t/start.o	(.text)
-	  lib_arm/_umodsi3.o	(.text)
 	  lib_generic/zlib.o	(.text)
 	  lib_generic/crc32.o	(.text)
 	  lib_generic/string.o	(.text)
-- 
1.6.0.6



More information about the U-Boot mailing list