Skip to content
Snippets Groups Projects
Commit b5ffb193 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

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.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent 1aada9cd
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,6 @@ $(obj)trab_fkt.srec: $(OBJS_FKT) $(LIB) ...@@ -49,7 +49,6 @@ $(obj)trab_fkt.srec: $(OBJS_FKT) $(LIB)
$(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_fkt $^ $(LIB) \ $(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_fkt $^ $(LIB) \
-L$(obj)../../examples/standalone -lstubs \ -L$(obj)../../examples/standalone -lstubs \
-L$(obj)../../lib_generic -lgeneric \ -L$(obj)../../lib_generic -lgeneric \
$(obj)../../lib_arm/div0.o \
$(PLATFORM_LIBS) $(PLATFORM_LIBS)
$(OBJCOPY) -O srec $(<:.o=) $@ $(OBJCOPY) -O srec $(<:.o=) $@
......
...@@ -33,7 +33,6 @@ SECTIONS ...@@ -33,7 +33,6 @@ SECTIONS
.text : .text :
{ {
cpu/arm920t/start.o (.text) cpu/arm920t/start.o (.text)
lib_arm/_umodsi3.o (.text)
lib_generic/zlib.o (.text) lib_generic/zlib.o (.text)
lib_generic/crc32.o (.text) lib_generic/crc32.o (.text)
lib_generic/string.o (.text) lib_generic/string.o (.text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment