Peter noticed some bits were missing.
authorManuel Novoa III <mjn3@codepoet.org>
Fri, 10 Sep 2004 13:12:25 +0000 (13:12 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Fri, 10 Sep 2004 13:12:25 +0000 (13:12 -0000)
sources/binutils/2.15.91.0.2/100-uclibc-conf.patch

index b87e7521ab15cca883c72129d9f5ab6740fc5e97..882eef6b1afd87d3fa8ac46ba558f566b7e8a1cb 100644 (file)
@@ -1,6 +1,6 @@
 diff -urN binutils-2.15.91.0.2-dist/bfd/config.bfd binutils-2.15.91.0.2/bfd/config.bfd
 --- binutils-2.15.91.0.2-dist/bfd/config.bfd   2004-07-27 23:36:07.000000000 -0500
-+++ binutils-2.15.91.0.2/bfd/config.bfd        2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/bfd/config.bfd        2004-09-10 07:35:20.000000000 -0500
 @@ -129,7 +129,7 @@
      targ_defvec=ecoffalpha_little_vec
      targ_selvecs=bfd_elf64_alpha_vec
@@ -132,7 +132,7 @@ diff -urN binutils-2.15.91.0.2-dist/bfd/config.bfd binutils-2.15.91.0.2/bfd/conf
  
 diff -urN binutils-2.15.91.0.2-dist/bfd/configure binutils-2.15.91.0.2/bfd/configure
 --- binutils-2.15.91.0.2-dist/bfd/configure    2004-07-27 23:36:07.000000000 -0500
-+++ binutils-2.15.91.0.2/bfd/configure 2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/bfd/configure 2004-09-10 07:35:20.000000000 -0500
 @@ -1687,6 +1687,11 @@
    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    ;;
@@ -183,7 +183,7 @@ diff -urN binutils-2.15.91.0.2-dist/bfd/configure binutils-2.15.91.0.2/bfd/confi
        ;;
 diff -urN binutils-2.15.91.0.2-dist/bfd/configure.in binutils-2.15.91.0.2/bfd/configure.in
 --- binutils-2.15.91.0.2-dist/bfd/configure.in 2004-07-27 23:36:07.000000000 -0500
-+++ binutils-2.15.91.0.2/bfd/configure.in      2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/bfd/configure.in      2004-09-10 07:35:21.000000000 -0500
 @@ -164,7 +164,7 @@
    alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
        COREFILE=''
@@ -220,9 +220,24 @@ diff -urN binutils-2.15.91.0.2-dist/bfd/configure.in binutils-2.15.91.0.2/bfd/co
        COREFILE=trad-core.lo
        TRAD_HEADER='"hosts/vaxlinux.h"'
        ;;
+diff -urN binutils-2.15.91.0.2-dist/binutils/configure binutils-2.15.91.0.2/binutils/configure
+--- binutils-2.15.91.0.2-dist/binutils/configure       2004-04-12 14:56:34.000000000 -0500
++++ binutils-2.15.91.0.2/binutils/configure    2004-09-10 07:35:31.000000000 -0500
+@@ -1575,6 +1575,11 @@
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
++linux-uclibc*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
++  ;;
++
+ netbsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
 diff -urN binutils-2.15.91.0.2-dist/configure binutils-2.15.91.0.2/configure
 --- binutils-2.15.91.0.2-dist/configure        2004-07-27 23:36:06.000000000 -0500
-+++ binutils-2.15.91.0.2/configure     2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/configure     2004-09-10 07:35:21.000000000 -0500
 @@ -1349,6 +1349,18 @@
    i[3456789]86-*-coff | i[3456789]86-*-elf)
      noconfigdirs="$noconfigdirs ${libgcj}"
@@ -244,7 +259,7 @@ diff -urN binutils-2.15.91.0.2-dist/configure binutils-2.15.91.0.2/configure
      # not build java stuff by default.
 diff -urN binutils-2.15.91.0.2-dist/configure.in binutils-2.15.91.0.2/configure.in
 --- binutils-2.15.91.0.2-dist/configure.in     2004-07-27 23:36:06.000000000 -0500
-+++ binutils-2.15.91.0.2/configure.in  2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/configure.in  2004-09-10 07:35:21.000000000 -0500
 @@ -569,6 +569,18 @@
    i[[3456789]]86-*-coff | i[[3456789]]86-*-elf)
      noconfigdirs="$noconfigdirs ${libgcj}"
@@ -266,7 +281,7 @@ diff -urN binutils-2.15.91.0.2-dist/configure.in binutils-2.15.91.0.2/configure.
      # not build java stuff by default.
 diff -urN binutils-2.15.91.0.2-dist/gas/configure binutils-2.15.91.0.2/gas/configure
 --- binutils-2.15.91.0.2-dist/gas/configure    2004-07-27 23:36:09.000000000 -0500
-+++ binutils-2.15.91.0.2/gas/configure 2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/gas/configure 2004-09-10 07:35:21.000000000 -0500
 @@ -3408,6 +3408,11 @@
    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    ;;
@@ -357,7 +372,7 @@ diff -urN binutils-2.15.91.0.2-dist/gas/configure binutils-2.15.91.0.2/gas/confi
        sparc-*-elf)                    fmt=elf ;;
 diff -urN binutils-2.15.91.0.2-dist/gas/configure.in binutils-2.15.91.0.2/gas/configure.in
 --- binutils-2.15.91.0.2-dist/gas/configure.in 2004-07-27 23:36:09.000000000 -0500
-+++ binutils-2.15.91.0.2/gas/configure.in      2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/gas/configure.in      2004-09-10 07:35:21.000000000 -0500
 @@ -195,6 +195,7 @@
        alpha*-*-osf*)                  fmt=ecoff ;;
        alpha*-*-linuxecoff*)           fmt=ecoff ;;
@@ -434,9 +449,24 @@ diff -urN binutils-2.15.91.0.2-dist/gas/configure.in binutils-2.15.91.0.2/gas/co
        sparc-*-lynxos*)                        fmt=coff em=lynx ;;
        sparc-fujitsu-none)             fmt=aout ;;
        sparc-*-elf)                    fmt=elf ;;
+diff -urN binutils-2.15.91.0.2-dist/gprof/configure binutils-2.15.91.0.2/gprof/configure
+--- binutils-2.15.91.0.2-dist/gprof/configure  2004-07-27 23:36:10.000000000 -0500
++++ binutils-2.15.91.0.2/gprof/configure       2004-09-10 07:35:31.000000000 -0500
+@@ -3401,6 +3401,11 @@
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
++linux-uclibc*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
++  ;;
++
+ netbsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
 diff -urN binutils-2.15.91.0.2-dist/ld/configure binutils-2.15.91.0.2/ld/configure
 --- binutils-2.15.91.0.2-dist/ld/configure     2004-07-27 23:36:11.000000000 -0500
-+++ binutils-2.15.91.0.2/ld/configure  2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/ld/configure  2004-09-10 07:35:21.000000000 -0500
 @@ -1578,6 +1578,11 @@
    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    ;;
@@ -451,7 +481,7 @@ diff -urN binutils-2.15.91.0.2-dist/ld/configure binutils-2.15.91.0.2/ld/configu
      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
 diff -urN binutils-2.15.91.0.2-dist/ld/configure.tgt binutils-2.15.91.0.2/ld/configure.tgt
 --- binutils-2.15.91.0.2-dist/ld/configure.tgt 2004-07-27 23:36:11.000000000 -0500
-+++ binutils-2.15.91.0.2/ld/configure.tgt      2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/ld/configure.tgt      2004-09-10 07:35:21.000000000 -0500
 @@ -31,6 +31,7 @@
                        targ_extra_emuls="criself crislinux"
                        targ_extra_libpath=$targ_extra_emuls ;;
@@ -596,7 +626,7 @@ diff -urN binutils-2.15.91.0.2-dist/ld/configure.tgt binutils-2.15.91.0.2/ld/con
  alpha*-*-netware*)    targ_emul=alpha ;;
 diff -urN binutils-2.15.91.0.2-dist/libtool.m4 binutils-2.15.91.0.2/libtool.m4
 --- binutils-2.15.91.0.2-dist/libtool.m4       2004-07-27 23:36:06.000000000 -0500
-+++ binutils-2.15.91.0.2/libtool.m4    2004-07-30 01:25:35.000000000 -0500
++++ binutils-2.15.91.0.2/libtool.m4    2004-09-10 07:35:21.000000000 -0500
 @@ -645,6 +645,11 @@
    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
    ;;
@@ -611,7 +641,7 @@ diff -urN binutils-2.15.91.0.2-dist/libtool.m4 binutils-2.15.91.0.2/libtool.m4
      [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
 diff -urN binutils-2.15.91.0.2-dist/ltconfig binutils-2.15.91.0.2/ltconfig
 --- binutils-2.15.91.0.2-dist/ltconfig 2004-07-27 23:36:06.000000000 -0500
-+++ binutils-2.15.91.0.2/ltconfig      2004-07-29 20:09:48.000000000 -0500
++++ binutils-2.15.91.0.2/ltconfig      2004-09-10 07:35:21.000000000 -0500
 @@ -603,6 +603,7 @@
  # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  case $host_os in
@@ -645,3 +675,18 @@ diff -urN binutils-2.15.91.0.2-dist/ltconfig binutils-2.15.91.0.2/ltconfig
  netbsd*)
    need_lib_prefix=no
    need_version=no
+diff -urN binutils-2.15.91.0.2-dist/opcodes/configure binutils-2.15.91.0.2/opcodes/configure
+--- binutils-2.15.91.0.2-dist/opcodes/configure        2004-07-27 23:36:11.000000000 -0500
++++ binutils-2.15.91.0.2/opcodes/configure     2004-09-10 07:35:31.000000000 -0500
+@@ -1690,6 +1690,11 @@
+   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+   ;;
++linux-uclibc*)
++  lt_cv_deplibs_check_method=pass_all
++  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
++  ;;
++
+ netbsd*)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'