patches/gdb/6.4/100-uclibc-conf.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Aug 07 14:05:47 2008 +0000 (2008-08-07)
changeset 766 717efd8b78b4
permissions -rw-r--r--
Update all samples to the latest set of options.
Update some samples to use newer features.
Add patches for the uClibc-20080801 snapshot to be able to build with gcc-4.3.
Add a patch against glibc-2.7 to allow building PPC with latest kernel headers.
Add a patch to gcc to use an alternate unwinding when built against uClibc (after a private explanation/request by Daniel Egger <daniel@eggers-club.de>)

/trunk/patches/glibc/2.7/230-powerpc-private_futex.patch | 15 15 0 0 +
/trunk/patches/uClibc/20080801/300-fix-asm.patch | 175 175 0 0 +++++++++
/trunk/patches/uClibc/20080801/100-ifaddrs.patch | 190 190 0 0 +++++++++
/trunk/patches/uClibc/20080801/200-mips-typeof.patch | 112 112 0 0 ++++++
/trunk/patches/gcc/4.3.1/330-unwind-for-uClibc.patch | 25 25 0 0 +
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 17 10 7 0 +
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 7 5 2 0 +
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 7 5 2 0 +
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 14 11 3 0 +
/trunk/samples/x86_64-unknown-linux-uclibc/uClibc-20080801.config | 232 232 0 0 ++++++++++++
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 34 21 13 0 +-
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 10 7 3 0 +
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 12 9 3 0 +
/trunk/samples/mips-unknown-linux-uclibc/uClibc-20080801.config | 249 249 0 0 ++++++++++++
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 38 23 15 0 +-
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 14 10 4 0 +
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 7 5 2 0 +
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 12 9 3 0 +
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 7 5 2 0 +
/trunk/samples/i586-geode-linux-uclibc/uClibc-20080801.config | 261 261 0 0 +++++++++++++
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 32 20 12 0 ++
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 12 9 3 0 +
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 7 5 2 0 +
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 7 5 2 0 +
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 16 10 6 0 +
25 files changed, 1428 insertions(+), 84 deletions(-)
     1 --- gdb-6.3/bfd/configure.orig	Fri Oct  8 16:53:56 2004
     2 +++ gdb-6.3/bfd/configure	Sun Feb 27 18:32:58 2005
     3 @@ -3583,6 +3583,11 @@
     4    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
     5    ;;
     6  
     7 +linux-uclibc*)
     8 +  lt_cv_deplibs_check_method=pass_all
     9 +  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
    10 +  ;;
    11 +
    12  netbsd* | knetbsd*-gnu)
    13    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
    14      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
    15 --- gdb-6.3/libtool.m4.orig	Wed Jul 21 21:21:41 2004
    16 +++ gdb-6.3/libtool.m4	Mon Feb 28 00:08:11 2005
    17 @@ -653,6 +653,11 @@
    18    fi
    19    ;;
    20  
    21 +linux-uclibc*)
    22 +  lt_cv_deplibs_check_method=pass_all
    23 +  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
    24 +  ;;
    25 +
    26  newsos6)
    27    [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
    28    lt_cv_file_magic_cmd=/usr/bin/file
    29 --- gdb-6.3/ltconfig.orig	Tue Oct  5 15:34:42 2004
    30 +++ gdb-6.3/ltconfig	Sun Feb 27 18:14:41 2005
    31 @@ -602,7 +602,7 @@
    32  
    33  # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
    34  case $host_os in
    35 -linux-gnu*) ;;
    36 +linux-gnu*|linux-uclibc*) ;;
    37  linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
    38  esac
    39  
    40 @@ -1270,6 +1270,24 @@
    41    dynamic_linker='GNU/Linux ld.so'
    42    ;;
    43  
    44 +linux-uclibc*)
    45 +  version_type=linux
    46 +  need_lib_prefix=no
    47 +  need_version=no
    48 +  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
    49 +  soname_spec='${libname}${release}.so$major'
    50 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    51 +  shlibpath_var=LD_LIBRARY_PATH
    52 +  shlibpath_overrides_runpath=no
    53 +  # This implies no fast_install, which is unacceptable.
    54 +  # Some rework will be needed to allow for fast_install
    55 +  # before this can be enabled.
    56 +  # Note: copied from linux-gnu, and may not be appropriate.
    57 +  hardcode_into_libs=yes
    58 +  # Assume using the uClibc dynamic linker.
    59 +  dynamic_linker="uClibc ld.so"
    60 +  ;;
    61 +
    62  netbsd*)
    63    need_lib_prefix=no
    64    need_version=no
    65 --- gdb-6.3/opcodes/configure.orig	Fri Sep 17 08:13:38 2004
    66 +++ gdb-6.3/opcodes/configure	Mon Feb 28 00:09:42 2005
    67 @@ -3595,6 +3595,11 @@
    68    fi
    69    ;;
    70  
    71 +linux-uclibc*)
    72 +  lt_cv_deplibs_check_method=pass_all
    73 +  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
    74 +  ;;
    75 +
    76  newsos6)
    77    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
    78    lt_cv_file_magic_cmd=/usr/bin/file