Add a patch to gcc-4.3.2 to fix building shared core compiler for SuperH.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 07 11:04:41 2009 +0000 (2009-03-07)
changeset 1239480e12d369b0
parent 1238 73c8b86a05b1
child 1240 0098c567f387
Add a patch to gcc-4.3.2 to fix building shared core compiler for SuperH.

/trunk/patches/gcc/4.3.2/370-sh-no-libc.patch | 12 12 0 0 ++++++++++++
1 file changed, 12 insertions(+)
patches/gcc/4.3.2/370-sh-no-libc.patch
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.3.2/370-sh-no-libc.patch	Sat Mar 07 11:04:41 2009 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +diff -durN gcc-4.3.2.orig/libgcc/config/sh/t-linux gcc-4.3.2/libgcc/config/sh/t-linux
     1.5 +--- gcc-4.3.2.orig/libgcc/config/sh/t-linux	2009-03-07 11:42:38.000000000 +0100
     1.6 ++++ gcc-4.3.2/libgcc/config/sh/t-linux	2009-03-07 11:03:39.000000000 +0100
     1.7 +@@ -15,7 +15,7 @@
     1.8 + 	-Wl,--soname=@shlib_base_name@.so.1 \
     1.9 + 	-Wl,--version-script=@shlib_map_file@ \
    1.10 + 	-o @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_flags@ \
    1.11 +-	@shlib_objs@ -lc && \
    1.12 ++	@shlib_objs@ && \
    1.13 + 	rm -f @multilib_dir@/@shlib_base_name@.so && \
    1.14 + 	if [ -f @multilib_dir@/@shlib_base_name@.so.1 ]; then \
    1.15 + 	  mv -f @multilib_dir@/@shlib_base_name@.so.1 \