uClibc gcc-svn support
Peter S. Mazinger
ps.m at gmx.net
Tue Mar 7 16:36:36 UTC 2006
Hello!
Attached is what was in 100-uclibc-conf.patch (buildroot) not covered
by the upstream uclibc support changes needed for gcc-4.1.0 (2 hunks are
in already svn)
Missing is what was in t-linux-uclibc filtering glibc specific
stuff (libgcc-glibc.ver and using unwind-dw2-fde.c instead of the glibc
version).
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
-------------- next part --------------
--- gcc-4.1.0/gcc/config/cris/linux.h.mps 2006-03-07 15:23:44 +0100
+++ gcc-4.1.0/gcc/config/cris/linux.h 2006-03-07 15:36:16 +0100
@@ -74,7 +74,11 @@
#define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
#undef CRIS_SUBTARGET_VERSION
-#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
+#if UCLIBC_DEFAULT
+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"
+#else
+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
+#endif
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
--- gcc-4.1.0/gcc/config.gcc.mps 2006-03-07 15:13:15 +0100
+++ gcc-4.1.0/gcc/config.gcc 2006-03-07 15:15:56 +0100
@@ -1896,7 +1896,7 @@
;;
sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
- sh-*-linux* | sh[346lbe]*-*-linux* | \
+ sh*-*-linux* | sh[346lbe]*-*-linux* | \
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
tmake_file="${tmake_file} sh/t-sh sh/t-elf"
--- gcc-4.1.0/zlib/configure.mps 2006-03-07 18:03:50 +0100
+++ gcc-4.1.0/zlib/configure 2006-03-07 18:03:56 +0100
@@ -3422,7 +3422,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/libstdc++-v3/configure.mps 2006-03-07 18:03:11 +0100
+++ gcc-4.1.0/libstdc++-v3/configure 2006-03-07 18:03:21 +0100
@@ -4001,7 +4001,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/libobjc/configure.mps 2006-03-07 18:02:21 +0100
+++ gcc-4.1.0/libobjc/configure 2006-03-07 18:02:31 +0100
@@ -3308,7 +3308,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/libgfortran/configure.mps 2006-03-07 18:01:09 +0100
+++ gcc-4.1.0/libgfortran/configure 2006-03-07 18:01:23 +0100
@@ -3695,7 +3695,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/boehm-gc/configure.mps 2006-03-07 18:00:16 +0100
+++ gcc-4.1.0/boehm-gc/configure 2006-03-07 18:00:28 +0100
@@ -4316,7 +4316,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/libmudflap/configure.mps 2006-03-07 18:01:59 +0100
+++ gcc-4.1.0/libmudflap/configure 2006-03-07 18:02:07 +0100
@@ -5378,7 +5378,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/libffi/configure.mps 2006-03-07 18:00:40 +0100
+++ gcc-4.1.0/libffi/configure 2006-03-07 18:00:54 +0100
@@ -3453,7 +3453,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/libssp/configure.mps 2006-03-07 18:02:41 +0100
+++ gcc-4.1.0/libssp/configure 2006-03-07 18:02:48 +0100
@@ -4409,7 +4409,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/contrib/regression/objs-gcc.sh.mps 2006-03-07 15:19:13 +0100
+++ gcc-4.1.0/contrib/regression/objs-gcc.sh 2006-03-07 15:19:39 +0100
@@ -105,6 +105,10 @@
then
make all-gdb all-dejagnu all-ld || exit 1
make install-gdb install-dejagnu install-ld || exit 1
+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
+ then
+ make all-gdb all-dejagnu all-ld || exit 1
+ make install-gdb install-dejagnu install-ld || exit 1
elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
make bootstrap || exit 1
make install || exit 1
--- gcc-4.1.0/libjava/classpath/ltconfig.mps 2006-03-07 18:24:21 +0100
+++ gcc-4.1.0/libjava/classpath/ltconfig 2006-03-07 18:24:42 +0100
@@ -603,7 +603,7 @@
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
esac
@@ -1251,7 +1251,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
version_type=linux
need_lib_prefix=no
need_version=no
--- gcc-4.1.0/libjava/classpath/configure.mps 2006-03-07 18:24:56 +0100
+++ gcc-4.1.0/libjava/classpath/configure 2006-03-07 18:25:03 +0100
@@ -4676,7 +4676,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/libjava/configure.mps 2006-03-07 18:01:37 +0100
+++ gcc-4.1.0/libjava/configure 2006-03-07 18:01:44 +0100
@@ -5133,7 +5133,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/configure.in.mps 2006-03-07 15:03:03 +0100
+++ gcc-4.1.0/configure.in 2006-03-07 15:03:14 +0100
@@ -341,7 +341,7 @@
;;
"")
case "${target}" in
- *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)
+ *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
# Enable libmudflap by default in GNU and friends.
;;
*-*-freebsd*)
--- gcc-4.1.0/configure.mps 2006-03-07 15:03:08 +0100
+++ gcc-4.1.0/configure 2006-03-07 15:03:31 +0100
@@ -1133,7 +1133,7 @@
;;
"")
case "${target}" in
- *-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)
+ *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
# Enable libmudflap by default in GNU and friends.
;;
*-*-freebsd*)
--- gcc-4.1.0/libtool.m4.mps 2006-03-07 17:51:59 +0100
+++ gcc-4.1.0/libtool.m4 2006-03-07 17:52:57 +0100
@@ -739,7 +739,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
lt_cv_deplibs_check_method=pass_all
;;
--- gcc-4.1.0/ltconfig.mps 2006-03-07 17:53:41 +0100
+++ gcc-4.1.0/ltconfig 2006-03-07 18:20:58 +0100
@@ -603,7 +603,7 @@
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
esac
@@ -1251,7 +1251,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
version_type=linux
need_lib_prefix=no
need_version=no
More information about the uClibc
mailing list