bump version
[buildroot.git] / toolchain / gdb / 6.6 / 100-uclibc-conf.patch
bloba790b6f0f1639ff5d90350160d7483c8917cd8e2
1 diff -rNdup gdb-6.6.orig/bfd/configure gdb-6.6/bfd/configure
2 --- gdb-6.6.orig/bfd/configure 2006-10-25 08:49:20.000000000 +0200
3 +++ gdb-6.6/bfd/configure 2007-05-14 10:35:50.000000000 +0200
4 @@ -3579,6 +3579,11 @@ linux-gnu*)
5 lt_cv_deplibs_check_method=pass_all
6 ;;
8 +linux-uclibc*)
9 + lt_cv_deplibs_check_method=pass_all
10 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
11 + ;;
13 netbsd* | knetbsd*-gnu)
14 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
15 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
16 diff -rNdup gdb-6.6.orig/libtool.m4 gdb-6.6/libtool.m4
17 --- gdb-6.6.orig/libtool.m4 2005-12-27 17:37:57.000000000 +0100
18 +++ gdb-6.6/libtool.m4 2007-05-14 10:35:50.000000000 +0200
19 @@ -751,6 +751,11 @@ netbsd* | knetbsd*-gnu)
23 +linux-uclibc*)
24 + lt_cv_deplibs_check_method=pass_all
25 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
26 + ;;
28 newsos6)
29 [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
30 lt_cv_file_magic_cmd=/usr/bin/file
31 diff -rNdup gdb-6.6.orig/ltconfig gdb-6.6/ltconfig
32 --- gdb-6.6.orig/ltconfig 2006-07-04 22:31:03.000000000 +0200
33 +++ gdb-6.6/ltconfig 2007-05-14 10:35:50.000000000 +0200
34 @@ -602,7 +602,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-
36 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
37 case $host_os in
38 -linux-gnu*) ;;
39 +linux-gnu*|linux-uclibc*) ;;
40 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
41 esac
43 @@ -1270,6 +1270,24 @@ linux-gnu*)
44 dynamic_linker='GNU/Linux ld.so'
47 +linux-uclibc*)
48 + version_type=linux
49 + need_lib_prefix=no
50 + need_version=no
51 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
52 + soname_spec='${libname}${release}.so$major'
53 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
54 + shlibpath_var=LD_LIBRARY_PATH
55 + shlibpath_overrides_runpath=no
56 + # This implies no fast_install, which is unacceptable.
57 + # Some rework will be needed to allow for fast_install
58 + # before this can be enabled.
59 + # Note: copied from linux-gnu, and may not be appropriate.
60 + hardcode_into_libs=yes
61 + # Assume using the uClibc dynamic linker.
62 + dynamic_linker="uClibc ld.so"
63 + ;;
65 netbsd*)
66 need_lib_prefix=no
67 need_version=no
68 diff -rNdup gdb-6.6.orig/opcodes/configure gdb-6.6/opcodes/configure
69 --- gdb-6.6.orig/opcodes/configure 2006-10-25 08:49:20.000000000 +0200
70 +++ gdb-6.6/opcodes/configure 2007-05-14 10:35:50.000000000 +0200
71 @@ -3590,6 +3590,11 @@ netbsd* | knetbsd*-gnu)
75 +linux-uclibc*)
76 + lt_cv_deplibs_check_method=pass_all
77 + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
78 + ;;
80 newsos6)
81 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
82 lt_cv_file_magic_cmd=/usr/bin/file