Skip to contentSkip to conversation

TRAB: make independent of specific libgcc helper routines

PATCH New Wolfgang Denk 1 participant 2 messages Aug 12, 2009 – Aug 21, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TRAB: make independent of specific libgcc helper routines

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.

---
 board/trab/Makefile   |    1 -
 board/trab/u-boot.lds |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
board/trab/Makefile +0 -1
index 2afad88..27d75f3 100644
@@ -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=) $@
 
board/trab/u-boot.lds +0 -1
index d8bcfa4..c3d5c49 100644
@@ -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)
Signature · 1 line
1.6.0.6
author Applied
#1 lore raw

PATCH 1/1 TRAB: make independent of specific libgcc helper routines

Quoted 11 lines · In message <[email protected]> I wrote:

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.

---
 board/trab/Makefile   |    1 -
 board/trab/u-boot.lds |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

Applied.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Humanity has the  stars  in  its  future,  and  that  future  is  too
important  to be lost under the burden of juvenile folly and ignorant
superstition.                                          - Isaac Asimov