1.1 --- a/patches/gdb/6.4/100-uclibc-conf.patch Wed Oct 28 12:03:38 2009 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,78 +0,0 @@
1.4 ---- gdb-6.3/bfd/configure.orig Fri Oct 8 16:53:56 2004
1.5 -+++ gdb-6.3/bfd/configure Sun Feb 27 18:32:58 2005
1.6 -@@ -3583,6 +3583,11 @@
1.7 - lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1.8 - ;;
1.9 -
1.10 -+linux-uclibc*)
1.11 -+ lt_cv_deplibs_check_method=pass_all
1.12 -+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
1.13 -+ ;;
1.14 -+
1.15 - netbsd* | knetbsd*-gnu)
1.16 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1.17 - lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1.18 ---- gdb-6.3/libtool.m4.orig Wed Jul 21 21:21:41 2004
1.19 -+++ gdb-6.3/libtool.m4 Mon Feb 28 00:08:11 2005
1.20 -@@ -653,6 +653,11 @@
1.21 - fi
1.22 - ;;
1.23 -
1.24 -+linux-uclibc*)
1.25 -+ lt_cv_deplibs_check_method=pass_all
1.26 -+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
1.27 -+ ;;
1.28 -+
1.29 - newsos6)
1.30 - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
1.31 - lt_cv_file_magic_cmd=/usr/bin/file
1.32 ---- gdb-6.3/ltconfig.orig Tue Oct 5 15:34:42 2004
1.33 -+++ gdb-6.3/ltconfig Sun Feb 27 18:14:41 2005
1.34 -@@ -602,7 +602,7 @@
1.35 -
1.36 - # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
1.37 - case $host_os in
1.38 --linux-gnu*) ;;
1.39 -+linux-gnu*|linux-uclibc*) ;;
1.40 - linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
1.41 - esac
1.42 -
1.43 -@@ -1270,6 +1270,24 @@
1.44 - dynamic_linker='GNU/Linux ld.so'
1.45 - ;;
1.46 -
1.47 -+linux-uclibc*)
1.48 -+ version_type=linux
1.49 -+ need_lib_prefix=no
1.50 -+ need_version=no
1.51 -+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
1.52 -+ soname_spec='${libname}${release}.so$major'
1.53 -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1.54 -+ shlibpath_var=LD_LIBRARY_PATH
1.55 -+ shlibpath_overrides_runpath=no
1.56 -+ # This implies no fast_install, which is unacceptable.
1.57 -+ # Some rework will be needed to allow for fast_install
1.58 -+ # before this can be enabled.
1.59 -+ # Note: copied from linux-gnu, and may not be appropriate.
1.60 -+ hardcode_into_libs=yes
1.61 -+ # Assume using the uClibc dynamic linker.
1.62 -+ dynamic_linker="uClibc ld.so"
1.63 -+ ;;
1.64 -+
1.65 - netbsd*)
1.66 - need_lib_prefix=no
1.67 - need_version=no
1.68 ---- gdb-6.3/opcodes/configure.orig Fri Sep 17 08:13:38 2004
1.69 -+++ gdb-6.3/opcodes/configure Mon Feb 28 00:09:42 2005
1.70 -@@ -3595,6 +3595,11 @@
1.71 - fi
1.72 - ;;
1.73 -
1.74 -+linux-uclibc*)
1.75 -+ lt_cv_deplibs_check_method=pass_all
1.76 -+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
1.77 -+ ;;
1.78 -+
1.79 - newsos6)
1.80 - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1.81 - lt_cv_file_magic_cmd=/usr/bin/file