I've now tried to build c6x-uclinux, not only c6x-elf, and found another
problem: crtbegin.o wasn't built. I committed the following patch;
please doublecheck there wasn't a reason for how it was being done
previously.
Bernd
Index: libgcc/config.host
===================================================================
--- libgcc/config.host (revision 181803)
+++ libgcc/config.host (working copy)
@@ -1068,9 +1068,11 @@ spu-*-elf*)
libgcc_cache64k.a libgcc_cache128k.a"
;;
tic6x-*-uclinux)
- tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp
c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld
t-slibgcc-elf-ver t-gnu-prefix"
+ tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp \
+ c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic \
+ t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix"
tm_file="$tm_file c6x/c6x-abi.h"
- extra_parts="crtbeginS.o crtendS.o crti.o crtn.o"
+ extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
unwind_header=config/c6x/unwind-c6x.h
;;
tic6x-*-elf)
Index: libgcc/ChangeLog
===================================================================
--- libgcc/ChangeLog (revision 181803)
+++ libgcc/ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2011-11-29 Bernd Schmidt <[email protected]>
+
+ * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
+ formatting.
+
2011-11-28 Rainer Orth <[email protected]>
PR other/51022