patches/gdb/6.6/100-uclibc-conf.patch
changeset 1617 7d70bcf940a9
parent 1602 1ba79f2126df
parent 1616 1fda13e5d961
child 1618 7f52e1cca71e
     1.1 --- a/patches/gdb/6.6/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,82 +0,0 @@
     1.4 -diff -rNdup gdb-6.6.orig/bfd/configure gdb-6.6/bfd/configure
     1.5 ---- gdb-6.6.orig/bfd/configure	2006-10-25 08:49:20.000000000 +0200
     1.6 -+++ gdb-6.6/bfd/configure	2007-05-14 10:35:50.000000000 +0200
     1.7 -@@ -3579,6 +3579,11 @@ linux-gnu*)
     1.8 -   lt_cv_deplibs_check_method=pass_all
     1.9 -   ;;
    1.10 - 
    1.11 -+linux-uclibc*)
    1.12 -+  lt_cv_deplibs_check_method=pass_all
    1.13 -+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
    1.14 -+  ;;
    1.15 -+
    1.16 - netbsd* | knetbsd*-gnu)
    1.17 -   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    1.18 -     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    1.19 -diff -rNdup gdb-6.6.orig/libtool.m4 gdb-6.6/libtool.m4
    1.20 ---- gdb-6.6.orig/libtool.m4	2005-12-27 17:37:57.000000000 +0100
    1.21 -+++ gdb-6.6/libtool.m4	2007-05-14 10:35:50.000000000 +0200
    1.22 -@@ -751,6 +751,11 @@ netbsd* | knetbsd*-gnu)
    1.23 -   fi
    1.24 -   ;;
    1.25 - 
    1.26 -+linux-uclibc*)
    1.27 -+  lt_cv_deplibs_check_method=pass_all
    1.28 -+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
    1.29 -+  ;;
    1.30 -+
    1.31 - newsos6)
    1.32 -   [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
    1.33 -   lt_cv_file_magic_cmd=/usr/bin/file
    1.34 -diff -rNdup gdb-6.6.orig/ltconfig gdb-6.6/ltconfig
    1.35 ---- gdb-6.6.orig/ltconfig	2006-07-04 22:31:03.000000000 +0200
    1.36 -+++ gdb-6.6/ltconfig	2007-05-14 10:35:50.000000000 +0200
    1.37 -@@ -602,7 +602,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
    1.38 - 
    1.39 - # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
    1.40 - case $host_os in
    1.41 --linux-gnu*) ;;
    1.42 -+linux-gnu*|linux-uclibc*) ;;
    1.43 - linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
    1.44 - esac
    1.45 - 
    1.46 -@@ -1270,6 +1270,24 @@ linux-gnu*)
    1.47 -   dynamic_linker='GNU/Linux ld.so'
    1.48 -   ;;
    1.49 - 
    1.50 -+linux-uclibc*)
    1.51 -+  version_type=linux
    1.52 -+  need_lib_prefix=no
    1.53 -+  need_version=no
    1.54 -+  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    1.55 -+  soname_spec='${libname}${release}.so$major'
    1.56 -+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    1.57 -+  shlibpath_var=LD_LIBRARY_PATH
    1.58 -+  shlibpath_overrides_runpath=no
    1.59 -+  # This implies no fast_install, which is unacceptable.
    1.60 -+  # Some rework will be needed to allow for fast_install
    1.61 -+  # before this can be enabled.
    1.62 -+  # Note: copied from linux-gnu, and may not be appropriate.
    1.63 -+  hardcode_into_libs=yes
    1.64 -+  # Assume using the uClibc dynamic linker.
    1.65 -+  dynamic_linker="uClibc ld.so"
    1.66 -+  ;;
    1.67 -+
    1.68 - netbsd*)
    1.69 -   need_lib_prefix=no
    1.70 -   need_version=no
    1.71 -diff -rNdup gdb-6.6.orig/opcodes/configure gdb-6.6/opcodes/configure
    1.72 ---- gdb-6.6.orig/opcodes/configure	2006-10-25 08:49:20.000000000 +0200
    1.73 -+++ gdb-6.6/opcodes/configure	2007-05-14 10:35:50.000000000 +0200
    1.74 -@@ -3590,6 +3590,11 @@ netbsd* | knetbsd*-gnu)
    1.75 -   fi
    1.76 -   ;;
    1.77 - 
    1.78 -+linux-uclibc*)
    1.79 -+  lt_cv_deplibs_check_method=pass_all
    1.80 -+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
    1.81 -+  ;;
    1.82 -+
    1.83 - newsos6)
    1.84 -   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
    1.85 -   lt_cv_file_magic_cmd=/usr/bin/file