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(+)
This commit is contained in:
Yann E. MORIN" 2009-03-07 11:04:41 +00:00
parent a0c6dea176
commit 3d8001821e

View File

@ -0,0 +1,12 @@
diff -durN gcc-4.3.2.orig/libgcc/config/sh/t-linux gcc-4.3.2/libgcc/config/sh/t-linux
--- gcc-4.3.2.orig/libgcc/config/sh/t-linux 2009-03-07 11:42:38.000000000 +0100
+++ gcc-4.3.2/libgcc/config/sh/t-linux 2009-03-07 11:03:39.000000000 +0100
@@ -15,7 +15,7 @@
-Wl,--soname=@shlib_base_name@.so.1 \
-Wl,--version-script=@shlib_map_file@ \
-o @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_flags@ \
- @shlib_objs@ -lc && \
+ @shlib_objs@ && \
rm -f @multilib_dir@/@shlib_base_name@.so && \
if [ -f @multilib_dir@/@shlib_base_name@.so.1 ]; then \
mv -f @multilib_dir@/@shlib_base_name@.so.1 \