Port-sh3 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sh3 libgcc
I've finally figured out why my new libgcc & libc have conflicting functions
and build fails in rescue/. config.gcc doesn't match sh*--netbsdelf and
definitions in config/sh/t-netbsd is overriden by some common ones.
Masao
Index: gnu/dist/gcc4/gcc/config.gcc
===================================================================
RCS file: /cvsroot/src/gnu/dist/gcc4/gcc/config.gcc,v
retrieving revision 1.19
diff -u -r1.19 config.gcc
--- gnu/dist/gcc4/gcc/config.gcc 11 Oct 2008 05:03:43 -0000 1.19
+++ gnu/dist/gcc4/gcc/config.gcc 6 Dec 2009 15:31:30 -0000
@@ -1967,7 +1967,7 @@
# SHmedia, 64-bit ABI
tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd
sh/t-netbsd-sh5-64"
;;
- *-*-netbsd)
+ *-*-netbsd*)
tmake_file="${tmake_file} sh/t-netbsd"
;;
sh64*-*-linux*)
Index: gnu/dist/gcc4/gcc/config/sh/t-netbsd
===================================================================
RCS file: /cvsroot/src/gnu/dist/gcc4/gcc/config/sh/t-netbsd,v
retrieving revision 1.2
diff -u -r1.2 t-netbsd
--- gnu/dist/gcc4/gcc/config/sh/t-netbsd 12 May 2006 00:56:35 -0000
1.2
+++ gnu/dist/gcc4/gcc/config/sh/t-netbsd 6 Dec 2009 15:31:31 -0000
@@ -3,7 +3,7 @@
# Use sh specific libgcc-std.ver to avoid exporting some
# lib1func routines which shoud not be called via PLT.
-SHLIB_MAPFILES = $(srcdir)/config/sh/libgcc-std.ver
+SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver
LIB2FUNCS_EXTRA=
--
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635
Home |
Main Index |
Thread Index |
Old Index