1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/binutils/2.17.50.0.10/100-uclibc-conf.patch Thu May 24 17:51:49 2007 +0000
1.3 @@ -0,0 +1,139 @@
1.4 +--- binutils-2.16.91.0.7/bfd/configure
1.5 ++++ binutils-2.16.91.0.7/bfd/configure
1.6 +@@ -3576,7 +3576,7 @@
1.7 + ;;
1.8 +
1.9 + # This must be Linux ELF.
1.10 +-linux-gnu*)
1.11 ++linux-gnu*|linux-uclibc*)
1.12 + lt_cv_deplibs_check_method=pass_all
1.13 + ;;
1.14 +
1.15 +--- binutils-2.16.91.0.7/binutils/configure
1.16 ++++ binutils-2.16.91.0.7/binutils/configure
1.17 +@@ -3411,7 +3411,7 @@
1.18 + ;;
1.19 +
1.20 + # This must be Linux ELF.
1.21 +-linux-gnu*)
1.22 ++linux-gnu*|linux-uclibc*)
1.23 + lt_cv_deplibs_check_method=pass_all
1.24 + ;;
1.25 +
1.26 +--- binutils-2.16.91.0.7/configure
1.27 ++++ binutils-2.16.91.0.7/configure
1.28 +@@ -1270,7 +1270,7 @@
1.29 + am33_2.0-*-linux*)
1.30 + noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.31 + ;;
1.32 +- sh-*-linux*)
1.33 ++ sh*-*-linux*)
1.34 + noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.35 + ;;
1.36 + sh*-*-pe|mips*-*-pe|*arm-wince-pe)
1.37 +@@ -1578,7 +1578,7 @@
1.38 + romp-*-*)
1.39 + noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
1.40 + ;;
1.41 +- sh-*-* | sh64-*-*)
1.42 ++ sh*-*-* | sh64-*-*)
1.43 + case "${host}" in
1.44 + i[3456789]86-*-vsta) ;; # don't add gprof back in
1.45 + i[3456789]86-*-go32*) ;; # don't add gprof back in
1.46 +--- binutils-2.16.91.0.7/configure.in
1.47 ++++ binutils-2.16.91.0.7/configure.in
1.48 +@@ -468,7 +468,7 @@
1.49 + am33_2.0-*-linux*)
1.50 + noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.51 + ;;
1.52 +- sh-*-linux*)
1.53 ++ sh*-*-linux*)
1.54 + noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
1.55 + ;;
1.56 + sh*-*-pe|mips*-*-pe|*arm-wince-pe)
1.57 +@@ -776,7 +776,7 @@
1.58 + romp-*-*)
1.59 + noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
1.60 + ;;
1.61 +- sh-*-* | sh64-*-*)
1.62 ++ sh*-*-* | sh64-*-*)
1.63 + case "${host}" in
1.64 + i[[3456789]]86-*-vsta) ;; # don't add gprof back in
1.65 + i[[3456789]]86-*-go32*) ;; # don't add gprof back in
1.66 +--- binutils-2.16.91.0.7/gas/configure
1.67 ++++ binutils-2.16.91.0.7/gas/configure
1.68 +@@ -3411,7 +3411,7 @@
1.69 + ;;
1.70 +
1.71 + # This must be Linux ELF.
1.72 +-linux-gnu*)
1.73 ++linux-gnu*|linux-uclibc*)
1.74 + lt_cv_deplibs_check_method=pass_all
1.75 + ;;
1.76 +
1.77 +--- binutils-2.16.91.0.7/gprof/configure
1.78 ++++ binutils-2.16.91.0.7/gprof/configure
1.79 +@@ -3419,6 +3419,11 @@
1.80 + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1.81 + ;;
1.82 +
1.83 ++linux-uclibc*)
1.84 ++ lt_cv_deplibs_check_method=pass_all
1.85 ++ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
1.86 ++ ;;
1.87 ++
1.88 + netbsd* | knetbsd*-gnu)
1.89 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.90 + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1.91 +--- binutils-2.16.91.0.7/ld/configure
1.92 ++++ binutils-2.16.91.0.7/ld/configure
1.93 +@@ -3413,7 +3413,7 @@
1.94 + ;;
1.95 +
1.96 + # This must be Linux ELF.
1.97 +-linux-gnu*)
1.98 ++linux-gnu*|linux-uclibc*)
1.99 + lt_cv_deplibs_check_method=pass_all
1.100 + ;;
1.101 +
1.102 +--- binutils-2.16.91.0.7/libtool.m4
1.103 ++++ binutils-2.16.91.0.7/libtool.m4
1.104 +@@ -739,7 +739,7 @@
1.105 + ;;
1.106 +
1.107 + # This must be Linux ELF.
1.108 +-linux-gnu*)
1.109 ++linux-gnu*|linux-uclibc*)
1.110 + lt_cv_deplibs_check_method=pass_all
1.111 + ;;
1.112 +
1.113 +--- binutils-2.16.91.0.7/ltconfig
1.114 ++++ binutils-2.16.91.0.7/ltconfig
1.115 +@@ -602,6 +602,7 @@
1.116 +
1.117 + # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
1.118 + case $host_os in
1.119 ++linux-uclibc*) ;;
1.120 + linux-gnu*) ;;
1.121 + linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
1.122 + esac
1.123 +@@ -1247,7 +1248,7 @@
1.124 + ;;
1.125 +
1.126 + # This must be Linux ELF.
1.127 +-linux-gnu*)
1.128 ++linux-gnu*|linux-uclibc*)
1.129 + version_type=linux
1.130 + need_lib_prefix=no
1.131 + need_version=no
1.132 +--- binutils-2.16.91.0.7/opcodes/configure
1.133 ++++ binutils-2.16.91.0.7/opcodes/configure
1.134 +@@ -3579,7 +3579,7 @@
1.135 + ;;
1.136 +
1.137 + # This must be Linux ELF.
1.138 +-linux-gnu*)
1.139 ++linux-gnu*|linux-uclibc*)
1.140 + lt_cv_deplibs_check_method=pass_all
1.141 + ;;
1.142 +