summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-07 11:04:41 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-07 11:04:41 (GMT)
commit3d8001821e8794ac7a1304a04b59008f38fd6111 (patch)
tree5d4e03c3f49b1475d80d7bf18f2a783f0a38902f
parenta0c6dea17640aaec233a93de05a7dffb44653b57 (diff)
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(+)
-rw-r--r--patches/gcc/4.3.2/370-sh-no-libc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/gcc/4.3.2/370-sh-no-libc.patch b/patches/gcc/4.3.2/370-sh-no-libc.patch
new file mode 100644
index 0000000..1400748
--- /dev/null
+++ b/patches/gcc/4.3.2/370-sh-no-libc.patch
@@ -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 \