Update the newlib devel branch with stuf from /trunk.
-------- diffstat follows --------
/devel/newlib/configure | 8 4 4 0
/devel/newlib/scripts/build/kernel/linux.sh | 2 1 1 0
/devel/newlib/scripts/build/cc/gcc.sh | 34 22 12 0 +
/devel/newlib/scripts/build/debug/300-gdb.sh | 52 45 7 0 +
/devel/newlib/scripts/build/libc/uClibc.sh | 6 3 3 0
/devel/newlib/scripts/build/mpfr.sh | 2 1 1 0
/devel/newlib/scripts/crosstool-NG.sh.in | 20 18 2 0 +
/devel/newlib/scripts/functions | 44 34 10 0 +
/devel/newlib/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch | 414 0 414 0 ----------
/devel/newlib/patches/glibc/2_9/140-regex-BZ9697.patch | 111 0 111 0 ---
/devel/newlib/patches/glibc/2_9/190-queue-header-updates.patch | 89 0 89 0 --
/devel/newlib/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch | 249 0 249 0 ------
/devel/newlib/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch | 32 0 32 0 -
/devel/newlib/patches/glibc/2_9/330-2.3.3-china.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/270-ldbl-nexttowardf.patch | 68 0 68 0 --
/devel/newlib/patches/glibc/2_9/410-2.9-fnmatch.patch | 64 0 64 0 --
/devel/newlib/patches/glibc/2_9/340-new-valencian-locale.patch | 120 0 120 0 ---
/devel/newlib/patches/glibc/2_9/350-2.4-undefine-__i686.patch | 47 0 47 0 -
/devel/newlib/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch | 53 0 53 0 -
/devel/newlib/patches/glibc/2_9/150-regex-BZ697.patch | 28 0 28 0 -
/devel/newlib/patches/glibc/2_9/420-dont-build-timezone.patch | 19 0 19 0 -
/devel/newlib/patches/glibc/2_9/290-no-inline-gmon.patch | 38 0 38 0 -
/devel/newlib/patches/glibc/2_9/280-section-comments.patch | 29 0 29 0 -
/devel/newlib/patches/glibc/2_9/180-math-tests.patch | 72 0 72 0 --
/devel/newlib/patches/glibc/2_9/250-resolv-dynamic.patch | 44 0 44 0 -
/devel/newlib/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/300-2.9-check_native-headers.patch | 22 0 22 0 -
/devel/newlib/patches/glibc/2_9/130-add_prio-macros.patch | 26 0 26 0 -
/devel/newlib/patches/glibc/2_9/310-2.3.6-fix-pr631.patch | 50 0 50 0 -
/devel/newlib/patches/glibc/2_9/510-sh-no-asm-user-header.patch | 70 0 70 0 --
/devel/newlib/patches/glibc/2_9/260-fadvise64_64.patch | 30 0 30 0 -
/devel/newlib/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch | 249 0 249 0 ------
/devel/newlib/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch | 74 0 74 0 --
/devel/newlib/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch | 18 0 18 0 -
/devel/newlib/patches/glibc/2_9/360-2.8-nscd-one-fork.patch | 45 0 45 0 -
/devel/newlib/patches/glibc/2_9/210-2.9-strlen-hack.patch | 109 0 109 0 ---
/devel/newlib/patches/glibc/2_9/320-2.9-assume-pipe2.patch | 59 0 59 0 -
/devel/newlib/patches/glibc/2_9/100-ssp-compat.patch | 193 0 193 0 -----
/devel/newlib/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch | 30 0 30 0 -
/devel/newlib/patches/glibc/2_9/220-manual-no-perl.patch | 29 0 29 0 -
/devel/newlib/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch | 38 0 38 0 -
/devel/newlib/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch | 198 0 198 0 -----
/devel/newlib/patches/glibc/2_9/520-sh-no-asm-elf-header.patch | 27 0 27 0 -
/devel/newlib/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch | 23 0 23 0 -
/devel/newlib/patches/glibc/2_9/200-awk-in-C-locale.patch | 23 0 23 0 -
/devel/newlib/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch | 57 0 57 0 -
/devel/newlib/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch | 71 0 71 0 --
/devel/newlib/patches/glibc/2_9/490-ptr-mangling.patch | 114 0 114 0 ---
/devel/newlib/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch | 19 0 19 0 -
/devel/newlib/patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 0 14 0 -
/devel/newlib/patches/uClibc/0.9.30.1/140-gnu89-inline.patch | 2 1 1 0
/devel/newlib/docs/known-issues.txt | 16 15 1 0 +
/devel/newlib/docs/overview.txt | 2 1 1 0
/devel/newlib/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config | 243 0 243 0 ------
/devel/newlib/samples/armeb-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/sh4-unknown-linux-gnu/crosstool.config | 35 18 17 0 +
/devel/newlib/samples/x86_64-unknown-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/arm-unknown-elf/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/armeb-unknown-eabi/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/arm-unknown-linux-gnueabi/crosstool.config | 113 73 40 0 +--
/devel/newlib/samples/ia64-unknown-linux-gnu/crosstool.config | 91 61 30 0 +-
/devel/newlib/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config | 245 0 245 0 ------
/devel/newlib/samples/x86_64-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/armeb-unknown-linux-gnueabi/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 96 63 33 0 +-
/devel/newlib/samples/i686-nptl-linux-gnu/crosstool.config | 78 48 30 0 +-
/devel/newlib/samples/arm-unknown-linux-gnu/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-unknown-linux-gnu/crosstool.config | 103 67 36 0 +-
/devel/newlib/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config | 254 0 254 0 ------
/devel/newlib/samples/mips-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +-
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config | 253 0 253 0 ------
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/arm-iphone-linux-gnueabi/crosstool.config | 84 57 27 0 +-
/devel/newlib/samples/armeb-unknown-linux-gnu/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/i586-geode-linux-uclibc/uClibc-0.9.30.config | 263 0 263 0 ------
/devel/newlib/samples/i586-geode-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config | 253 0 253 0 ------
/devel/newlib/samples/arm-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config | 248 0 248 0 ------
/devel/newlib/samples/powerpc-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +-
/devel/newlib/samples/mips-unknown-elf/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/powerpc-405-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 26 13 13 0
/devel/newlib/samples/arm-unknown-eabi/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/mipsel-unknown-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/powerpc64-unknown-linux-gnu/crosstool.config | 75 49 26 0 +-
/devel/newlib/samples/alphaev56-unknown-linux-gnu/crosstool.config | 94 63 31 0 +-
/devel/newlib/samples/powerpc-860-linux-gnu/crosstool.config | 102 67 35 0 +-
/devel/newlib/config/kernel/linux.in | 87 46 41 0 +-
/devel/newlib/config/cc/gcc.in | 35 30 5 0 +
/devel/newlib/config/debug/gdb.in | 2 1 1 0
94 files changed, 1851 insertions(+), 5813 deletions(-)
1.1 --- a/config/cc/gcc.in Sat Apr 11 19:03:02 2009 +0000
1.2 +++ b/config/cc/gcc.in Sun Apr 19 16:17:11 2009 +0000
1.3 @@ -112,10 +112,39 @@
1.4 depends on EXPERIMENTAL
1.5 select CC_GCC_4_3_or_later
1.6
1.7 +config CC_V_4_4_0
1.8 + bool
1.9 + prompt "4.4.0 snapshot"
1.10 + depends on EXPERIMENTAL
1.11 + select CC_GCC_4_3_or_later
1.12 + select CC_GCC_4_4_snapshot
1.13 +
1.14 # CT_INSERT_VERSION_ABOVE
1.15 # Don't remove above line!
1.16 endchoice
1.17
1.18 +config CC_GCC_4_3_or_later
1.19 + bool
1.20 + default n
1.21 + select GMP_MPFR
1.22 +
1.23 +config CC_GCC_4_4_snapshot
1.24 + bool
1.25 + default n
1.26 +
1.27 +config CC_GCC_4_4_snapshot_date
1.28 + string
1.29 + prompt "Snapshot date"
1.30 + depends on CC_GCC_4_4_snapshot
1.31 + help
1.32 + Enter the snapshot date in the form YYYYMMDD.
1.33 + Snapshots are made every friday, at around 22:30 GMT+1,
1.34 + so look at your calendar to find a suitable date.
1.35 +
1.36 + Also, know that crosstool-NG does *not* carry any patch
1.37 + for the gcc-4.4 snapshots. So, you may have to answer
1.38 + 'y' to CUSTOM_PATCH, and set CUSTOM_PATCH_DIR adequately.
1.39 +
1.40 config CC_VERSION
1.41 string
1.42 default "3.2.3" if CC_V_3_2_3
1.43 @@ -138,14 +167,10 @@
1.44 default "4.3.1" if CC_V_4_3_1
1.45 default "4.3.2" if CC_V_4_3_2
1.46 default "4.3.3" if CC_V_4_3_3
1.47 + default "4.4-" if CC_V_4_4_0
1.48 # CT_INSERT_VERSION_STRING_ABOVE
1.49 # Don't remove above line!
1.50
1.51 -config CC_GCC_4_3_or_later
1.52 - bool
1.53 - default n
1.54 - select GMP_MPFR
1.55 -
1.56 config CC_CXA_ATEXIT
1.57 bool
1.58 prompt "Use __cxa_atexit"
2.1 --- a/config/debug/gdb.in Sat Apr 11 19:03:02 2009 +0000
2.2 +++ b/config/debug/gdb.in Sun Apr 19 16:17:11 2009 +0000
2.3 @@ -150,7 +150,7 @@
2.4
2.5 if GDB_NATIVE
2.6
2.7 -comment "Native gdb needs the ncurses library on the target"
2.8 +comment "Native gdb needs a native ncurses library"
2.9
2.10 choice
2.11 bool
3.1 --- a/config/kernel/linux.in Sat Apr 11 19:03:02 2009 +0000
3.2 +++ b/config/kernel/linux.in Sun Apr 19 16:17:11 2009 +0000
3.3 @@ -69,41 +69,10 @@
3.4 prompt "2.6.25.20 (OBSOLETE)"
3.5 depends on OBSOLETE
3.6
3.7 -config KERNEL_V_2_6_26
3.8 - bool
3.9 - prompt "2.6.26"
3.10 -
3.11 -config KERNEL_V_2_6_26_1
3.12 - bool
3.13 - prompt "2.6.26.1"
3.14 -
3.15 -config KERNEL_V_2_6_26_2
3.16 - bool
3.17 - prompt "2.6.26.2"
3.18 -
3.19 -config KERNEL_V_2_6_26_3
3.20 - bool
3.21 - prompt "2.6.26.3"
3.22 -
3.23 -config KERNEL_V_2_6_26_4
3.24 - bool
3.25 - prompt "2.6.26.4"
3.26 -
3.27 -config KERNEL_V_2_6_26_5
3.28 - bool
3.29 - prompt "2.6.26.5"
3.30 -
3.31 -config KERNEL_V_2_6_26_6
3.32 - bool
3.33 - prompt "2.6.26.6"
3.34 -
3.35 -config KERNEL_V_2_6_26_7
3.36 - bool
3.37 - prompt "2.6.26.7"
3.38 -
3.39 config KERNEL_V_2_6_26_8
3.40 bool
3.41 - prompt "2.6.26.8"
3.42 + prompt "2.6.26.8 (OBSOLETE)"
3.43 + depends on OBSOLETE
3.44
3.45 config KERNEL_V_2_6_27
3.46 bool
3.47 @@ -185,6 +154,14 @@
3.48 bool
3.49 prompt "2.6.27.19"
3.50
3.51 +config KERNEL_V_2_6_27_20
3.52 + bool
3.53 + prompt "2.6.27.20"
3.54 +
3.55 +config KERNEL_V_2_6_27_21
3.56 + bool
3.57 + prompt "2.6.27.21"
3.58 +
3.59 config KERNEL_V_2_6_28
3.60 bool
3.61 prompt "2.6.28"
3.62 @@ -217,12 +194,35 @@
3.63 bool
3.64 prompt "2.6.28.7"
3.65
3.66 +config KERNEL_V_2_6_28_8
3.67 + bool
3.68 + prompt "2.6.28.8"
3.69 +
3.70 +config KERNEL_V_2_6_28_9
3.71 + bool
3.72 + prompt "2.6.28.9"
3.73 +
3.74 +config KERNEL_V_2_6_29
3.75 + bool
3.76 + prompt "2.6.29"
3.77 +
3.78 +config KERNEL_V_2_6_29_1
3.79 + bool
3.80 + prompt "2.6.29.1"
3.81 +
3.82 # CT_INSERT_VERSION_ABOVE
3.83 # Don't remove above line!
3.84 +
3.85 +config KERNEL_V_select
3.86 + bool
3.87 + prompt "Other version (EXPERIMENTAL)"
3.88 + depends on EXPERIMENTAL
3.89 +
3.90 endchoice
3.91
3.92 config KERNEL_VERSION
3.93 string
3.94 + prompt "Kernel version" if KERNEL_V_select
3.95 default "2.6.18.8" if KERNEL_V_2_6_18_8
3.96 default "2.6.19.7" if KERNEL_V_2_6_19_7
3.97 default "2.6.20.21" if KERNEL_V_2_6_20_21
3.98 @@ -231,14 +231,6 @@
3.99 default "2.6.23.17" if KERNEL_V_2_6_23_17
3.100 default "2.6.24.7" if KERNEL_V_2_6_24_7
3.101 default "2.6.25.20" if KERNEL_V_2_6_25_20
3.102 - default "2.6.26" if KERNEL_V_2_6_26
3.103 - default "2.6.26.1" if KERNEL_V_2_6_26_1
3.104 - default "2.6.26.2" if KERNEL_V_2_6_26_2
3.105 - default "2.6.26.3" if KERNEL_V_2_6_26_3
3.106 - default "2.6.26.4" if KERNEL_V_2_6_26_4
3.107 - default "2.6.26.5" if KERNEL_V_2_6_26_5
3.108 - default "2.6.26.6" if KERNEL_V_2_6_26_6
3.109 - default "2.6.26.7" if KERNEL_V_2_6_26_7
3.110 default "2.6.26.8" if KERNEL_V_2_6_26_8
3.111 default "2.6.27" if KERNEL_V_2_6_27
3.112 default "2.6.27.1" if KERNEL_V_2_6_27_1
3.113 @@ -260,6 +252,8 @@
3.114 default "2.6.27.17" if KERNEL_V_2_6_27_17
3.115 default "2.6.27.18" if KERNEL_V_2_6_27_18
3.116 default "2.6.27.19" if KERNEL_V_2_6_27_19
3.117 + default "2.6.27.20" if KERNEL_V_2_6_27_20
3.118 + default "2.6.27.21" if KERNEL_V_2_6_27_21
3.119 default "2.6.28" if KERNEL_V_2_6_28
3.120 default "2.6.28.1" if KERNEL_V_2_6_28_1
3.121 default "2.6.28.2" if KERNEL_V_2_6_28_2
3.122 @@ -268,8 +262,19 @@
3.123 default "2.6.28.5" if KERNEL_V_2_6_28_5
3.124 default "2.6.28.6" if KERNEL_V_2_6_28_6
3.125 default "2.6.28.7" if KERNEL_V_2_6_28_7
3.126 + default "2.6.28.8" if KERNEL_V_2_6_28_8
3.127 + default "2.6.28.9" if KERNEL_V_2_6_28_9
3.128 + default "2.6.29" if KERNEL_V_2_6_29
3.129 + default "2.6.29.1" if KERNEL_V_2_6_29_1
3.130 # CT_INSERT_VERSION_STRING_ABOVE
3.131 # Don't remove above line!
3.132 + help
3.133 + Enter here the kernel version you want to use, if it is
3.134 + not listed above. Something like V.P.S or V.P.S.E, where:
3.135 + V: VERSION
3.136 + P: PATCHLEVEL
3.137 + S: SUBLEVEL
3.138 + E: EXTRAVERSION
3.139
3.140 choice
3.141 bool
4.1 --- a/configure Sat Apr 11 19:03:02 2009 +0000
4.2 +++ b/configure Sun Apr 19 16:17:11 2009 +0000
4.3 @@ -143,7 +143,7 @@
4.4 echo
4.5 done
4.6 echo "Either you are missing entirely the needed tool,"
4.7 - echo "or the version you have is tool old."
4.8 + echo "or the version you have is too old."
4.9 if [ -n "${var_name}" ]; then
4.10 echo "You can give the path to this tool using: --with-${var_name}=PATH"
4.11 fi
4.12 @@ -294,7 +294,7 @@
4.13 fi
4.14 if [ -z "${grep}" ]; then
4.15 echo "Either you are missing entirely the needed tool,"
4.16 - echo "or the version you have is tool old."
4.17 + echo "or the version you have is too old."
4.18 echo "You can give the path to this tool using: --with-grep=PATH"
4.19 do_error "Bailing out..."
4.20 fi
4.21 @@ -308,7 +308,7 @@
4.22 echo "not found"
4.23 else
4.24 echo "${sed}"
4.25 - printf "Checking wether '${sed}' supports -i and -e... "
4.26 + printf "Checking whether '${sed}' supports -i and -e... "
4.27 touch .ct-ng.sed.test
4.28 if "${sed}" -r -i -e 's/foo/bar/' .ct-ng.sed.test >/dev/null 2>&1; then
4.29 echo "yes"
4.30 @@ -321,7 +321,7 @@
4.31 fi
4.32 if [ -z "${sed}" ]; then
4.33 echo "Either you are missing entirely the needed tool,"
4.34 - echo "or the version you have is tool old."
4.35 + echo "or the version you have is too old."
4.36 echo "You can give the path to this tool using: --with-sed=PATH"
4.37 do_error "Bailing out..."
4.38 fi
5.1 --- a/docs/known-issues.txt Sat Apr 11 19:03:02 2009 +0000
5.2 +++ b/docs/known-issues.txt Sun Apr 19 16:17:11 2009 +0000
5.3 @@ -75,7 +75,7 @@
5.4
5.5 --------------------------------
5.6 Symptoms:
5.7 - The extract and/or path steps fail under cygwin.
5.8 + The extract and/or path steps fail under Cygwin.
5.9
5.10 Explanations:
5.11 This is not related to crosstool-NG. Mounts under Cygwin are by default not
5.12 @@ -90,3 +90,17 @@
5.13 None.
5.14
5.15 --------------------------------
5.16 +Symptoms:
5.17 + uClibc fails to build under Cygwin.
5.18 +
5.19 +Explanations:
5.20 + With uClibc, it is possible to build a cross-ldd. Unfortunately, it is
5.21 + not (currently) possible to build this cross-ldd under Cygwin.
5.22 +
5.23 +Fix:
5.24 + None so far.
5.25 +
5.26 +Workaround:
5.27 + Disable the cross-ldd build.
5.28 +
5.29 +--------------------------------
6.1 --- a/docs/overview.txt Sat Apr 11 19:03:02 2009 +0000
6.2 +++ b/docs/overview.txt Sun Apr 19 16:17:11 2009 +0000
6.3 @@ -168,7 +168,7 @@
6.4
6.5 ./configure --prefix=/usr
6.6 make
6.7 - make DESDTDIR=/packaging/place install
6.8 + make DESTDIR=/packaging/place install
6.9
6.10 Shell completion |
6.11 -----------------+
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch Sun Apr 19 16:17:11 2009 +0000
7.3 @@ -0,0 +1,21 @@
7.4 +On 20090401, Ted Jordan writes:
7.5 + The generated libtool for building libstdc++ adds the -nostdlib option to the
7.6 + g++ command for linking but doesn't add -lgcc. This causes a "hidden symbol"
7.7 + error when linking against the libstdc++ shared object. This patch adds gcc
7.8 + to the list of libraries linked against when linking libstdc++.
7.9 +
7.10 +Index: gcc-4.2.1/ltcf-cxx.sh
7.11 +===================================================================
7.12 +--- gcc-4.2.1.orig/ltcf-cxx.sh 2005-07-15 21:30:53.000000000 -0500
7.13 ++++ gcc-4.2.1/ltcf-cxx.sh 2009-04-02 09:30:34.000000000 -0500
7.14 +@@ -78,8 +78,8 @@
7.15 + # to be the same.
7.16 +
7.17 + if test "$with_gnu_ld" = yes; then
7.18 +- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
7.19 +- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.20 ++ archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -lgcc ${wl}-soname $wl$soname -o $lib'
7.21 ++ archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -lgcc ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7.22 +
7.23 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7.24 + export_dynamic_flag_spec='${wl}--export-dynamic'
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/patches/glibc/2.9/100-ssp-compat.patch Sun Apr 19 16:17:11 2009 +0000
8.3 @@ -0,0 +1,193 @@
8.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0010_all_glibc-2.7-ssp-compat.patch
8.5 +
8.6 +-= BEGIN original header =-
8.7 +Add backwards compat support for gcc-3.x ssp ... older ssp versions
8.8 +used __guard and __stack_smash_handler symbols while gcc-4.1 and newer
8.9 +uses __stack_chk_guard and __stack_chk_fail.
8.10 +
8.11 +-= END original header =-
8.12 +
8.13 +diff -durN glibc-2_9.orig/Versions.def glibc-2_9/Versions.def
8.14 +--- glibc-2_9.orig/Versions.def 2008-08-01 19:13:40.000000000 +0200
8.15 ++++ glibc-2_9/Versions.def 2009-02-02 22:00:33.000000000 +0100
8.16 +@@ -113,6 +113,9 @@
8.17 + GLIBC_2.0
8.18 + GLIBC_2.1
8.19 + GLIBC_2.3
8.20 ++%ifdef ENABLE_OLD_SSP_COMPAT
8.21 ++ GLIBC_2.3.2
8.22 ++%endif
8.23 + GLIBC_2.4
8.24 + GLIBC_PRIVATE
8.25 + }
8.26 +diff -durN glibc-2_9.orig/config.h.in glibc-2_9/config.h.in
8.27 +--- glibc-2_9.orig/config.h.in 2007-03-26 22:40:08.000000000 +0200
8.28 ++++ glibc-2_9/config.h.in 2009-02-02 22:00:32.000000000 +0100
8.29 +@@ -42,6 +42,9 @@
8.30 + assembler instructions per line. Default is `;' */
8.31 + #undef ASM_LINE_SEP
8.32 +
8.33 ++/* Define if we want to enable support for old ssp symbols */
8.34 ++#undef ENABLE_OLD_SSP_COMPAT
8.35 ++
8.36 + /* Define if not using ELF, but `.init' and `.fini' sections are available. */
8.37 + #undef HAVE_INITFINI
8.38 +
8.39 +diff -durN glibc-2_9.orig/configure glibc-2_9/configure
8.40 +--- glibc-2_9.orig/configure 2008-11-11 10:50:11.000000000 +0100
8.41 ++++ glibc-2_9/configure 2009-02-02 22:00:32.000000000 +0100
8.42 +@@ -1380,6 +1380,9 @@
8.43 + --enable-kernel=VERSION compile for compatibility with kernel not older than
8.44 + VERSION
8.45 + --enable-all-warnings enable all useful warnings gcc can issue
8.46 ++ --disable-old-ssp-compat
8.47 ++ enable support for older ssp symbols
8.48 ++ [default=no]
8.49 +
8.50 + Optional Packages:
8.51 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
8.52 +@@ -6470,6 +6473,20 @@
8.53 + echo "${ECHO_T}$libc_cv_ssp" >&6; }
8.54 +
8.55 +
8.56 ++# Check whether --enable-old-ssp-compat or --disable-old-ssp-compat was given.
8.57 ++if test "${enable_old_ssp_compat+set}" = set; then
8.58 ++ enableval="$enable_old_ssp_compat"
8.59 ++ enable_old_ssp_compat=$enableval
8.60 ++else
8.61 ++ enable_old_ssp_compat=no
8.62 ++fi;
8.63 ++if test "x$enable_old_ssp_compat" = "xyes"; then
8.64 ++ cat >>confdefs.h <<\_ACEOF
8.65 ++#define ENABLE_OLD_SSP_COMPAT 1
8.66 ++_ACEOF
8.67 ++
8.68 ++fi
8.69 ++
8.70 + { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
8.71 + echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; }
8.72 + if test "${libc_cv_gnu89_inline+set}" = set; then
8.73 +diff -durN glibc-2_9.orig/configure.in glibc-2_9/configure.in
8.74 +--- glibc-2_9.orig/configure.in 2008-11-11 10:50:11.000000000 +0100
8.75 ++++ glibc-2_9/configure.in 2009-02-02 22:00:32.000000000 +0100
8.76 +@@ -1647,6 +1647,15 @@
8.77 + rm -f conftest*])
8.78 + AC_SUBST(libc_cv_ssp)
8.79 +
8.80 ++AC_ARG_ENABLE([old-ssp-compat],
8.81 ++ AC_HELP_STRING([--enable-old-ssp-compat],
8.82 ++ [enable support for older ssp symbols @<:@default=no@:>@]),
8.83 ++ [enable_old_ssp_compat=$enableval],
8.84 ++ [enable_old_ssp_compat=no])
8.85 ++if test "x$enable_old_ssp_compat" = "xyes"; then
8.86 ++ AC_DEFINE(ENABLE_OLD_SSP_COMPAT)
8.87 ++fi
8.88 ++
8.89 + AC_CACHE_CHECK(for -fgnu89-inline, libc_cv_gnu89_inline, [dnl
8.90 + cat > conftest.c <<EOF
8.91 + int foo;
8.92 +diff -durN glibc-2_9.orig/csu/Versions glibc-2_9/csu/Versions
8.93 +--- glibc-2_9.orig/csu/Versions 2006-10-28 01:11:41.000000000 +0200
8.94 ++++ glibc-2_9/csu/Versions 2009-02-02 22:00:32.000000000 +0100
8.95 +@@ -17,6 +17,12 @@
8.96 + # New special glibc functions.
8.97 + gnu_get_libc_release; gnu_get_libc_version;
8.98 + }
8.99 ++ GLIBC_2.3.2 {
8.100 ++%ifdef ENABLE_OLD_SSP_COMPAT
8.101 ++ # global objects and functions for the old propolice patch in gcc
8.102 ++ __guard;
8.103 ++%endif
8.104 ++ }
8.105 + GLIBC_PRIVATE {
8.106 + %if HAVE___THREAD
8.107 + # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
8.108 +diff -durN glibc-2_9.orig/csu/libc-start.c glibc-2_9/csu/libc-start.c
8.109 +--- glibc-2_9.orig/csu/libc-start.c 2007-08-21 00:27:50.000000000 +0200
8.110 ++++ glibc-2_9/csu/libc-start.c 2009-02-02 22:00:32.000000000 +0100
8.111 +@@ -37,6 +37,9 @@
8.112 + uintptr_t __stack_chk_guard attribute_relro;
8.113 + # endif
8.114 + #endif
8.115 ++#ifdef ENABLE_OLD_SSP_COMPAT
8.116 ++uintptr_t __guard attribute_relro;
8.117 ++#endif
8.118 +
8.119 + #ifdef HAVE_PTR_NTHREADS
8.120 + /* We need atomic operations. */
8.121 +@@ -141,6 +144,9 @@
8.122 +
8.123 + /* Set up the stack checker's canary. */
8.124 + uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard ();
8.125 ++#ifdef ENABLE_OLD_SSP_COMPAT
8.126 ++ __guard = stack_chk_guard;
8.127 ++#endif
8.128 + # ifdef THREAD_SET_STACK_GUARD
8.129 + THREAD_SET_STACK_GUARD (stack_chk_guard);
8.130 + # else
8.131 +diff -durN glibc-2_9.orig/debug/Versions glibc-2_9/debug/Versions
8.132 +--- glibc-2_9.orig/debug/Versions 2008-03-05 07:53:41.000000000 +0100
8.133 ++++ glibc-2_9/debug/Versions 2009-02-02 22:00:32.000000000 +0100
8.134 +@@ -10,6 +10,12 @@
8.135 + # These are to support some gcc features.
8.136 + __cyg_profile_func_enter; __cyg_profile_func_exit;
8.137 + }
8.138 ++%ifdef ENABLE_OLD_SSP_COMPAT
8.139 ++ GLIBC_2.3.2 {
8.140 ++ # backwards ssp compat support; alias to __stack_chk_fail
8.141 ++ __stack_smash_handler;
8.142 ++ }
8.143 ++%endif
8.144 + GLIBC_2.3.4 {
8.145 + __chk_fail;
8.146 + __memcpy_chk; __memmove_chk; __mempcpy_chk; __memset_chk; __stpcpy_chk;
8.147 +diff -durN glibc-2_9.orig/debug/stack_chk_fail.c glibc-2_9/debug/stack_chk_fail.c
8.148 +--- glibc-2_9.orig/debug/stack_chk_fail.c 2007-05-25 01:47:08.000000000 +0200
8.149 ++++ glibc-2_9/debug/stack_chk_fail.c 2009-02-02 22:00:32.000000000 +0100
8.150 +@@ -28,3 +28,7 @@
8.151 + {
8.152 + __fortify_fail ("stack smashing detected");
8.153 + }
8.154 ++
8.155 ++#ifdef ENABLE_OLD_SSP_COMPAT
8.156 ++strong_alias (__stack_chk_fail, __stack_smash_handler)
8.157 ++#endif
8.158 +diff -durN glibc-2_9.orig/elf/Versions glibc-2_9/elf/Versions
8.159 +--- glibc-2_9.orig/elf/Versions 2008-03-08 06:42:26.000000000 +0100
8.160 ++++ glibc-2_9/elf/Versions 2009-02-02 22:00:33.000000000 +0100
8.161 +@@ -43,6 +43,12 @@
8.162 + # runtime interface to TLS
8.163 + __tls_get_addr;
8.164 + }
8.165 ++%ifdef ENABLE_OLD_SSP_COMPAT
8.166 ++ GLIBC_2.3.2 {
8.167 ++ # backwards ssp compat support
8.168 ++ __guard;
8.169 ++ }
8.170 ++%endif
8.171 + GLIBC_2.4 {
8.172 + # stack canary
8.173 + __stack_chk_guard;
8.174 +diff -durN glibc-2_9.orig/elf/rtld.c glibc-2_9/elf/rtld.c
8.175 +--- glibc-2_9.orig/elf/rtld.c 2008-08-14 19:01:56.000000000 +0200
8.176 ++++ glibc-2_9/elf/rtld.c 2009-02-02 22:00:32.000000000 +0100
8.177 +@@ -89,6 +89,9 @@
8.178 + in thread local area. */
8.179 + uintptr_t __stack_chk_guard attribute_relro;
8.180 + #endif
8.181 ++#ifdef ENABLE_OLD_SSP_COMPAT
8.182 ++uintptr_t __guard attribute_relro;
8.183 ++#endif
8.184 +
8.185 + /* Only exported for architectures that don't store the pointer guard
8.186 + value in thread local area. */
8.187 +@@ -842,6 +845,9 @@
8.188 + {
8.189 + /* Set up the stack checker's canary. */
8.190 + uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard ();
8.191 ++#ifdef ENABLE_OLD_SSP_COMPAT
8.192 ++ __guard = stack_chk_guard;
8.193 ++#endif
8.194 + #ifdef THREAD_SET_STACK_GUARD
8.195 + THREAD_SET_STACK_GUARD (stack_chk_guard);
8.196 + #else
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/patches/glibc/2.9/110-respect-env-CPPFLAGS.patch Sun Apr 19 16:17:11 2009 +0000
9.3 @@ -0,0 +1,30 @@
9.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0030_all_glibc-respect-env-CPPFLAGS.patch
9.5 +
9.6 +-= BEGIN original header =-
9.7 +Respect environment CPPFLAGS when we run ./configure so we can inject
9.8 +random -D things without having to set CFLAGS/ASFLAGS
9.9 +
9.10 +-= END original header =-
9.11 +
9.12 +diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig
9.13 +--- glibc-2_9.orig/Makeconfig 2008-08-18 11:42:17.000000000 +0200
9.14 ++++ glibc-2_9/Makeconfig 2009-02-02 22:00:35.000000000 +0100
9.15 +@@ -673,6 +673,7 @@
9.16 + $(foreach lib,$(libof-$(basename $(@F))) \
9.17 + $(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \
9.18 + $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F)))
9.19 ++CPPFLAGS += $(CPPFLAGS-config)
9.20 + override CFLAGS = -std=gnu99 $(gnu89-inline-CFLAGS) \
9.21 + $(filter-out %frame-pointer,$(+cflags)) $(+gccwarn-c) \
9.22 + $(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) \
9.23 +diff -durN glibc-2_9.orig/config.make.in glibc-2_9/config.make.in
9.24 +--- glibc-2_9.orig/config.make.in 2008-08-18 11:42:17.000000000 +0200
9.25 ++++ glibc-2_9/config.make.in 2009-02-02 22:00:35.000000000 +0100
9.26 +@@ -97,6 +97,7 @@
9.27 + CXX = @CXX@
9.28 + BUILD_CC = @BUILD_CC@
9.29 + CFLAGS = @CFLAGS@
9.30 ++CPPFLAGS-config = @CPPFLAGS@
9.31 + ASFLAGS-config = @ASFLAGS_config@
9.32 + AR = @AR@
9.33 + RANLIB = @RANLIB@
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/patches/glibc/2.9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch Sun Apr 19 16:17:11 2009 +0000
10.3 @@ -0,0 +1,35 @@
10.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0050_all_glibc-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch
10.5 +
10.6 +-= BEGIN original header =-
10.7 +http://sourceware.org/ml/libc-alpha/2009-01/msg00000.html
10.8 +
10.9 +From 8ad7030880eaa18dcabf8e284e79026301fd3fa4 Mon Sep 17 00:00:00 2001
10.10 +From: Ulrich Drepper <drepper@redhat.com>
10.11 +Date: Thu, 8 Jan 2009 00:02:38 +0000
10.12 +Subject: [PATCH] (_nss_dns_gethostbyaddr2_r): Check and adjust the buffer alignment.
10.13 +
10.14 +-= END original header =-
10.15 +
10.16 +diff -durN glibc-2_9.orig/resolv/nss_dns/dns-host.c glibc-2_9/resolv/nss_dns/dns-host.c
10.17 +--- glibc-2_9.orig/resolv/nss_dns/dns-host.c 2008-11-12 08:52:20.000000000 +0100
10.18 ++++ glibc-2_9/resolv/nss_dns/dns-host.c 2009-02-02 22:00:36.000000000 +0100
10.19 +@@ -364,6 +364,19 @@
10.20 + int n, status;
10.21 + int olderr = errno;
10.22 +
10.23 ++ uintptr_t pad = -(uintptr_t) buffer % __alignof__ (struct host_data);
10.24 ++ buffer += pad;
10.25 ++ buflen = buflen > pad ? buflen - pad : 0;
10.26 ++
10.27 ++ if (__builtin_expect (buflen < sizeof (struct host_data), 0))
10.28 ++ {
10.29 ++ *errnop = ERANGE;
10.30 ++ *h_errnop = NETDB_INTERNAL;
10.31 ++ return NSS_STATUS_TRYAGAIN;
10.32 ++ }
10.33 ++
10.34 ++ host_data = (struct host_data *) buffer;
10.35 ++
10.36 + if (__res_maybe_init (&_res, 0) == -1)
10.37 + return NSS_STATUS_UNAVAIL;
10.38 +
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/patches/glibc/2.9/130-add_prio-macros.patch Sun Apr 19 16:17:11 2009 +0000
11.3 @@ -0,0 +1,26 @@
11.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0051_all_glibc-2.9-add_prio-macros.patch
11.5 +
11.6 +-= BEGIN original header =-
11.7 +http://sourceware.org/ml/libc-alpha/2009-01/msg00003.html
11.8 +
11.9 +From a1737958e074e8f990760acc8abeb0c23715a859 Mon Sep 17 00:00:00 2001
11.10 +From: Roland McGrath <roland@gnu.org>
11.11 +Date: Sat, 3 Jan 2009 21:04:01 +0000
11.12 +Subject: [PATCH] 2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11.13 +
11.14 + * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
11.15 +-= END original header =-
11.16 +
11.17 +diff -durN glibc-2_9.orig/bits/resource.h glibc-2_9/bits/resource.h
11.18 +--- glibc-2_9.orig/bits/resource.h 2006-03-05 23:48:10.000000000 +0100
11.19 ++++ glibc-2_9/bits/resource.h 2009-02-02 22:00:38.000000000 +0100
11.20 +@@ -185,6 +185,9 @@
11.21 + enum __priority_which
11.22 + {
11.23 + PRIO_PROCESS = 0, /* WHO is a process ID. */
11.24 ++#define PRIO_PROCESS PRIO_PROCESS
11.25 + PRIO_PGRP = 1, /* WHO is a process group ID. */
11.26 ++#define PRIO_PGRP PRIO_PGRP
11.27 + PRIO_USER = 2 /* WHO is a user ID. */
11.28 ++#define PRIO_USER PRIO_USER
11.29 + };
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/patches/glibc/2.9/140-regex-BZ9697.patch Sun Apr 19 16:17:11 2009 +0000
12.3 @@ -0,0 +1,111 @@
12.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0052_all_glibc-2.9-regex-BZ9697.patch
12.5 +
12.6 +-= BEGIN original header =-
12.7 +http://sourceware.org/ml/libc-alpha/2009-01/msg00005.html
12.8 +
12.9 +From ea8ca0dfcbf2721bcf2c08ce3c01d5764b827572 Mon Sep 17 00:00:00 2001
12.10 +From: Ulrich Drepper <drepper@redhat.com>
12.11 +Date: Thu, 8 Jan 2009 00:42:28 +0000
12.12 +Subject: [PATCH] (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET handling.
12.13 +
12.14 +-= END original header =-
12.15 +
12.16 +diff -durN glibc-2_9.orig/posix/regcomp.c glibc-2_9/posix/regcomp.c
12.17 +--- glibc-2_9.orig/posix/regcomp.c 2008-05-15 05:07:21.000000000 +0200
12.18 ++++ glibc-2_9/posix/regcomp.c 2009-02-02 22:00:41.000000000 +0100
12.19 +@@ -350,47 +350,67 @@
12.20 + #ifdef RE_ENABLE_I18N
12.21 + else if (type == COMPLEX_BRACKET)
12.22 + {
12.23 +- int i;
12.24 + re_charset_t *cset = dfa->nodes[node].opr.mbcset;
12.25 +- if (cset->non_match || cset->ncoll_syms || cset->nequiv_classes
12.26 +- || cset->nranges || cset->nchar_classes)
12.27 +- {
12.28 ++ int i;
12.29 ++
12.30 + # ifdef _LIBC
12.31 +- if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0)
12.32 ++ /* See if we have to try all bytes which start multiple collation
12.33 ++ elements.
12.34 ++ e.g. In da_DK, we want to catch 'a' since "aa" is a valid
12.35 ++ collation element, and don't catch 'b' since 'b' is
12.36 ++ the only collation element which starts from 'b' (and
12.37 ++ it is caught by SIMPLE_BRACKET). */
12.38 ++ if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0
12.39 ++ && (cset->ncoll_syms || cset->nranges))
12.40 + {
12.41 +- /* In this case we want to catch the bytes which are
12.42 +- the first byte of any collation elements.
12.43 +- e.g. In da_DK, we want to catch 'a' since "aa"
12.44 +- is a valid collation element, and don't catch
12.45 +- 'b' since 'b' is the only collation element
12.46 +- which starts from 'b'. */
12.47 + const int32_t *table = (const int32_t *)
12.48 + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB);
12.49 + for (i = 0; i < SBC_MAX; ++i)
12.50 + if (table[i] < 0)
12.51 + re_set_fastmap (fastmap, icase, i);
12.52 + }
12.53 +-# else
12.54 +- if (dfa->mb_cur_max > 1)
12.55 +- for (i = 0; i < SBC_MAX; ++i)
12.56 +- if (__btowc (i) == WEOF)
12.57 +- re_set_fastmap (fastmap, icase, i);
12.58 +-# endif /* not _LIBC */
12.59 +- }
12.60 +- for (i = 0; i < cset->nmbchars; ++i)
12.61 ++# endif /* _LIBC */
12.62 ++
12.63 ++ /* See if we have to start the match at all multibyte characters,
12.64 ++ i.e. where we would not find an invalid sequence. This only
12.65 ++ applies to multibyte character sets; for single byte character
12.66 ++ sets, the SIMPLE_BRACKET again suffices. */
12.67 ++ if (dfa->mb_cur_max > 1
12.68 ++ && (cset->nchar_classes || cset->non_match
12.69 ++# ifdef _LIBC
12.70 ++ || cset->nequiv_classes
12.71 ++# endif /* _LIBC */
12.72 ++ ))
12.73 + {
12.74 +- char buf[256];
12.75 +- mbstate_t state;
12.76 +- memset (&state, '\0', sizeof (state));
12.77 +- if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1)
12.78 +- re_set_fastmap (fastmap, icase, *(unsigned char *) buf);
12.79 +- if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
12.80 ++ unsigned char c = 0;
12.81 ++ do
12.82 + {
12.83 +- if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state)
12.84 +- != (size_t) -1)
12.85 +- re_set_fastmap (fastmap, 0, *(unsigned char *) buf);
12.86 ++ mbstate_t mbs;
12.87 ++ memset (&mbs, 0, sizeof (mbs));
12.88 ++ if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2)
12.89 ++ re_set_fastmap (fastmap, false, (int) c);
12.90 + }
12.91 ++ while (++c != 0);
12.92 + }
12.93 ++
12.94 ++ else
12.95 ++ {
12.96 ++ /* ... Else catch all bytes which can start the mbchars. */
12.97 ++ for (i = 0; i < cset->nmbchars; ++i)
12.98 ++ {
12.99 ++ char buf[256];
12.100 ++ mbstate_t state;
12.101 ++ memset (&state, '\0', sizeof (state));
12.102 ++ if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1)
12.103 ++ re_set_fastmap (fastmap, icase, *(unsigned char *) buf);
12.104 ++ if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
12.105 ++ {
12.106 ++ if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state)
12.107 ++ != (size_t) -1)
12.108 ++ re_set_fastmap (fastmap, false, *(unsigned char *) buf);
12.109 ++ }
12.110 ++ }
12.111 ++ }
12.112 + }
12.113 + #endif /* RE_ENABLE_I18N */
12.114 + else if (type == OP_PERIOD
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/patches/glibc/2.9/150-regex-BZ697.patch Sun Apr 19 16:17:11 2009 +0000
13.3 @@ -0,0 +1,28 @@
13.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0053_all_glibc-2.9-regex-BZ697.patch
13.5 +
13.6 +-= BEGIN original header =-
13.7 +http://sourceware.org/ml/libc-alpha/2009-01/msg00006.html
13.8 +
13.9 +From 37bdc055ceeb6b1144c07448a7210d9ab3fbb2f5 Mon Sep 17 00:00:00 2001
13.10 +From: Ulrich Drepper <drepper@redhat.com>
13.11 +Date: Thu, 8 Jan 2009 00:47:05 +0000
13.12 +Subject: [PATCH] (prune_impossible_nodes): Handle sifted_states[0] being NULL also if
13.13 + there are no backreferences.
13.14 +
13.15 +-= END original header =-
13.16 +
13.17 +diff -durN glibc-2_9.orig/posix/regexec.c glibc-2_9/posix/regexec.c
13.18 +--- glibc-2_9.orig/posix/regexec.c 2007-10-12 19:47:13.000000000 +0200
13.19 ++++ glibc-2_9/posix/regexec.c 2009-02-02 22:00:43.000000000 +0100
13.20 +@@ -1004,6 +1004,11 @@
13.21 + re_node_set_free (&sctx.limits);
13.22 + if (BE (ret != REG_NOERROR, 0))
13.23 + goto free_return;
13.24 ++ if (sifted_states[0] == NULL)
13.25 ++ {
13.26 ++ ret = REG_NOMATCH;
13.27 ++ goto free_return;
13.28 ++ }
13.29 + }
13.30 + re_free (mctx->state_log);
13.31 + mctx->state_log = sifted_states;
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/patches/glibc/2.9/160-i386-x86_64-revert-clone-cfi.patch Sun Apr 19 16:17:11 2009 +0000
14.3 @@ -0,0 +1,53 @@
14.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0070_all_glibc-i386-x86_64-revert-clone-cfi.patch
14.5 +
14.6 +-= BEGIN original header =-
14.7 +revert cfi additions to clone on i386/x86_64 to workaround problems in
14.8 +gcc's unwinder code. this is not a bug in glibc, it triggers problems
14.9 +elsewhere. this cfi code does not gain us a whole lot anyways.
14.10 +
14.11 +http://gcc.gnu.org/ml/gcc/2006-12/msg00293.html
14.12 +
14.13 +-= END original header =-
14.14 +
14.15 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S
14.16 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S 2006-12-04 00:12:36.000000000 +0100
14.17 ++++ glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S 2009-02-02 22:00:45.000000000 +0100
14.18 +@@ -120,9 +120,6 @@
14.19 + ret
14.20 +
14.21 + L(thread_start):
14.22 +- cfi_startproc;
14.23 +- /* Clearing frame pointer is insufficient, use CFI. */
14.24 +- cfi_undefined (eip);
14.25 + /* Note: %esi is zero. */
14.26 + movl %esi,%ebp /* terminate the stack frame */
14.27 + #ifdef RESET_PID
14.28 +@@ -155,7 +152,6 @@
14.29 + jmp L(haspid)
14.30 + .previous
14.31 + #endif
14.32 +- cfi_endproc;
14.33 +
14.34 + cfi_startproc
14.35 + PSEUDO_END (BP_SYM (__clone))
14.36 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S
14.37 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S 2006-12-04 00:12:36.000000000 +0100
14.38 ++++ glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S 2009-02-02 22:00:45.000000000 +0100
14.39 +@@ -89,9 +89,6 @@
14.40 + ret
14.41 +
14.42 + L(thread_start):
14.43 +- cfi_startproc;
14.44 +- /* Clearing frame pointer is insufficient, use CFI. */
14.45 +- cfi_undefined (rip);
14.46 + /* Clear the frame pointer. The ABI suggests this be done, to mark
14.47 + the outermost frame obviously. */
14.48 + xorl %ebp, %ebp
14.49 +@@ -116,7 +113,6 @@
14.50 + /* Call exit with return value from function call. */
14.51 + movq %rax, %rdi
14.52 + call HIDDEN_JUMPTARGET (_exit)
14.53 +- cfi_endproc;
14.54 +
14.55 + cfi_startproc;
14.56 + PSEUDO_END (BP_SYM (__clone))
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/patches/glibc/2.9/170-2.10-dns-no-gethostbyname4.patch Sun Apr 19 16:17:11 2009 +0000
15.3 @@ -0,0 +1,35 @@
15.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0080_all_glibc-2.10-dns-no-gethostbyname4.patch
15.5 +
15.6 +-= BEGIN original header =-
15.7 +http://sourceware.org/bugzilla/show_bug.cgi?id=7060
15.8 +http://bugs.gentoo.org/250468
15.9 +
15.10 +The gethostbyname4() lookup method is problematic since it fires out both
15.11 +the A and AAAA DNS queries in parallel and over the same socket. This
15.12 +should work in theory, but it turns out that many cheap DSL modems and
15.13 +similar devices have buggy DNS servers - if the AAAA query arrives too
15.14 +quickly after the A query, the server will generate only a single reply
15.15 +with the A query id but returning an error for the AAAA query; we get
15.16 +stuck waiting for the second reply.
15.17 +
15.18 +For gethostbyname4() users affected, disabling IPv6 in the system might
15.19 +work around the issue, unfortunately it only helps with applications
15.20 +using AI_ADDRCONFIG (e.g. Firefox); some (notably e.g. Pidgin) neglect
15.21 +to do that.
15.22 +
15.23 +Real fix should be using separate ports for the A and AAAA queries.
15.24 +
15.25 +-= END original header =-
15.26 +
15.27 +diff -durN glibc-2_9.orig/resolv/Versions glibc-2_9/resolv/Versions
15.28 +--- glibc-2_9.orig/resolv/Versions 2008-08-01 19:15:34.000000000 +0200
15.29 ++++ glibc-2_9/resolv/Versions 2009-02-02 22:00:46.000000000 +0100
15.30 +@@ -102,7 +102,7 @@
15.31 + _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
15.32 + _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r;
15.33 + _nss_dns_gethostbyaddr2_r;
15.34 +- _nss_dns_gethostbyname4_r;
15.35 ++# _nss_dns_gethostbyname4_r;
15.36 + }
15.37 + }
15.38 +
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/patches/glibc/2.9/180-math-tests.patch Sun Apr 19 16:17:11 2009 +0000
16.3 @@ -0,0 +1,72 @@
16.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/0090_all_glibc-math-tests.patch
16.5 +
16.6 +-= BEGIN original header =-
16.7 +From: "Joseph S. Myers" <joseph at codesourcery dot com>
16.8 +To: libc-alpha at sourceware dot org
16.9 +Date: Tue, 15 Jul 2008 14:43:04 +0000 (UTC)
16.10 +Subject: expm1 ulps
16.11 +
16.12 +If you test glibc on i686 with GCC 4.3, you get a test-ildoubl failure:
16.13 +
16.14 +Failure: Test: expm1 (1) == M_El - 1.0
16.15 +Result:
16.16 + is: 1.71828182845904523532e+00 0xd.bf0a8b14576953500000p-3
16.17 + should be: 1.71828182845904523543e+00 0xd.bf0a8b14576953600000p-3
16.18 + difference: 1.08420217248550443401e-19 0x8.00000000000000000000p-66
16.19 + ulp : 1.0000
16.20 + max.ulp : 0.0000
16.21 +Maximal error of `expm1'
16.22 + is : 1 ulp
16.23 + accepted: 0 ulp
16.24 +
16.25 +What happens is that the inline expansion of expm1l uses __builtin_expm1l,
16.26 +and GCC 4.3 optimizes calls to __builtin_expm1l with constant argument to
16.27 +a correctly rounded result using MPFR. The result returned is thus the
16.28 +value of e-1 rounded once to long double precision. However, the test
16.29 +expects M_El - 1.0, and the result of rounding e to long double precision,
16.30 +then subtracting 1, differs in the last place from the result of rounding
16.31 +e-1 to long double precision (the latter has smaller exponent, and the
16.32 +last bit is 1).
16.33 +
16.34 +There are two obvious approaches possible to fixing this. The first patch
16.35 +below changes the expectation to a decimal expansion for e-1 (taken from
16.36 +that of M_El) rather than doing arithmetic in the expected value. This in
16.37 +turn requires ulps to be set for the out-of-line version of expm1. It
16.38 +might also need ulps to be set for the inline version for older compilers
16.39 +if they should continue to pass the test, and possibly for other targets.
16.40 +The second patch below takes the alternative approach of keeping the
16.41 +existing expectation (which has the wrong bit in the last place) and
16.42 +setting ulps for the inline expansion of expm1, which avoids the risk of
16.43 +breaking the test for other targets.
16.44 +
16.45 +2008-07-15 Joseph Myers <joseph@codesourcery.com>
16.46 +
16.47 + * sysdeps/i386/fpu/libm-test-ulps: Add inline long double ulps for
16.48 + expm1.
16.49 +
16.50 +-= END original header =-
16.51 +
16.52 +diff -durN glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps glibc-2_9/sysdeps/i386/fpu/libm-test-ulps
16.53 +--- glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps 2006-01-15 18:59:37.000000000 +0100
16.54 ++++ glibc-2_9/sysdeps/i386/fpu/libm-test-ulps 2009-02-02 22:00:47.000000000 +0100
16.55 +@@ -453,6 +453,10 @@
16.56 + ildouble: 8
16.57 + ldouble: 8
16.58 +
16.59 ++# expm1
16.60 ++Test "expm1 (1) == M_El - 1.0":
16.61 ++ildouble: 1
16.62 ++
16.63 + # gamma
16.64 + Test "gamma (-0.5) == log(2*sqrt(pi))":
16.65 + double: 1
16.66 +@@ -1134,6 +1138,9 @@
16.67 + ildouble: 8
16.68 + ldouble: 8
16.69 +
16.70 ++Function: "expm1":
16.71 ++ildouble: 1
16.72 ++
16.73 + Function: "gamma":
16.74 + double: 1
16.75 + idouble: 1
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
17.2 +++ b/patches/glibc/2.9/190-queue-header-updates.patch Sun Apr 19 16:17:11 2009 +0000
17.3 @@ -0,0 +1,89 @@
17.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1010_all_glibc-queue-header-updates.patch
17.5 +
17.6 +-= BEGIN original header =-
17.7 +grab some updates from FreeBSD
17.8 +
17.9 +http://bugs.gentoo.org/201979
17.10 +
17.11 +-= END original header =-
17.12 +
17.13 +diff -durN glibc-2_9.orig/misc/sys/queue.h glibc-2_9/misc/sys/queue.h
17.14 +--- glibc-2_9.orig/misc/sys/queue.h 2008-03-05 06:50:30.000000000 +0100
17.15 ++++ glibc-2_9/misc/sys/queue.h 2009-02-02 22:00:48.000000000 +0100
17.16 +@@ -136,6 +136,11 @@
17.17 + (var); \
17.18 + (var) = ((var)->field.le_next))
17.19 +
17.20 ++#define LIST_FOREACH_SAFE(var, head, field, tvar) \
17.21 ++ for ((var) = LIST_FIRST((head)); \
17.22 ++ (var) && ((tvar) = LIST_NEXT((var), field), 1); \
17.23 ++ (var) = (tvar))
17.24 ++
17.25 + /*
17.26 + * List access methods.
17.27 + */
17.28 +@@ -197,6 +202,16 @@
17.29 + #define SLIST_FOREACH(var, head, field) \
17.30 + for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next)
17.31 +
17.32 ++#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
17.33 ++ for ((var) = SLIST_FIRST((head)); \
17.34 ++ (var) && ((tvar) = SLIST_NEXT((var), field), 1); \
17.35 ++ (var) = (tvar))
17.36 ++
17.37 ++#define SLIST_FOREACH_PREVPTR(var, varp, head, field) \
17.38 ++ for ((varp) = &SLIST_FIRST((head)); \
17.39 ++ ((var) = *(varp)) != NULL; \
17.40 ++ (varp) = &SLIST_NEXT((var), field))
17.41 ++
17.42 + /*
17.43 + * Singly-linked List access methods.
17.44 + */
17.45 +@@ -242,6 +257,12 @@
17.46 + (head)->stqh_last = &(elm)->field.stqe_next; \
17.47 + } while (/*CONSTCOND*/0)
17.48 +
17.49 ++#define STAILQ_LAST(head, type, field) \
17.50 ++ (STAILQ_EMPTY((head)) ? \
17.51 ++ NULL : \
17.52 ++ ((struct type *)(void *) \
17.53 ++ ((char *)((head)->stqh_last) - __offsetof(struct type, field))))
17.54 ++
17.55 + #define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
17.56 + if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\
17.57 + (head)->stqh_last = &(elm)->field.stqe_next; \
17.58 +@@ -286,6 +307,11 @@
17.59 + #define STAILQ_FIRST(head) ((head)->stqh_first)
17.60 + #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
17.61 +
17.62 ++#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \
17.63 ++ for ((var) = STAILQ_FIRST((head)); \
17.64 ++ (var) && ((tvar) = STAILQ_NEXT((var), field), 1); \
17.65 ++ (var) = (tvar))
17.66 ++
17.67 +
17.68 + /*
17.69 + * Simple queue definitions.
17.70 +@@ -437,11 +463,22 @@
17.71 + (var); \
17.72 + (var) = ((var)->field.tqe_next))
17.73 +
17.74 ++#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
17.75 ++ for ((var) = TAILQ_FIRST((head)); \
17.76 ++ (var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
17.77 ++ (var) = (tvar))
17.78 ++
17.79 + #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
17.80 + for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \
17.81 + (var); \
17.82 + (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
17.83 +
17.84 ++#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \
17.85 ++ for ((var) = TAILQ_LAST((head), headname); \
17.86 ++ (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); \
17.87 ++ (var) = (tvar))
17.88 ++
17.89 ++
17.90 + #define TAILQ_CONCAT(head1, head2, field) do { \
17.91 + if (!TAILQ_EMPTY(head2)) { \
17.92 + *(head1)->tqh_last = (head2)->tqh_first; \
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
18.2 +++ b/patches/glibc/2.9/200-awk-in-C-locale.patch Sun Apr 19 16:17:11 2009 +0000
18.3 @@ -0,0 +1,23 @@
18.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1018_all_glibc-awk-in-C-locale.patch
18.5 +
18.6 +-= BEGIN original header =-
18.7 +http://bugs.gentoo.org/252802
18.8 +
18.9 +2008-12-29 Mike Frysinger <vapier@gentoo.org>
18.10 +
18.11 + * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk script.
18.12 +
18.13 +-= END original header =-
18.14 +
18.15 +diff -durN glibc-2_9.orig/iconvdata/Makefile glibc-2_9/iconvdata/Makefile
18.16 +--- glibc-2_9.orig/iconvdata/Makefile 2008-05-15 03:54:31.000000000 +0200
18.17 ++++ glibc-2_9/iconvdata/Makefile 2009-02-02 22:00:50.000000000 +0100
18.18 +@@ -286,7 +286,7 @@
18.19 + { echo $(filter-out lib%, $(modules)); \
18.20 + echo 8bit $(gen-8bit-modules); \
18.21 + echo 8bit-gap $(gen-8bit-gap-modules); } | \
18.22 +- $(AWK) 'NR == 1 { \
18.23 ++ LC_ALL=C $(AWK) 'NR == 1 { \
18.24 + for (i = 1; i <= NF; i++) { \
18.25 + printf "%s-routines := %s\n", $$i, tolower($$i); \
18.26 + printf "%s-map := gconv.map\n", $$i; \
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
19.2 +++ b/patches/glibc/2.9/210-2.9-strlen-hack.patch Sun Apr 19 16:17:11 2009 +0000
19.3 @@ -0,0 +1,109 @@
19.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1020_all_glibc-2.9-strlen-hack.patch
19.5 +
19.6 +-= BEGIN original header =-
19.7 +http://sourceware.org/bugzilla/show_bug.cgi?id=5807
19.8 +http://www.cl.cam.ac.uk/~am21/progtricks.html
19.9 +
19.10 +-= END original header =-
19.11 +
19.12 +diff -durN glibc-2_9.orig/string/strlen.c glibc-2_9/string/strlen.c
19.13 +--- glibc-2_9.orig/string/strlen.c 2005-12-14 12:09:07.000000000 +0100
19.14 ++++ glibc-2_9/string/strlen.c 2009-02-02 22:00:51.000000000 +0100
19.15 +@@ -32,7 +32,7 @@
19.16 + {
19.17 + const char *char_ptr;
19.18 + const unsigned long int *longword_ptr;
19.19 +- unsigned long int longword, magic_bits, himagic, lomagic;
19.20 ++ unsigned long int longword, himagic, lomagic;
19.21 +
19.22 + /* Handle the first few characters by reading one character at a time.
19.23 + Do this until CHAR_PTR is aligned on a longword boundary. */
19.24 +@@ -42,28 +42,14 @@
19.25 + if (*char_ptr == '\0')
19.26 + return char_ptr - str;
19.27 +
19.28 +- /* All these elucidatory comments refer to 4-byte longwords,
19.29 +- but the theory applies equally well to 8-byte longwords. */
19.30 +-
19.31 + longword_ptr = (unsigned long int *) char_ptr;
19.32 +
19.33 +- /* Bits 31, 24, 16, and 8 of this number are zero. Call these bits
19.34 +- the "holes." Note that there is a hole just to the left of
19.35 +- each byte, with an extra at the end:
19.36 +-
19.37 +- bits: 01111110 11111110 11111110 11111111
19.38 +- bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD
19.39 +-
19.40 +- The 1-bits make sure that carries propagate to the next 0-bit.
19.41 +- The 0-bits provide holes for carries to fall into. */
19.42 +- magic_bits = 0x7efefeffL;
19.43 + himagic = 0x80808080L;
19.44 + lomagic = 0x01010101L;
19.45 + if (sizeof (longword) > 4)
19.46 + {
19.47 + /* 64-bit version of the magic. */
19.48 + /* Do the shift in two steps to avoid a warning if long has 32 bits. */
19.49 +- magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL;
19.50 + himagic = ((himagic << 16) << 16) | himagic;
19.51 + lomagic = ((lomagic << 16) << 16) | lomagic;
19.52 + }
19.53 +@@ -75,56 +61,12 @@
19.54 + if *any of the four* bytes in the longword in question are zero. */
19.55 + for (;;)
19.56 + {
19.57 +- /* We tentatively exit the loop if adding MAGIC_BITS to
19.58 +- LONGWORD fails to change any of the hole bits of LONGWORD.
19.59 +-
19.60 +- 1) Is this safe? Will it catch all the zero bytes?
19.61 +- Suppose there is a byte with all zeros. Any carry bits
19.62 +- propagating from its left will fall into the hole at its
19.63 +- least significant bit and stop. Since there will be no
19.64 +- carry from its most significant bit, the LSB of the
19.65 +- byte to the left will be unchanged, and the zero will be
19.66 +- detected.
19.67 +-
19.68 +- 2) Is this worthwhile? Will it ignore everything except
19.69 +- zero bytes? Suppose every byte of LONGWORD has a bit set
19.70 +- somewhere. There will be a carry into bit 8. If bit 8
19.71 +- is set, this will carry into bit 16. If bit 8 is clear,
19.72 +- one of bits 9-15 must be set, so there will be a carry
19.73 +- into bit 16. Similarly, there will be a carry into bit
19.74 +- 24. If one of bits 24-30 is set, there will be a carry
19.75 +- into bit 31, so all of the hole bits will be changed.
19.76 +-
19.77 +- The one misfire occurs when bits 24-30 are clear and bit
19.78 +- 31 is set; in this case, the hole at bit 31 is not
19.79 +- changed. If we had access to the processor carry flag,
19.80 +- we could close this loophole by putting the fourth hole
19.81 +- at bit 32!
19.82 +-
19.83 +- So it ignores everything except 128's, when they're aligned
19.84 +- properly. */
19.85 +-
19.86 + longword = *longword_ptr++;
19.87 +
19.88 +- if (
19.89 +-#if 0
19.90 +- /* Add MAGIC_BITS to LONGWORD. */
19.91 +- (((longword + magic_bits)
19.92 +-
19.93 +- /* Set those bits that were unchanged by the addition. */
19.94 +- ^ ~longword)
19.95 +-
19.96 +- /* Look at only the hole bits. If any of the hole bits
19.97 +- are unchanged, most likely one of the bytes was a
19.98 +- zero. */
19.99 +- & ~magic_bits)
19.100 +-#else
19.101 +- ((longword - lomagic) & himagic)
19.102 +-#endif
19.103 +- != 0)
19.104 ++ /* This hack taken from Alan Mycroft's HAKMEMC postings.
19.105 ++ See: http://www.cl.cam.ac.uk/~am21/progtricks.html */
19.106 ++ if (((longword - lomagic) & ~longword & himagic) != 0)
19.107 + {
19.108 +- /* Which of the bytes was the zero? If none of them were, it was
19.109 +- a misfire; continue the search. */
19.110 +
19.111 + const char *cp = (const char *) (longword_ptr - 1);
19.112 +
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
20.2 +++ b/patches/glibc/2.9/220-manual-no-perl.patch Sun Apr 19 16:17:11 2009 +0000
20.3 @@ -0,0 +1,29 @@
20.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1030_all_glibc-manual-no-perl.patch
20.5 +
20.6 +-= BEGIN original header =-
20.7 +If we're using a cvs snapshot which updates the source files, and
20.8 +perl isn't installed yet, then we can't regen the docs. Not a big
20.9 +deal, so just whine a little and continue on our merry way.
20.10 +
20.11 +http://bugs.gentoo.org/60132
20.12 +
20.13 +-= END original header =-
20.14 +
20.15 +diff -durN glibc-2_9.orig/manual/Makefile glibc-2_9/manual/Makefile
20.16 +--- glibc-2_9.orig/manual/Makefile 2006-01-08 07:43:47.000000000 +0100
20.17 ++++ glibc-2_9/manual/Makefile 2009-02-02 22:00:53.000000000 +0100
20.18 +@@ -104,9 +104,14 @@
20.19 + libm-err.texi: stamp-libm-err
20.20 + stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
20.21 + $(dir)/libm-test-ulps))
20.22 ++ifneq ($(PERL),no)
20.23 + pwd=`pwd`; \
20.24 + $(PERL) $< $$pwd/.. > libm-err-tmp
20.25 + $(move-if-change) libm-err-tmp libm-err.texi
20.26 ++else
20.27 ++ echo "Unable to rebuild math docs, no perl installed"
20.28 ++ touch libm-err.texi
20.29 ++endif
20.30 + touch $@
20.31 +
20.32 + # Generate Texinfo files from the C source for the example programs.
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
21.2 +++ b/patches/glibc/2.9/230-2.3.3-localedef-fix-trampoline.patch Sun Apr 19 16:17:11 2009 +0000
21.3 @@ -0,0 +1,74 @@
21.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1040_all_2.3.3-localedef-fix-trampoline.patch
21.5 +
21.6 +-= BEGIN original header =-
21.7 +#! /bin/sh -e
21.8 +
21.9 +# DP: Description: Fix localedef segfault when run under exec-shield,
21.10 +# PaX or similar. (#231438, #198099)
21.11 +# DP: Dpatch Author: James Troup <james@nocrew.org>
21.12 +# DP: Patch Author: (probably) Jakub Jelinek <jakub@redhat.com>
21.13 +# DP: Upstream status: Unknown
21.14 +# DP: Status Details: Unknown
21.15 +# DP: Date: 2004-03-16
21.16 +
21.17 +if [ $# -ne 2 ]; then
21.18 + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
21.19 + exit 1
21.20 +fi
21.21 +case "$1" in
21.22 + -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;;
21.23 + -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;;
21.24 + *)
21.25 + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
21.26 + exit 1
21.27 +esac
21.28 +exit 0
21.29 +
21.30 +-= END original header =-
21.31 +
21.32 +diff -durN glibc-2_9.orig/locale/programs/3level.h glibc-2_9/locale/programs/3level.h
21.33 +--- glibc-2_9.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200
21.34 ++++ glibc-2_9/locale/programs/3level.h 2009-02-02 22:00:54.000000000 +0100
21.35 +@@ -203,6 +203,42 @@
21.36 + }
21.37 + }
21.38 + }
21.39 ++
21.40 ++/* GCC ATM seems to do a poor job with pointers to nested functions passed
21.41 ++ to inlined functions. Help it a little bit with this hack. */
21.42 ++#define wchead_table_iterate(tp, fn) \
21.43 ++do \
21.44 ++ { \
21.45 ++ struct wchead_table *t = (tp); \
21.46 ++ uint32_t index1; \
21.47 ++ for (index1 = 0; index1 < t->level1_size; index1++) \
21.48 ++ { \
21.49 ++ uint32_t lookup1 = t->level1[index1]; \
21.50 ++ if (lookup1 != ((uint32_t) ~0)) \
21.51 ++ { \
21.52 ++ uint32_t lookup1_shifted = lookup1 << t->q; \
21.53 ++ uint32_t index2; \
21.54 ++ for (index2 = 0; index2 < (1 << t->q); index2++) \
21.55 ++ { \
21.56 ++ uint32_t lookup2 = t->level2[index2 + lookup1_shifted]; \
21.57 ++ if (lookup2 != ((uint32_t) ~0)) \
21.58 ++ { \
21.59 ++ uint32_t lookup2_shifted = lookup2 << t->p; \
21.60 ++ uint32_t index3; \
21.61 ++ for (index3 = 0; index3 < (1 << t->p); index3++) \
21.62 ++ { \
21.63 ++ struct element_t *lookup3 \
21.64 ++ = t->level3[index3 + lookup2_shifted]; \
21.65 ++ if (lookup3 != NULL) \
21.66 ++ fn ((((index1 << t->q) + index2) << t->p) + index3, \
21.67 ++ lookup3); \
21.68 ++ } \
21.69 ++ } \
21.70 ++ } \
21.71 ++ } \
21.72 ++ } \
21.73 ++ } while (0)
21.74 ++
21.75 + #endif
21.76 +
21.77 + #ifndef NO_FINALIZE
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
22.2 +++ b/patches/glibc/2.9/240-i386-LOAD_PIC_REG.patch Sun Apr 19 16:17:11 2009 +0000
22.3 @@ -0,0 +1,23 @@
22.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1050_all_glibc-i386-LOAD_PIC_REG.patch
22.5 +
22.6 +-= BEGIN original header =-
22.7 +From e41177ea18a77a7f62328293b4fd49ae17482e77 Mon Sep 17 00:00:00 2001
22.8 +From: Ulrich Drepper <drepper@redhat.com>
22.9 +Date: Sat, 6 Dec 2008 00:15:17 +0000
22.10 +Subject: [PATCH] (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually.
22.11 +
22.12 +-= END original header =-
22.13 +
22.14 +diff -durN glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S glibc-2_9/sysdeps/i386/dl-tlsdesc.S
22.15 +--- glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S 2008-05-13 07:33:06.000000000 +0200
22.16 ++++ glibc-2_9/sysdeps/i386/dl-tlsdesc.S 2009-02-02 22:00:56.000000000 +0100
22.17 +@@ -128,8 +128,7 @@
22.18 + .Lslow:
22.19 + cfi_adjust_cfa_offset (28)
22.20 + movl %ebx, 16(%esp)
22.21 +- call __i686.get_pc_thunk.bx
22.22 +- addl $_GLOBAL_OFFSET_TABLE_, %ebx
22.23 ++ LOAD_PIC_REG (bx)
22.24 + call ___tls_get_addr@PLT
22.25 + movl 16(%esp), %ebx
22.26 + jmp .Lret
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
23.2 +++ b/patches/glibc/2.9/250-resolv-dynamic.patch Sun Apr 19 16:17:11 2009 +0000
23.3 @@ -0,0 +1,44 @@
23.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1055_all_glibc-resolv-dynamic.patch
23.5 +
23.6 +-= BEGIN original header =-
23.7 +ripped from SuSE
23.8 +
23.9 +if /etc/resolv.conf is updated, then make sure applications
23.10 +already running get the updated information.
23.11 +
23.12 +http://bugs.gentoo.org/177416
23.13 +
23.14 +-= END original header =-
23.15 +
23.16 +diff -durN glibc-2_9.orig/resolv/res_libc.c glibc-2_9/resolv/res_libc.c
23.17 +--- glibc-2_9.orig/resolv/res_libc.c 2006-10-11 10:59:28.000000000 +0200
23.18 ++++ glibc-2_9/resolv/res_libc.c 2009-02-02 22:00:57.000000000 +0100
23.19 +@@ -22,6 +22,7 @@
23.20 + #include <arpa/nameser.h>
23.21 + #include <resolv.h>
23.22 + #include <bits/libc-lock.h>
23.23 ++#include <sys/stat.h>
23.24 +
23.25 +
23.26 + /* The following bit is copied from res_data.c (where it is #ifdef'ed
23.27 +@@ -95,6 +96,20 @@
23.28 + __res_maybe_init (res_state resp, int preinit)
23.29 + {
23.30 + if (resp->options & RES_INIT) {
23.31 ++ static time_t last_mtime, last_check;
23.32 ++ time_t now;
23.33 ++ struct stat statbuf;
23.34 ++
23.35 ++ time (&now);
23.36 ++ if (now != last_check) {
23.37 ++ last_check = now;
23.38 ++ if (stat (_PATH_RESCONF, &statbuf) == 0 && last_mtime != statbuf.st_mtime) {
23.39 ++ last_mtime = statbuf.st_mtime;
23.40 ++ atomicinclock (lock);
23.41 ++ atomicinc (__res_initstamp);
23.42 ++ atomicincunlock (lock);
23.43 ++ }
23.44 ++ }
23.45 + if (__res_initstamp != resp->_u._ext.initstamp) {
23.46 + if (resp->nscount > 0) {
23.47 + __res_iclose (resp, true);
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
24.2 +++ b/patches/glibc/2.9/260-fadvise64_64.patch Sun Apr 19 16:17:11 2009 +0000
24.3 @@ -0,0 +1,30 @@
24.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1070_all_glibc-fadvise64_64.patch
24.5 +
24.6 +-= BEGIN original header =-
24.7 +ripped from Debian
24.8 +
24.9 +-= END original header =-
24.10 +
24.11 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c
24.12 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c 2003-08-17 02:36:22.000000000 +0200
24.13 ++++ glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c 2009-02-02 22:00:58.000000000 +0100
24.14 +@@ -35,6 +35,19 @@
24.15 + return INTERNAL_SYSCALL_ERRNO (ret, err);
24.16 + return 0;
24.17 + #else
24.18 ++# ifdef __NR_fadvise64_64
24.19 ++ INTERNAL_SYSCALL_DECL (err);
24.20 ++ int ret = INTERNAL_SYSCALL (fadvise64_64, err, 6, fd,
24.21 ++ __LONG_LONG_PAIR ((long) (offset >> 31),
24.22 ++ (long) offset),
24.23 ++ __LONG_LONG_PAIR ((long) (len >> 31),
24.24 ++ (long) len),
24.25 ++ advise);
24.26 ++ if (INTERNAL_SYSCALL_ERROR_P (ret, err))
24.27 ++ return INTERNAL_SYSCALL_ERRNO (ret, err);
24.28 ++ return 0;
24.29 ++# else
24.30 + return ENOSYS;
24.31 ++# endif
24.32 + #endif
24.33 + }
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
25.2 +++ b/patches/glibc/2.9/270-ldbl-nexttowardf.patch Sun Apr 19 16:17:11 2009 +0000
25.3 @@ -0,0 +1,68 @@
25.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1073_all_glibc-ldbl-nexttowardf.patch
25.5 +
25.6 +-= BEGIN original header =-
25.7 +ripped from Debian
25.8 +
25.9 +this change was made to generic __nexttowardf, but not the long double version
25.10 +
25.11 +2008-05-05 Aurelien Jarno <aurelien@aurel32.net>
25.12 +
25.13 + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include float.h.
25.14 + (__nexttowardf): Use math_opt_barrier and
25.15 + math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
25.16 + x to float using asm.
25.17 +
25.18 +-= END original header =-
25.19 +
25.20 +diff -durN glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c
25.21 +--- glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 1999-07-14 02:09:42.000000000 +0200
25.22 ++++ glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 2009-02-02 22:00:59.000000000 +0100
25.23 +@@ -19,7 +19,8 @@
25.24 + #endif
25.25 +
25.26 + #include "math.h"
25.27 +-#include "math_private.h"
25.28 ++#include <math_private.h>
25.29 ++#include <float.h>
25.30 +
25.31 + #ifdef __STDC__
25.32 + float __nexttowardf(float x, long double y)
25.33 +@@ -44,10 +45,12 @@
25.34 + return x+y;
25.35 + if((long double) x==y) return y; /* x=y, return y */
25.36 + if(ix==0) { /* x == 0 */
25.37 +- float x2;
25.38 ++ float u;
25.39 + SET_FLOAT_WORD(x,(u_int32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/
25.40 +- x2 = x*x;
25.41 +- if(x2==x) return x2; else return x; /* raise underflow flag */
25.42 ++ u = math_opt_barrier (x);
25.43 ++ u = u * u;
25.44 ++ math_force_eval (u); /* raise underflow flag */
25.45 ++ return x;
25.46 + }
25.47 + if(hx>=0) { /* x > 0 */
25.48 + if(hy<0||(ix>>23)>(iy>>48)-0x3f80
25.49 +@@ -67,13 +70,16 @@
25.50 + }
25.51 + }
25.52 + hy = hx&0x7f800000;
25.53 +- if(hy>=0x7f800000) return x+x; /* overflow */
25.54 ++ if(hy>=0x7f800000) {
25.55 ++ x = x+x; /* overflow */
25.56 ++ if (FLT_EVAL_METHOD != 0)
25.57 ++ /* Force conversion to float. */
25.58 ++ asm ("" : "+m"(x));
25.59 ++ return x;
25.60 ++ }
25.61 + if(hy<0x00800000) { /* underflow */
25.62 +- float x2 = x*x;
25.63 +- if(x2!=x) { /* raise underflow flag */
25.64 +- SET_FLOAT_WORD(x2,hx);
25.65 +- return x2;
25.66 +- }
25.67 ++ float u = x*x;
25.68 ++ math_force_eval (u); /* raise underflow flag */
25.69 + }
25.70 + SET_FLOAT_WORD(x,hx);
25.71 + return x;
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
26.2 +++ b/patches/glibc/2.9/280-section-comments.patch Sun Apr 19 16:17:11 2009 +0000
26.3 @@ -0,0 +1,29 @@
26.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1075_all_glibc-section-comments.patch
26.5 +
26.6 +-= BEGIN original header =-
26.7 +http://sources.redhat.com/ml/binutils/2004-04/msg00665.html
26.8 +
26.9 +fixes building on some architectures (like m68k/arm/cris/etc...) because
26.10 +it does the right thing
26.11 +
26.12 +-= END original header =-
26.13 +
26.14 +diff -durN glibc-2_9.orig/include/libc-symbols.h glibc-2_9/include/libc-symbols.h
26.15 +--- glibc-2_9.orig/include/libc-symbols.h 2006-11-09 16:57:12.000000000 +0100
26.16 ++++ glibc-2_9/include/libc-symbols.h 2009-02-02 22:01:00.000000000 +0100
26.17 +@@ -240,12 +240,12 @@
26.18 + # define __make_section_unallocated(section_string)
26.19 + # endif
26.20 +
26.21 +-/* Tacking on "\n\t#" to the section name makes gcc put it's bogus
26.22 ++/* Tacking on "\n#APP\n\t#" to the section name makes gcc put it's bogus
26.23 + section attributes on what looks like a comment to the assembler. */
26.24 + # ifdef HAVE_SECTION_QUOTES
26.25 +-# define __sec_comment "\"\n\t#\""
26.26 ++# define __sec_comment "\"\n#APP\n\t#\""
26.27 + # else
26.28 +-# define __sec_comment "\n\t#"
26.29 ++# define __sec_comment "\n#APP\n\t#"
26.30 + # endif
26.31 + # define link_warning(symbol, msg) \
26.32 + __make_section_unallocated (".gnu.warning." #symbol) \
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
27.2 +++ b/patches/glibc/2.9/290-no-inline-gmon.patch Sun Apr 19 16:17:11 2009 +0000
27.3 @@ -0,0 +1,38 @@
27.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1080_all_glibc-no-inline-gmon.patch
27.5 +
27.6 +-= BEGIN original header =-
27.7 +http://bugs.gentoo.org/196245
27.8 +http://sourceware.org/ml/libc-alpha/2006-05/msg00017.html
27.9 +
27.10 +Attached is a patch to add __attribute__ ((noinline)) to
27.11 +call_gmon_start.
27.12 +
27.13 +Without this patch, the sec script that processed initfini.s removes a
27.14 +part of inlined call_gmon_start, causing undefined label errors.
27.15 +
27.16 +This patch solves the problem by forcing gcc not to inline
27.17 +call_gmon_start with __attribute__ ((noinline)).
27.18 +
27.19 +Tested by building for arm-none-lixux-gnueabi. OK to apply?
27.20 +
27.21 +Kazu Hirata
27.22 +
27.23 +2006-05-07 Kazu Hirata <kazu@codesourcery.com>
27.24 +
27.25 + * sysdeps/generic/initfini.c (call_gmon_start): Add
27.26 + __attribute__ ((noinline)).
27.27 +
27.28 +-= END original header =-
27.29 +
27.30 +diff -durN glibc-2_9.orig/sysdeps/generic/initfini.c glibc-2_9/sysdeps/generic/initfini.c
27.31 +--- glibc-2_9.orig/sysdeps/generic/initfini.c 2007-06-17 20:02:40.000000000 +0200
27.32 ++++ glibc-2_9/sysdeps/generic/initfini.c 2009-02-02 22:01:01.000000000 +0100
27.33 +@@ -70,7 +70,7 @@
27.34 + /* The beginning of _init: */
27.35 + asm ("\n/*@_init_PROLOG_BEGINS*/");
27.36 +
27.37 +-static void
27.38 ++static void __attribute__ ((noinline))
27.39 + call_gmon_start(void)
27.40 + {
27.41 + extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
28.2 +++ b/patches/glibc/2.9/300-2.9-check_native-headers.patch Sun Apr 19 16:17:11 2009 +0000
28.3 @@ -0,0 +1,22 @@
28.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1085_all_glibc-2.9-check_native-headers.patch
28.5 +
28.6 +-= BEGIN original header =-
28.7 +many ports hit this warning:
28.8 +../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
28.9 +../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
28.10 +
28.11 +snipped from suse
28.12 +
28.13 +-= END original header =-
28.14 +
28.15 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c glibc-2_9/sysdeps/unix/sysv/linux/check_native.c
28.16 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c 2007-11-24 04:12:17.000000000 +0100
28.17 ++++ glibc-2_9/sysdeps/unix/sysv/linux/check_native.c 2009-02-02 22:01:03.000000000 +0100
28.18 +@@ -23,6 +23,7 @@
28.19 + #include <stddef.h>
28.20 + #include <stdint.h>
28.21 + #include <stdlib.h>
28.22 ++#include <string.h>
28.23 + #include <time.h>
28.24 + #include <unistd.h>
28.25 + #include <net/if.h>
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
29.2 +++ b/patches/glibc/2.9/310-2.3.6-fix-pr631.patch Sun Apr 19 16:17:11 2009 +0000
29.3 @@ -0,0 +1,50 @@
29.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1090_all_glibc-2.3.6-fix-pr631.patch
29.5 +
29.6 +-= BEGIN original header =-
29.7 +From dank@kegel.com
29.8 +Wed Jun 15 09:12:43 PDT 2005
29.9 +
29.10 +Fixes
29.11 +
29.12 +build-glibc/libc.a(nsswitch.o)(.data+0x64): undefined reference to `_nss_files_getaliasent_r'
29.13 +build-glibc/libc.a(nsswitch.o)(.data+0x6c): undefined reference to `_nss_files_endaliasent'
29.14 +... 53 lines deleted ...
29.15 +build-glibc/libc.a(nsswitch.o)(.data+0x21c): undefined reference to `_nss_files_getspnam_r'
29.16 +collect2: ld returned 1 exit status
29.17 +make[2]: *** [/build/gcc-3.4.3-glibc-2.3.5-hdrs-2.6.11.2/i686-unknown-linux-gnu/build-glibc/elf/ldconfig] Error 1
29.18 +
29.19 +when building glibc with --enable-static-nss.
29.20 +
29.21 +See http://sources.redhat.com/bugzilla/show_bug.cgi?id=631
29.22 +
29.23 +-= END original header =-
29.24 +
29.25 +diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig
29.26 +--- glibc-2_9.orig/Makeconfig 2009-02-02 22:00:36.000000000 +0100
29.27 ++++ glibc-2_9/Makeconfig 2009-02-02 22:01:04.000000000 +0100
29.28 +@@ -509,7 +509,7 @@
29.29 +
29.30 + # The static libraries.
29.31 + ifeq (yes,$(build-static))
29.32 +-link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a
29.33 ++link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(otherlibs) $(common-objpfx)libc.a
29.34 + else
29.35 + ifeq (yes,$(build-shared))
29.36 + # We can try to link the programs with lib*_pic.a...
29.37 +diff -durN glibc-2_9.orig/elf/Makefile glibc-2_9/elf/Makefile
29.38 +--- glibc-2_9.orig/elf/Makefile 2008-10-31 21:35:11.000000000 +0100
29.39 ++++ glibc-2_9/elf/Makefile 2009-02-02 22:01:04.000000000 +0100
29.40 +@@ -121,6 +121,13 @@
29.41 + install-bin-script = ldd
29.42 + endif
29.43 +
29.44 ++ifeq (yes,$(build-static-nss))
29.45 ++nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss)
29.46 ++resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv)
29.47 ++otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
29.48 ++ $(resolvobjdir)/libresolv.a
29.49 ++endif
29.50 ++
29.51 + others = sprof sln
29.52 + install-bin = sprof
29.53 + others-static = sln
30.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
30.2 +++ b/patches/glibc/2.9/320-2.9-assume-pipe2.patch Sun Apr 19 16:17:11 2009 +0000
30.3 @@ -0,0 +1,59 @@
30.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1095_all_glibc-2.9-assume-pipe2.patch
30.5 +
30.6 +-= BEGIN original header =-
30.7 +http://bugs.gentoo.org/250342
30.8 +http://sources.redhat.com/bugzilla/show_bug.cgi?id=9685
30.9 +
30.10 +we cant assume sock_cloexec and pipe2 are bound together as the former defines
30.11 +are found in glibc only while the latter are a combo of kernel headers and
30.12 +glibc. so if we do a runtime detection of SOCK_CLOEXEC, but pipe2() is a stub
30.13 +inside of glibc, we hit a problem. for example:
30.14 +
30.15 +#include <grp.h>
30.16 +#include <stdio.h>
30.17 +main()
30.18 +{
30.19 + getgrnam("portage");
30.20 + if (!popen("ls", "r"))
30.21 + perror("popen()");
30.22 +}
30.23 +
30.24 +getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set both
30.25 +__have_sock_cloexec and __have_pipe2 to true. but if glibc was built against
30.26 +older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS
30.27 +stub for it. so popen() will always fail as glibc assumes pipe2() works.
30.28 +
30.29 +-= END original header =-
30.30 +
30.31 +diff -durN glibc-2_9.orig/include/unistd.h glibc-2_9/include/unistd.h
30.32 +--- glibc-2_9.orig/include/unistd.h 2008-07-27 20:23:17.000000000 +0200
30.33 ++++ glibc-2_9/include/unistd.h 2009-02-02 22:01:05.000000000 +0100
30.34 +@@ -167,9 +167,6 @@
30.35 + extern int __pause_nocancel (void) attribute_hidden;
30.36 +
30.37 + extern int __have_sock_cloexec;
30.38 +-/* At lot of other functionality became available at the same time as
30.39 +- SOCK_CLOEXEC. Avoid defining separate variables for all of them
30.40 +- unless it is really necessary. */
30.41 +-#define __have_pipe2 __have_sock_cloexec
30.42 ++extern int __have_pipe2;
30.43 +
30.44 + #endif
30.45 +diff -durN glibc-2_9.orig/socket/have_sock_cloexec.c glibc-2_9/socket/have_sock_cloexec.c
30.46 +--- glibc-2_9.orig/socket/have_sock_cloexec.c 2008-07-25 18:46:23.000000000 +0200
30.47 ++++ glibc-2_9/socket/have_sock_cloexec.c 2009-02-02 22:01:05.000000000 +0100
30.48 +@@ -16,9 +16,14 @@
30.49 + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
30.50 + 02111-1307 USA. */
30.51 +
30.52 ++#include <fcntl.h>
30.53 + #include <sys/socket.h>
30.54 + #include <kernel-features.h>
30.55 +
30.56 + #if defined SOCK_CLOEXEC && !defined __ASSUME_SOCK_CLOEXEC
30.57 + int __have_sock_cloexec;
30.58 + #endif
30.59 ++
30.60 ++#if defined O_CLOEXEC && !defined __ASSUME_PIPE2
30.61 ++int __have_pipe2;
30.62 ++#endif
31.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
31.2 +++ b/patches/glibc/2.9/330-2.3.3-china.patch Sun Apr 19 16:17:11 2009 +0000
31.3 @@ -0,0 +1,35 @@
31.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1100_all_glibc-2.3.3-china.patch
31.5 +
31.6 +-= BEGIN original header =-
31.7 +-= END original header =-
31.8 +
31.9 +diff -durN glibc-2_9.orig/localedata/locales/zh_TW glibc-2_9/localedata/locales/zh_TW
31.10 +--- glibc-2_9.orig/localedata/locales/zh_TW 2004-11-01 00:42:28.000000000 +0100
31.11 ++++ glibc-2_9/localedata/locales/zh_TW 2009-02-02 22:01:06.000000000 +0100
31.12 +@@ -1,7 +1,7 @@
31.13 + comment_char %
31.14 + escape_char /
31.15 + %
31.16 +-% Chinese language locale for Taiwan R.O.C.
31.17 ++% Chinese language locale for Taiwan
31.18 + % charmap: BIG5-CP950
31.19 + %
31.20 + % Original Author:
31.21 +@@ -17,7 +17,7 @@
31.22 + % Reference: http://wwwold.dkuug.dk/JTC1/SC22/WG20/docs/n690.pdf
31.23 +
31.24 + LC_IDENTIFICATION
31.25 +-title "Chinese locale for Taiwan R.O.C."
31.26 ++title "Chinese locale for Taiwan"
31.27 + source ""
31.28 + address ""
31.29 + contact ""
31.30 +@@ -25,7 +25,7 @@
31.31 + tel ""
31.32 + fax ""
31.33 + language "Chinese"
31.34 +-territory "Taiwan R.O.C."
31.35 ++territory "Taiwan"
31.36 + revision "0.2"
31.37 + date "2000-08-02"
31.38 + %
32.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
32.2 +++ b/patches/glibc/2.9/340-new-valencian-locale.patch Sun Apr 19 16:17:11 2009 +0000
32.3 @@ -0,0 +1,120 @@
32.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1103_all_glibc-new-valencian-locale.patch
32.5 +
32.6 +-= BEGIN original header =-
32.7 +http://bugs.gentoo.org/show_bug.cgi?id=131815
32.8 +http://sourceware.org/bugzilla/show_bug.cgi?id=2522
32.9 +
32.10 +-= END original header =-
32.11 +
32.12 +diff -durN glibc-2_9.orig/localedata/SUPPORTED glibc-2_9/localedata/SUPPORTED
32.13 +--- glibc-2_9.orig/localedata/SUPPORTED 2008-09-16 23:24:57.000000000 +0200
32.14 ++++ glibc-2_9/localedata/SUPPORTED 2009-02-02 22:01:08.000000000 +0100
32.15 +@@ -72,6 +72,8 @@
32.16 + ca_ES.UTF-8/UTF-8 \
32.17 + ca_ES/ISO-8859-1 \
32.18 + ca_ES@euro/ISO-8859-15 \
32.19 ++ca_ES.UTF-8@valencia/UTF-8 \
32.20 ++ca_ES@valencia/ISO-8859-15 \
32.21 + ca_FR.UTF-8/UTF-8 \
32.22 + ca_FR/ISO-8859-15 \
32.23 + ca_IT.UTF-8/UTF-8 \
32.24 +diff -durN glibc-2_9.orig/localedata/locales/ca_ES@valencia glibc-2_9/localedata/locales/ca_ES@valencia
32.25 +--- glibc-2_9.orig/localedata/locales/ca_ES@valencia 1970-01-01 01:00:00.000000000 +0100
32.26 ++++ glibc-2_9/localedata/locales/ca_ES@valencia 2009-02-02 22:01:08.000000000 +0100
32.27 +@@ -0,0 +1,96 @@
32.28 ++comment_char %
32.29 ++escape_char /
32.30 ++%
32.31 ++% Valencian (southern Catalan) locale for Spain with Euro
32.32 ++%
32.33 ++% Note that this locale is almost the same as ca_ES@euro. The point of having
32.34 ++% a separate locale is only for PO translations, which have a lot of social
32.35 ++% support and are very appreciated by the Valencian-speaking community.
32.36 ++%
32.37 ++% Contact: Jordi Mallach
32.38 ++% Email: jordi@gnu.org
32.39 ++% Tel:
32.40 ++% Fax:
32.41 ++% Language: ca
32.42 ++% Territory: ES
32.43 ++% Option: euro
32.44 ++% Revision: 1.0
32.45 ++% Date: 2006-04-06
32.46 ++% Application: general
32.47 ++% Users: general
32.48 ++% Repertoiremap: mnemonic,ds
32.49 ++% Charset: ISO-8859-15
32.50 ++% Distribution and use is free, also
32.51 ++% for commercial purposes.
32.52 ++
32.53 ++LC_IDENTIFICATION
32.54 ++title "Valencian (southern Catalan) locale for Spain with Euro"
32.55 ++source ""
32.56 ++address ""
32.57 ++contact "Jordi Mallach"
32.58 ++email "jordi@gnu.org"
32.59 ++tel ""
32.60 ++fax ""
32.61 ++language "Catalan"
32.62 ++territory "Spain"
32.63 ++revision "1.0"
32.64 ++date "2006-04-06"
32.65 ++%
32.66 ++category "ca_ES@valencia:2006";LC_IDENTIFICATION
32.67 ++category "ca_ES@valencia:2006";LC_CTYPE
32.68 ++category "ca_ES@valencia:2006";LC_COLLATE
32.69 ++category "ca_ES@valencia:2006";LC_MONETARY
32.70 ++category "ca_ES@valencia:2006";LC_NUMERIC
32.71 ++category "ca_ES@valencia:2006";LC_TIME
32.72 ++category "ca_ES@valencia:2006";LC_MESSAGES
32.73 ++category "ca_ES@valencia:2006";LC_PAPER
32.74 ++category "ca_ES@valencia:2006";LC_NAME
32.75 ++category "ca_ES@valencia:2006";LC_ADDRESS
32.76 ++category "ca_ES@valencia:2006";LC_TELEPHONE
32.77 ++category "ca_ES@valencia:2006";LC_MEASUREMENT
32.78 ++
32.79 ++END LC_IDENTIFICATION
32.80 ++
32.81 ++LC_CTYPE
32.82 ++copy "i18n"
32.83 ++END LC_CTYPE
32.84 ++
32.85 ++LC_COLLATE
32.86 ++copy "ca_ES"
32.87 ++END LC_COLLATE
32.88 ++
32.89 ++LC_MONETARY
32.90 ++copy "ca_ES"
32.91 ++END LC_MONETARY
32.92 ++
32.93 ++LC_NUMERIC
32.94 ++copy "ca_ES"
32.95 ++END LC_NUMERIC
32.96 ++
32.97 ++LC_TIME
32.98 ++copy "ca_ES"
32.99 ++END LC_TIME
32.100 ++
32.101 ++LC_MESSAGES
32.102 ++copy "ca_ES"
32.103 ++END LC_MESSAGES
32.104 ++
32.105 ++LC_PAPER
32.106 ++copy "ca_ES"
32.107 ++END LC_PAPER
32.108 ++
32.109 ++LC_NAME
32.110 ++copy "ca_ES"
32.111 ++END LC_NAME
32.112 ++
32.113 ++LC_ADDRESS
32.114 ++copy "ca_ES"
32.115 ++END LC_ADDRESS
32.116 ++
32.117 ++LC_TELEPHONE
32.118 ++copy "ca_ES"
32.119 ++END LC_TELEPHONE
32.120 ++
32.121 ++LC_MEASUREMENT
32.122 ++copy "ca_ES"
32.123 ++END LC_MEASUREMENT
33.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
33.2 +++ b/patches/glibc/2.9/350-2.4-undefine-__i686.patch Sun Apr 19 16:17:11 2009 +0000
33.3 @@ -0,0 +1,47 @@
33.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1130_all_glibc-2.4-undefine-__i686.patch
33.5 +
33.6 +-= BEGIN original header =-
33.7 +If gcc is configured to generate i686 code or better by default (like
33.8 +when using the --with-arch=pentium3 configure option), then the __i686
33.9 +macro will always be defined automatically and thus screw up the
33.10 +compilation of some .S files.
33.11 +http://bugs.gentoo.org/131108
33.12 +http://sourceware.org/ml/libc-alpha/2006-04/msg00090.html
33.13 +
33.14 +2006-04-25 Mike Frysinger <vapier@gentoo.org>
33.15 +
33.16 + * sysdeps/i386/sysdep.h (__i686): Undefine.
33.17 +
33.18 +-= END original header =-
33.19 +
33.20 +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c
33.21 +--- glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c 2007-06-17 20:02:01.000000000 +0200
33.22 ++++ glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c 2009-02-02 22:01:09.000000000 +0100
33.23 +@@ -45,6 +45,9 @@
33.24 + /* Embed an #include to pull in the alignment and .end directives. */
33.25 + asm ("\n#include \"defs.h\"");
33.26 +
33.27 ++/* Embed an #include to pull in asm settings. */
33.28 ++asm ("\n#ifdef __i686__\n#include <sysdep.h>\n#endif");
33.29 ++
33.30 + /* The initial common code ends here. */
33.31 + asm ("\n/*@HEADER_ENDS*/");
33.32 +
33.33 +diff -durN glibc-2_9.orig/sysdeps/i386/sysdep.h glibc-2_9/sysdeps/i386/sysdep.h
33.34 +--- glibc-2_9.orig/sysdeps/i386/sysdep.h 2006-10-28 08:44:03.000000000 +0200
33.35 ++++ glibc-2_9/sysdeps/i386/sysdep.h 2009-02-02 22:01:09.000000000 +0100
33.36 +@@ -18,6 +18,14 @@
33.37 + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
33.38 + 02111-1307 USA. */
33.39 +
33.40 ++/*
33.41 ++ * When building for i686 targets or better, gcc automatically defines
33.42 ++ * '__i686' to '1' for us which causes trouble when using section names
33.43 ++ * like '__i686.get_pc_thunk.reg'. Since we check for __i686__ in the
33.44 ++ * code, killing '__i686' shouldn't be a problem.
33.45 ++ */
33.46 ++#undef __i686
33.47 ++
33.48 + #include <sysdeps/generic/sysdep.h>
33.49 +
33.50 + #ifdef __ASSEMBLER__
34.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
34.2 +++ b/patches/glibc/2.9/360-2.8-nscd-one-fork.patch Sun Apr 19 16:17:11 2009 +0000
34.3 @@ -0,0 +1,45 @@
34.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1160_all_glibc-2.8-nscd-one-fork.patch
34.5 +
34.6 +-= BEGIN original header =-
34.7 +only fork one to assist in stop-start-daemon assumptions about daemon behavior
34.8 +
34.9 +http://bugs.gentoo.org/190785
34.10 +
34.11 +-= END original header =-
34.12 +
34.13 +diff -durN glibc-2_9.orig/nscd/nscd.c glibc-2_9/nscd/nscd.c
34.14 +--- glibc-2_9.orig/nscd/nscd.c 2008-03-29 19:08:12.000000000 +0100
34.15 ++++ glibc-2_9/nscd/nscd.c 2009-02-02 22:01:10.000000000 +0100
34.16 +@@ -179,6 +179,9 @@
34.17 + if (pid != 0)
34.18 + exit (0);
34.19 +
34.20 ++ if (write_pid (_PATH_NSCDPID) < 0)
34.21 ++ dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
34.22 ++
34.23 + int nullfd = open (_PATH_DEVNULL, O_RDWR);
34.24 + if (nullfd != -1)
34.25 + {
34.26 +@@ -228,12 +231,6 @@
34.27 + for (i = min_close_fd; i < getdtablesize (); i++)
34.28 + close (i);
34.29 +
34.30 +- pid = fork ();
34.31 +- if (pid == -1)
34.32 +- error (EXIT_FAILURE, errno, _("cannot fork"));
34.33 +- if (pid != 0)
34.34 +- exit (0);
34.35 +-
34.36 + setsid ();
34.37 +
34.38 + if (chdir ("/") != 0)
34.39 +@@ -242,9 +239,6 @@
34.40 +
34.41 + openlog ("nscd", LOG_CONS | LOG_ODELAY, LOG_DAEMON);
34.42 +
34.43 +- if (write_pid (_PATH_NSCDPID) < 0)
34.44 +- dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
34.45 +-
34.46 + if (!init_logfile ())
34.47 + dbg_log (_("Could not create log file"));
34.48 +
35.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
35.2 +++ b/patches/glibc/2.9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch Sun Apr 19 16:17:11 2009 +0000
35.3 @@ -0,0 +1,249 @@
35.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/1503_hppa_glibc-2.7-hppa-nptl-carlos.patch
35.5 +
35.6 +-= BEGIN original header =-
35.7 +-= END original header =-
35.8 +
35.9 +diff -durN glibc-2_9.orig/elf/rtld.c glibc-2_9/elf/rtld.c
35.10 +--- glibc-2_9.orig/elf/rtld.c 2009-02-02 22:00:34.000000000 +0100
35.11 ++++ glibc-2_9/elf/rtld.c 2009-02-02 22:01:12.000000000 +0100
35.12 +@@ -386,14 +386,14 @@
35.13 + know it is available. We do not have to clear the memory if we
35.14 + do not have to use the temporary bootstrap_map. Global variables
35.15 + are initialized to zero by default. */
35.16 +-#ifndef DONT_USE_BOOTSTRAP_MAP
35.17 ++#if !defined DONT_USE_BOOTSTRAP_MAP
35.18 + # ifdef HAVE_BUILTIN_MEMSET
35.19 + __builtin_memset (bootstrap_map.l_info, '\0', sizeof (bootstrap_map.l_info));
35.20 + # else
35.21 +- for (size_t cnt = 0;
35.22 +- cnt < sizeof (bootstrap_map.l_info) / sizeof (bootstrap_map.l_info[0]);
35.23 +- ++cnt)
35.24 +- bootstrap_map.l_info[cnt] = 0;
35.25 ++ /* Clear the whole bootstrap_map structure */
35.26 ++ for (char *cnt = (char *)&(bootstrap_map);
35.27 ++ cnt < ((char *)&(bootstrap_map) + sizeof (bootstrap_map));
35.28 ++ *cnt++ = '\0');
35.29 + # endif
35.30 + # if USE___THREAD
35.31 + bootstrap_map.l_tls_modid = 0;
35.32 +diff -durN glibc-2_9.orig/include/atomic.h glibc-2_9/include/atomic.h
35.33 +--- glibc-2_9.orig/include/atomic.h 2006-12-21 22:44:00.000000000 +0100
35.34 ++++ glibc-2_9/include/atomic.h 2009-02-02 22:01:12.000000000 +0100
35.35 +@@ -174,7 +174,7 @@
35.36 + __typeof (*(mem)) __atg5_value = (newvalue); \
35.37 + \
35.38 + do \
35.39 +- __atg5_oldval = *__atg5_memp; \
35.40 ++ __atg5_oldval = *(volatile __typeof (mem))__atg5_memp; \
35.41 + while (__builtin_expect \
35.42 + (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \
35.43 + __atg5_oldval), 0)); \
35.44 +@@ -195,7 +195,7 @@
35.45 + __typeof (*(mem)) __atg6_value = (value); \
35.46 + \
35.47 + do \
35.48 +- __atg6_oldval = *__atg6_memp; \
35.49 ++ __atg6_oldval = *(volatile __typeof (mem))__atg6_memp; \
35.50 + while (__builtin_expect \
35.51 + (atomic_compare_and_exchange_bool_acq (__atg6_memp, \
35.52 + __atg6_oldval \
35.53 +@@ -213,7 +213,7 @@
35.54 + __typeof (*(mem)) __atg7_value = (value); \
35.55 + \
35.56 + do \
35.57 +- __atg7_oldv = *__atg7_memp; \
35.58 ++ __atg7_oldv = *(volatile __typeof (mem))__atg7_memp; \
35.59 + while (__builtin_expect \
35.60 + (catomic_compare_and_exchange_bool_acq (__atg7_memp, \
35.61 + __atg7_oldv \
35.62 +@@ -231,7 +231,7 @@
35.63 + __typeof (mem) __atg8_memp = (mem); \
35.64 + __typeof (*(mem)) __atg8_value = (value); \
35.65 + do { \
35.66 +- __atg8_oldval = *__atg8_memp; \
35.67 ++ __atg8_oldval = *(volatile __typeof (mem))__atg8_memp; \
35.68 + if (__atg8_oldval >= __atg8_value) \
35.69 + break; \
35.70 + } while (__builtin_expect \
35.71 +@@ -248,7 +248,7 @@
35.72 + __typeof (mem) __atg9_memp = (mem); \
35.73 + __typeof (*(mem)) __atg9_value = (value); \
35.74 + do { \
35.75 +- __atg9_oldv = *__atg9_memp; \
35.76 ++ __atg9_oldv = *(volatile __typeof (mem))__atg9_memp; \
35.77 + if (__atg9_oldv >= __atg9_value) \
35.78 + break; \
35.79 + } while (__builtin_expect \
35.80 +@@ -266,7 +266,7 @@
35.81 + __typeof (mem) __atg10_memp = (mem); \
35.82 + __typeof (*(mem)) __atg10_value = (value); \
35.83 + do { \
35.84 +- __atg10_oldval = *__atg10_memp; \
35.85 ++ __atg10_oldval = *(volatile __typeof (mem))__atg10_memp; \
35.86 + if (__atg10_oldval <= __atg10_value) \
35.87 + break; \
35.88 + } while (__builtin_expect \
35.89 +@@ -350,7 +350,7 @@
35.90 + \
35.91 + do \
35.92 + { \
35.93 +- __atg11_oldval = *__atg11_memp; \
35.94 ++ __atg11_oldval = *(volatile __typeof (mem))__atg11_memp; \
35.95 + if (__builtin_expect (__atg11_oldval <= 0, 0)) \
35.96 + break; \
35.97 + } \
35.98 +@@ -389,7 +389,7 @@
35.99 + __typeof (*(mem)) __atg14_mask = ((__typeof (*(mem))) 1 << (bit)); \
35.100 + \
35.101 + do \
35.102 +- __atg14_old = (*__atg14_memp); \
35.103 ++ __atg14_old = (*(volatile __typeof (mem))__atg14_memp); \
35.104 + while (__builtin_expect \
35.105 + (atomic_compare_and_exchange_bool_acq (__atg14_memp, \
35.106 + __atg14_old | __atg14_mask,\
35.107 +@@ -407,7 +407,7 @@
35.108 + __typeof (*(mem)) __atg15_mask = (mask); \
35.109 + \
35.110 + do \
35.111 +- __atg15_old = (*__atg15_memp); \
35.112 ++ __atg15_old = (*(volatile __typeof (mem))__atg15_memp); \
35.113 + while (__builtin_expect \
35.114 + (atomic_compare_and_exchange_bool_acq (__atg15_memp, \
35.115 + __atg15_old & __atg15_mask, \
35.116 +@@ -423,7 +423,7 @@
35.117 + __typeof (*(mem)) __atg16_mask = (mask); \
35.118 + \
35.119 + do \
35.120 +- __atg16_old = (*__atg16_memp); \
35.121 ++ __atg16_old = (*(volatile __typeof (mem))__atg16_memp); \
35.122 + while (__builtin_expect \
35.123 + (atomic_compare_and_exchange_bool_acq (__atg16_memp, \
35.124 + __atg16_old & __atg16_mask,\
35.125 +@@ -441,7 +441,7 @@
35.126 + __typeof (*(mem)) __atg17_mask = (mask); \
35.127 + \
35.128 + do \
35.129 +- __atg17_old = (*__atg17_memp); \
35.130 ++ __atg17_old = (*(volatile __typeof (mem))__atg17_memp); \
35.131 + while (__builtin_expect \
35.132 + (atomic_compare_and_exchange_bool_acq (__atg17_memp, \
35.133 + __atg17_old | __atg17_mask, \
35.134 +@@ -457,7 +457,7 @@
35.135 + __typeof (*(mem)) __atg18_mask = (mask); \
35.136 + \
35.137 + do \
35.138 +- __atg18_old = (*__atg18_memp); \
35.139 ++ __atg18_old = (*(volatile __typeof (mem))__atg18_memp); \
35.140 + while (__builtin_expect \
35.141 + (catomic_compare_and_exchange_bool_acq (__atg18_memp, \
35.142 + __atg18_old | __atg18_mask,\
35.143 +@@ -473,7 +473,7 @@
35.144 + __typeof (*(mem)) __atg19_mask = (mask); \
35.145 + \
35.146 + do \
35.147 +- __atg19_old = (*__atg19_memp); \
35.148 ++ __atg19_old = (*(volatile __typeof (mem))__atg19_memp); \
35.149 + while (__builtin_expect \
35.150 + (atomic_compare_and_exchange_bool_acq (__atg19_memp, \
35.151 + __atg19_old | __atg19_mask,\
35.152 +diff -durN glibc-2_9.orig/nptl/Makefile glibc-2_9/nptl/Makefile
35.153 +--- glibc-2_9.orig/nptl/Makefile 2008-11-12 14:38:23.000000000 +0100
35.154 ++++ glibc-2_9/nptl/Makefile 2009-02-02 22:01:12.000000000 +0100
35.155 +@@ -262,9 +262,9 @@
35.156 + # Files which must not be linked with libpthread.
35.157 + tests-nolibpthread = tst-unload
35.158 +
35.159 +-# This sets the stack resource limit to 1023kb, which is not a multiple
35.160 +-# of the page size since every architecture's page size is > 1k.
35.161 +-tst-oddstacklimit-ENV = ; ulimit -s 1023;
35.162 ++# This sets the stack resource limit to 8193kb, which is not a multiple
35.163 ++# of the page size since every architecture's page size is 4096 bytes.
35.164 ++tst-oddstacklimit-ENV = ; ulimit -s 8193;
35.165 +
35.166 + distribute = eintr.c tst-cleanup4aux.c
35.167 +
35.168 +@@ -423,6 +423,35 @@
35.169 + CFLAGS-tst-cleanupx4.c += -fexceptions
35.170 + CFLAGS-tst-oncex3.c += -fexceptions
35.171 + CFLAGS-tst-oncex4.c += -fexceptions
35.172 ++
35.173 ++ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed
35.174 ++LDFLAGS-tst-cancelx2 += $(ldflags-libgcc_s)
35.175 ++LDFLAGS-tst-cancelx3 += $(ldflags-libgcc_s)
35.176 ++LDFLAGS-tst-cancelx4 += $(ldflags-libgcc_s)
35.177 ++LDFLAGS-tst-cancelx5 += $(ldflags-libgcc_s)
35.178 ++LDFLAGS-tst-cancelx6 += $(ldflags-libgcc_s)
35.179 ++LDFLAGS-tst-cancelx7 += $(ldflags-libgcc_s)
35.180 ++LDFLAGS-tst-cancelx8 += $(ldflags-libgcc_s)
35.181 ++LDFLAGS-tst-cancelx9 += $(ldflags-libgcc_s)
35.182 ++LDFLAGS-tst-cancelx10 += $(ldflags-libgcc_s)
35.183 ++LDFLAGS-tst-cancelx11 += $(ldflags-libgcc_s)
35.184 ++LDFLAGS-tst-cancelx12 += $(ldflags-libgcc_s)
35.185 ++LDFLAGS-tst-cancelx13 += $(ldflags-libgcc_s)
35.186 ++LDFLAGS-tst-cancelx14 += $(ldflags-libgcc_s)
35.187 ++LDFLAGS-tst-cancelx15 += $(ldflags-libgcc_s)
35.188 ++LDFLAGS-tst-cancelx16 += $(ldflags-libgcc_s)
35.189 ++LDFLAGS-tst-cancelx17 += $(ldflags-libgcc_s)
35.190 ++LDFLAGS-tst-cancelx18 += $(ldflags-libgcc_s)
35.191 ++LDFLAGS-tst-cancelx20 += $(ldflags-libgcc_s)
35.192 ++LDFLAGS-tst-cancelx21 += $(ldflags-libgcc_s)
35.193 ++LDFLAGS-tst-cleanupx0 += $(ldflags-libgcc_s)
35.194 ++LDFLAGS-tst-cleanupx1 += $(ldflags-libgcc_s)
35.195 ++LDFLAGS-tst-cleanupx2 += $(ldflags-libgcc_s)
35.196 ++LDFLAGS-tst-cleanupx3 += $(ldflags-libgcc_s)
35.197 ++LDFLAGS-tst-cleanupx4 += $(ldflags-libgcc_s)
35.198 ++LDFLAGS-tst-oncex3 += $(ldflags-libgcc_s)
35.199 ++LDFLAGS-tst-oncex4 += $(ldflags-libgcc_s)
35.200 ++
35.201 + CFLAGS-tst-align.c += $(stack-align-test-flags)
35.202 + CFLAGS-tst-align3.c += $(stack-align-test-flags)
35.203 + CFLAGS-tst-initializers1.c = -W -Wall -Werror
35.204 +diff -durN glibc-2_9.orig/nptl/pthread_barrier_wait.c glibc-2_9/nptl/pthread_barrier_wait.c
35.205 +--- glibc-2_9.orig/nptl/pthread_barrier_wait.c 2007-08-01 06:18:50.000000000 +0200
35.206 ++++ glibc-2_9/nptl/pthread_barrier_wait.c 2009-02-02 22:01:12.000000000 +0100
35.207 +@@ -64,7 +64,7 @@
35.208 + do
35.209 + lll_futex_wait (&ibarrier->curr_event, event,
35.210 + ibarrier->private ^ FUTEX_PRIVATE_FLAG);
35.211 +- while (event == ibarrier->curr_event);
35.212 ++ while (event == *(volatile unsigned int *)&ibarrier->curr_event);
35.213 + }
35.214 +
35.215 + /* Make sure the init_count is stored locally or in a register. */
35.216 +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/Makefile glibc-2_9/nptl/sysdeps/pthread/Makefile
35.217 +--- glibc-2_9.orig/nptl/sysdeps/pthread/Makefile 2006-02-28 08:09:41.000000000 +0100
35.218 ++++ glibc-2_9/nptl/sysdeps/pthread/Makefile 2009-02-02 22:01:12.000000000 +0100
35.219 +@@ -41,7 +41,9 @@
35.220 +
35.221 + ifeq ($(have-forced-unwind),yes)
35.222 + tests += tst-mqueue8x
35.223 ++ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed
35.224 + CFLAGS-tst-mqueue8x.c += -fexceptions
35.225 ++LDFLAGS-tst-mqueue8x += $(ldflags-libgcc_s)
35.226 + endif
35.227 + endif
35.228 +
35.229 +diff -durN glibc-2_9.orig/stdio-common/Makefile glibc-2_9/stdio-common/Makefile
35.230 +--- glibc-2_9.orig/stdio-common/Makefile 2008-07-08 18:32:28.000000000 +0200
35.231 ++++ glibc-2_9/stdio-common/Makefile 2009-02-02 22:01:12.000000000 +0100
35.232 +@@ -80,7 +80,7 @@
35.233 + $(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)'
35.234 + endif
35.235 +
35.236 +-CFLAGS-vfprintf.c = -Wno-uninitialized
35.237 ++CFLAGS-vfprintf.c = -Wno-uninitialized -fno-delayed-branch
35.238 + CFLAGS-vfwprintf.c = -Wno-uninitialized
35.239 + CFLAGS-tst-printf.c = -Wno-format
35.240 + CFLAGS-tstdiomisc.c = -Wno-format
35.241 +diff -durN glibc-2_9.orig/sunrpc/clnt_udp.c glibc-2_9/sunrpc/clnt_udp.c
35.242 +--- glibc-2_9.orig/sunrpc/clnt_udp.c 2008-07-26 10:42:44.000000000 +0200
35.243 ++++ glibc-2_9/sunrpc/clnt_udp.c 2009-02-02 22:01:12.000000000 +0100
35.244 +@@ -462,7 +462,7 @@
35.245 + while (inlen < 0 && errno == EINTR);
35.246 + if (inlen < 0)
35.247 + {
35.248 +- if (errno == EWOULDBLOCK)
35.249 ++ if (errno == EWOULDBLOCK || errno == EAGAIN)
35.250 + continue;
35.251 + cu->cu_error.re_errno = errno;
35.252 + return (cu->cu_error.re_status = RPC_CANTRECV);
36.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
36.2 +++ b/patches/glibc/2.9/380-2.3.6-dl_execstack-PaX-support.patch Sun Apr 19 16:17:11 2009 +0000
36.3 @@ -0,0 +1,71 @@
36.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/3000_all_2.3.6-dl_execstack-PaX-support.patch
36.5 +
36.6 +-= BEGIN original header =-
36.7 + With latest versions of glibc, a lot of apps failed on a PaX enabled
36.8 + system with:
36.9 + cannot enable executable stack as shared object requires: Permission denied
36.10 +
36.11 + This is due to PaX 'exec-protecting' the stack, and ld.so then trying
36.12 + to make the stack executable due to some libraries not containing the
36.13 + PT_GNU_STACK section. Bug #32960. <azarah@gentoo.org> (12 Nov 2003).
36.14 +
36.15 + Patch also NPTL. Bug #116086. <kevquinn@gentoo.org> (20 Dec 2005).
36.16 +
36.17 +-= END original header =-
36.18 +
36.19 +diff -durN glibc-2_9.orig/nptl/allocatestack.c glibc-2_9/nptl/allocatestack.c
36.20 +--- glibc-2_9.orig/nptl/allocatestack.c 2008-08-16 00:35:27.000000000 +0200
36.21 ++++ glibc-2_9/nptl/allocatestack.c 2009-02-02 22:01:20.000000000 +0100
36.22 +@@ -299,7 +299,8 @@
36.23 + # error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP"
36.24 + #endif
36.25 + if (mprotect (stack, len, PROT_READ | PROT_WRITE | PROT_EXEC) != 0)
36.26 +- return errno;
36.27 ++ if (errno != EACCES) /* PAX is enabled */
36.28 ++ return errno;
36.29 +
36.30 + return 0;
36.31 + }
36.32 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c
36.33 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c 2006-01-08 09:21:15.000000000 +0100
36.34 ++++ glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c 2009-02-02 22:01:20.000000000 +0100
36.35 +@@ -63,7 +63,10 @@
36.36 + else
36.37 + # endif
36.38 + {
36.39 +- result = errno;
36.40 ++ if (errno == EACCES) /* PAX is enabled */
36.41 ++ result = 0;
36.42 ++ else
36.43 ++ result = errno;
36.44 + goto out;
36.45 + }
36.46 + }
36.47 +@@ -89,7 +92,12 @@
36.48 + page -= size;
36.49 + else
36.50 + {
36.51 +- if (errno != ENOMEM) /* Unexpected failure mode. */
36.52 ++ if (errno == EACCES) /* PAX is enabled */
36.53 ++ {
36.54 ++ result = 0;
36.55 ++ goto out;
36.56 ++ }
36.57 ++ else if (errno != ENOMEM) /* Unexpected failure mode. */
36.58 + {
36.59 + result = errno;
36.60 + goto out;
36.61 +@@ -115,7 +123,12 @@
36.62 + page += size;
36.63 + else
36.64 + {
36.65 +- if (errno != ENOMEM) /* Unexpected failure mode. */
36.66 ++ if (errno == EACCES) /* PAX is enabled */
36.67 ++ {
36.68 ++ result = 0;
36.69 ++ goto out;
36.70 ++ }
36.71 ++ else if (errno != ENOMEM) /* Unexpected failure mode. */
36.72 + {
36.73 + result = errno;
36.74 + goto out;
37.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
37.2 +++ b/patches/glibc/2.9/390-2.3.3_pre20040117-pt_pax.patch Sun Apr 19 16:17:11 2009 +0000
37.3 @@ -0,0 +1,35 @@
37.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/3010_all_2.3.3_pre20040117-pt_pax.patch
37.5 +
37.6 +-= BEGIN original header =-
37.7 +-= END original header =-
37.8 +
37.9 +diff -durN glibc-2_9.orig/elf/elf.h glibc-2_9/elf/elf.h
37.10 +--- glibc-2_9.orig/elf/elf.h 2008-10-01 21:41:34.000000000 +0200
37.11 ++++ glibc-2_9/elf/elf.h 2009-02-02 22:01:21.000000000 +0100
37.12 +@@ -571,6 +571,7 @@
37.13 + #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
37.14 + #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
37.15 + #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
37.16 ++#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */
37.17 + #define PT_LOSUNW 0x6ffffffa
37.18 + #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
37.19 + #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */
37.20 +@@ -584,6 +585,18 @@
37.21 + #define PF_X (1 << 0) /* Segment is executable */
37.22 + #define PF_W (1 << 1) /* Segment is writable */
37.23 + #define PF_R (1 << 2) /* Segment is readable */
37.24 ++#define PF_PAGEEXEC (1 << 4) /* Enable PAGEEXEC */
37.25 ++#define PF_NOPAGEEXEC (1 << 5) /* Disable PAGEEXEC */
37.26 ++#define PF_SEGMEXEC (1 << 6) /* Enable SEGMEXEC */
37.27 ++#define PF_NOSEGMEXEC (1 << 7) /* Disable SEGMEXEC */
37.28 ++#define PF_MPROTECT (1 << 8) /* Enable MPROTECT */
37.29 ++#define PF_NOMPROTECT (1 << 9) /* Disable MPROTECT */
37.30 ++#define PF_RANDEXEC (1 << 10) /* Enable RANDEXEC */
37.31 ++#define PF_NORANDEXEC (1 << 11) /* Disable RANDEXEC */
37.32 ++#define PF_EMUTRAMP (1 << 12) /* Enable EMUTRAMP */
37.33 ++#define PF_NOEMUTRAMP (1 << 13) /* Disable EMUTRAMP */
37.34 ++#define PF_RANDMMAP (1 << 14) /* Enable RANDMMAP */
37.35 ++#define PF_NORANDMMAP (1 << 15) /* Disable RANDMMAP */
37.36 + #define PF_MASKOS 0x0ff00000 /* OS-specific */
37.37 + #define PF_MASKPROC 0xf0000000 /* Processor-specific */
37.38 +
38.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
38.2 +++ b/patches/glibc/2.9/400-tests-sandbox-libdl-paths.patch Sun Apr 19 16:17:11 2009 +0000
38.3 @@ -0,0 +1,198 @@
38.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/3020_all_glibc-tests-sandbox-libdl-paths.patch
38.5 +
38.6 +-= BEGIN original header =-
38.7 +when glibc runs its tests, it does so by invoking the local library loader.
38.8 +in Gentoo, we build/run inside of our "sandbox" which itself is linked against
38.9 +libdl (so that it can load libraries and pull out symbols). the trouble
38.10 +is that when you upgrade from an older glibc to the new one, often times
38.11 +internal symbols change name or abi. this is normally OK as you cannot use
38.12 +libc.so from say version 2.3.6 but libpthread.so from say version 2.5, so
38.13 +we always say "keep all of the glibc libraries from the same build". but
38.14 +when glibc runs its tests, it uses dynamic paths to point to its new local
38.15 +copies of libraries. if the test doesnt use libdl, then glibc doesnt add
38.16 +its path, and when sandbox triggers the loading of libdl, glibc does so
38.17 +from the host system system. this gets us into the case of all libraries
38.18 +are from the locally compiled version of glibc except for libdl.so.
38.19 +
38.20 +Fix by Wormo
38.21 +
38.22 +http://bugs.gentoo.org/56898
38.23 +
38.24 +-= END original header =-
38.25 +
38.26 +diff -durN glibc-2_9.orig/grp/tst_fgetgrent.sh glibc-2_9/grp/tst_fgetgrent.sh
38.27 +--- glibc-2_9.orig/grp/tst_fgetgrent.sh 2001-07-06 06:54:46.000000000 +0200
38.28 ++++ glibc-2_9/grp/tst_fgetgrent.sh 2009-02-02 22:01:23.000000000 +0100
38.29 +@@ -24,7 +24,8 @@
38.30 + rtld_installed_name=$1; shift
38.31 +
38.32 + testout=${common_objpfx}/grp/tst_fgetgrent.out
38.33 +-library_path=${common_objpfx}
38.34 ++# make sure libdl is also in path in case sandbox is in use
38.35 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.36 +
38.37 + result=0
38.38 +
38.39 +diff -durN glibc-2_9.orig/iconvdata/run-iconv-test.sh glibc-2_9/iconvdata/run-iconv-test.sh
38.40 +--- glibc-2_9.orig/iconvdata/run-iconv-test.sh 2008-05-15 03:59:44.000000000 +0200
38.41 ++++ glibc-2_9/iconvdata/run-iconv-test.sh 2009-02-02 22:01:23.000000000 +0100
38.42 +@@ -34,7 +34,7 @@
38.43 + export GCONV_PATH
38.44 +
38.45 + # We have to have some directories in the library path.
38.46 +-LIBPATH=$codir:$codir/iconvdata
38.47 ++LIBPATH=$codir:$codir/iconvdata:$codir/dlfcn
38.48 +
38.49 + # How the start the iconv(1) program.
38.50 + ICONV='$codir/elf/ld.so --library-path $LIBPATH --inhibit-rpath ${from}.so \
38.51 +diff -durN glibc-2_9.orig/iconvdata/tst-table.sh glibc-2_9/iconvdata/tst-table.sh
38.52 +--- glibc-2_9.orig/iconvdata/tst-table.sh 2002-04-24 23:39:35.000000000 +0200
38.53 ++++ glibc-2_9/iconvdata/tst-table.sh 2009-02-02 22:01:23.000000000 +0100
38.54 +@@ -59,8 +59,11 @@
38.55 + irreversible=${charset}.irreversible
38.56 + fi
38.57 +
38.58 ++# make sure libdl is also in path in case sandbox is in use
38.59 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.60 ++
38.61 + # iconv in one direction.
38.62 +-${common_objpfx}elf/ld.so --library-path $common_objpfx \
38.63 ++${common_objpfx}elf/ld.so --library-path $library_path \
38.64 + ${objpfx}tst-table-from ${charset} \
38.65 + > ${objpfx}tst-${charset}.table
38.66 +
38.67 +diff -durN glibc-2_9.orig/intl/tst-codeset.sh glibc-2_9/intl/tst-codeset.sh
38.68 +--- glibc-2_9.orig/intl/tst-codeset.sh 2005-04-06 04:18:35.000000000 +0200
38.69 ++++ glibc-2_9/intl/tst-codeset.sh 2009-02-02 22:01:23.000000000 +0100
38.70 +@@ -37,6 +37,9 @@
38.71 + LOCPATH=${common_objpfx}localedata
38.72 + export LOCPATH
38.73 +
38.74 ++# make sure libdl is also in path in case sandbox is in use
38.75 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.76 ++
38.77 + ${common_objpfx}elf/ld.so --library-path $common_objpfx \
38.78 + ${objpfx}tst-codeset > ${objpfx}tst-codeset.out
38.79 +
38.80 +diff -durN glibc-2_9.orig/intl/tst-gettext.sh glibc-2_9/intl/tst-gettext.sh
38.81 +--- glibc-2_9.orig/intl/tst-gettext.sh 2004-08-15 21:28:18.000000000 +0200
38.82 ++++ glibc-2_9/intl/tst-gettext.sh 2009-02-02 22:01:23.000000000 +0100
38.83 +@@ -51,9 +51,12 @@
38.84 + LOCPATH=${common_objpfx}localedata
38.85 + export LOCPATH
38.86 +
38.87 ++# make sure libdl is also in path in case sandbox is in use
38.88 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.89 ++
38.90 + # Now run the test.
38.91 + MALLOC_TRACE=$malloc_trace LOCPATH=${objpfx}localedir:$LOCPATH \
38.92 +-${common_objpfx}elf/ld.so --library-path $common_objpfx \
38.93 ++${common_objpfx}elf/ld.so --library-path $library_path \
38.94 + ${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir
38.95 +
38.96 + exit $?
38.97 +diff -durN glibc-2_9.orig/intl/tst-gettext2.sh glibc-2_9/intl/tst-gettext2.sh
38.98 +--- glibc-2_9.orig/intl/tst-gettext2.sh 2005-05-04 19:54:48.000000000 +0200
38.99 ++++ glibc-2_9/intl/tst-gettext2.sh 2009-02-02 22:01:23.000000000 +0100
38.100 +@@ -65,8 +65,11 @@
38.101 + LOCPATH=${objpfx}domaindir
38.102 + export LOCPATH
38.103 +
38.104 ++# make sure libdl is also in path in case sandbox is in use
38.105 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.106 ++
38.107 + # Now run the test.
38.108 +-${common_objpfx}elf/ld.so --library-path $common_objpfx \
38.109 ++${common_objpfx}elf/ld.so --library-path $library_path \
38.110 + ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir &&
38.111 + cmp ${objpfx}tst-gettext2.out - <<EOF
38.112 + String1 - Lang1: 1st string
38.113 +diff -durN glibc-2_9.orig/intl/tst-translit.sh glibc-2_9/intl/tst-translit.sh
38.114 +--- glibc-2_9.orig/intl/tst-translit.sh 2005-05-04 19:56:10.000000000 +0200
38.115 ++++ glibc-2_9/intl/tst-translit.sh 2009-02-02 22:01:23.000000000 +0100
38.116 +@@ -36,7 +36,10 @@
38.117 + LOCPATH=${common_objpfx}localedata
38.118 + export LOCPATH
38.119 +
38.120 +-${common_objpfx}elf/ld.so --library-path $common_objpfx \
38.121 ++# make sure libdl is also in path in case sandbox is in use
38.122 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.123 ++
38.124 ++${common_objpfx}elf/ld.so --library-path $library_path \
38.125 + ${objpfx}tst-translit > ${objpfx}tst-translit.out ${objpfx}domaindir
38.126 +
38.127 + exit $?
38.128 +diff -durN glibc-2_9.orig/malloc/tst-mtrace.sh glibc-2_9/malloc/tst-mtrace.sh
38.129 +--- glibc-2_9.orig/malloc/tst-mtrace.sh 2005-10-15 01:40:35.000000000 +0200
38.130 ++++ glibc-2_9/malloc/tst-mtrace.sh 2009-02-02 22:01:23.000000000 +0100
38.131 +@@ -24,9 +24,12 @@
38.132 + status=0
38.133 + trap "rm -f ${common_objpfx}malloc/tst-mtrace.leak; exit 1" 1 2 15
38.134 +
38.135 ++# make sure libdl is also in path in case sandbox is in use
38.136 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.137 ++
38.138 + MALLOC_TRACE=${common_objpfx}malloc/tst-mtrace.leak \
38.139 + LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
38.140 +-${common_objpfx}elf/ld.so --library-path $common_objpfx \
38.141 ++${common_objpfx}elf/ld.so --library-path $library_path \
38.142 + ${common_objpfx}malloc/tst-mtrace || status=1
38.143 +
38.144 + if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then
38.145 +diff -durN glibc-2_9.orig/nptl/tst-tls6.sh glibc-2_9/nptl/tst-tls6.sh
38.146 +--- glibc-2_9.orig/nptl/tst-tls6.sh 2003-09-03 00:02:59.000000000 +0200
38.147 ++++ glibc-2_9/nptl/tst-tls6.sh 2009-02-02 22:01:23.000000000 +0100
38.148 +@@ -5,8 +5,8 @@
38.149 + rtld_installed_name=$1; shift
38.150 + logfile=$common_objpfx/nptl/tst-tls6.out
38.151 +
38.152 +-# We have to find libc and nptl
38.153 +-library_path=${common_objpfx}:${common_objpfx}nptl
38.154 ++# We have to find libc and nptl (also libdl in case sandbox is in use)
38.155 ++library_path=${common_objpfx}:${common_objpfx}nptl:${common_objpfx}/dlfcn
38.156 + tst_tls5="${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
38.157 + ${common_objpfx}/nptl/tst-tls5"
38.158 +
38.159 +diff -durN glibc-2_9.orig/posix/globtest.sh glibc-2_9/posix/globtest.sh
38.160 +--- glibc-2_9.orig/posix/globtest.sh 2007-02-14 20:52:33.000000000 +0100
38.161 ++++ glibc-2_9/posix/globtest.sh 2009-02-02 22:01:23.000000000 +0100
38.162 +@@ -18,7 +18,7 @@
38.163 + esac
38.164 +
38.165 + # We have to find the libc and the NSS modules.
38.166 +-library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod
38.167 ++library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod:${common_objpfx}/dlfcn
38.168 +
38.169 + # Since we use `sort' we must make sure to use the same locale everywhere.
38.170 + LC_ALL=C
38.171 +diff -durN glibc-2_9.orig/posix/tst-getconf.sh glibc-2_9/posix/tst-getconf.sh
38.172 +--- glibc-2_9.orig/posix/tst-getconf.sh 2002-09-01 13:11:25.000000000 +0200
38.173 ++++ glibc-2_9/posix/tst-getconf.sh 2009-02-02 22:01:23.000000000 +0100
38.174 +@@ -10,7 +10,10 @@
38.175 + else
38.176 + rtld_installed_name=$1; shift
38.177 + runit() {
38.178 +- ${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} "$@"
38.179 ++
38.180 ++ # make sure libdl is also in path in case sandbox is in use
38.181 ++ library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.182 ++ ${elf_objpfx}${rtld_installed_name} --library-path ${library_path} "$@"
38.183 + }
38.184 + fi
38.185 +
38.186 +diff -durN glibc-2_9.orig/posix/wordexp-tst.sh glibc-2_9/posix/wordexp-tst.sh
38.187 +--- glibc-2_9.orig/posix/wordexp-tst.sh 2000-10-20 18:23:30.000000000 +0200
38.188 ++++ glibc-2_9/posix/wordexp-tst.sh 2009-02-02 22:01:23.000000000 +0100
38.189 +@@ -19,8 +19,11 @@
38.190 + "
38.191 + export IFS
38.192 +
38.193 ++# make sure libdl is also in path in case sandbox is in use
38.194 ++library_path=${common_objpfx}:${common_objpfx}/dlfcn
38.195 ++
38.196 + failed=0
38.197 +-${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} \
38.198 ++${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
38.199 + ${common_objpfx}posix/wordexp-test '$*' > ${testout}1
38.200 + cat <<"EOF" | cmp - ${testout}1 >> $logfile || failed=1
38.201 + wordexp returned 0
39.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
39.2 +++ b/patches/glibc/2.9/410-2.9-fnmatch.patch Sun Apr 19 16:17:11 2009 +0000
39.3 @@ -0,0 +1,64 @@
39.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/5021_all_2.9-fnmatch.patch
39.5 +
39.6 +-= BEGIN original header =-
39.7 +http://sourceware.org/ml/libc-hacker/2002-11/msg00071.html
39.8 +
39.9 +When fnmatch detects an invalid multibyte character it should fall back to
39.10 +single byte matching, so that "*" has a chance to match such a string.
39.11 +
39.12 +Andreas.
39.13 +
39.14 +2005-04-12 Andreas Schwab <schwab@suse.de>
39.15 +
39.16 + * posix/fnmatch.c (fnmatch): If conversion to wide character
39.17 + fails fall back to single byte matching.
39.18 +
39.19 +-= END original header =-
39.20 +
39.21 +diff -durN glibc-2_9.orig/posix/fnmatch.c glibc-2_9/posix/fnmatch.c
39.22 +--- glibc-2_9.orig/posix/fnmatch.c 2007-07-28 22:35:00.000000000 +0200
39.23 ++++ glibc-2_9/posix/fnmatch.c 2009-02-02 22:01:25.000000000 +0100
39.24 +@@ -327,6 +327,7 @@
39.25 + # if HANDLE_MULTIBYTE
39.26 + if (__builtin_expect (MB_CUR_MAX, 1) != 1)
39.27 + {
39.28 ++ const char *orig_pattern = pattern;
39.29 + mbstate_t ps;
39.30 + size_t n;
39.31 + const char *p;
39.32 +@@ -382,10 +383,8 @@
39.33 + wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t));
39.34 + n = mbsrtowcs (wstring, &p, n + 1, &ps);
39.35 + if (__builtin_expect (n == (size_t) -1, 0))
39.36 +- /* Something wrong.
39.37 +- XXX Do we have to set `errno' to something which mbsrtows hasn't
39.38 +- already done? */
39.39 +- return -1;
39.40 ++ /* Something wrong. Fall back to single byte matching. */
39.41 ++ goto try_singlebyte;
39.42 + if (p)
39.43 + {
39.44 + memset (&ps, '\0', sizeof (ps));
39.45 +@@ -397,10 +396,8 @@
39.46 + prepare_wstring:
39.47 + n = mbsrtowcs (NULL, &string, 0, &ps);
39.48 + if (__builtin_expect (n == (size_t) -1, 0))
39.49 +- /* Something wrong.
39.50 +- XXX Do we have to set `errno' to something which mbsrtows hasn't
39.51 +- already done? */
39.52 +- return -1;
39.53 ++ /* Something wrong. Fall back to single byte matching. */
39.54 ++ goto try_singlebyte;
39.55 + wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t));
39.56 + assert (mbsinit (&ps));
39.57 + (void) mbsrtowcs (wstring, &string, n + 1, &ps);
39.58 +@@ -408,6 +405,9 @@
39.59 +
39.60 + return internal_fnwmatch (wpattern, wstring, wstring + n,
39.61 + flags & FNM_PERIOD, flags, NULL);
39.62 ++
39.63 ++ try_singlebyte:
39.64 ++ pattern = orig_pattern;
39.65 + }
39.66 + # endif /* mbstate_t and mbsrtowcs or _LIBC. */
39.67 +
40.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
40.2 +++ b/patches/glibc/2.9/420-dont-build-timezone.patch Sun Apr 19 16:17:11 2009 +0000
40.3 @@ -0,0 +1,19 @@
40.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/5063_all_glibc-dont-build-timezone.patch
40.5 +
40.6 +-= BEGIN original header =-
40.7 +timezone data has been split into the package sys-libs/timezone-data
40.8 +
40.9 +-= END original header =-
40.10 +
40.11 +diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig
40.12 +--- glibc-2_9.orig/Makeconfig 2009-02-02 22:01:05.000000000 +0100
40.13 ++++ glibc-2_9/Makeconfig 2009-02-02 22:01:27.000000000 +0100
40.14 +@@ -919,7 +919,7 @@
40.15 + stdlib stdio-common libio malloc string wcsmbs time dirent \
40.16 + grp pwd posix io termios resource misc socket sysvipc gmon \
40.17 + gnulib iconv iconvdata wctype manual shadow po argp \
40.18 +- crypt nss localedata timezone rt conform debug \
40.19 ++ crypt nss localedata rt conform debug \
40.20 + $(add-on-subdirs) $(dlfcn) $(binfmt-subdir)
40.21 +
40.22 + ifndef avoid-generated
41.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
41.2 +++ b/patches/glibc/2.9/430-2.7-cross-compile-nptl.patch Sun Apr 19 16:17:11 2009 +0000
41.3 @@ -0,0 +1,57 @@
41.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/5070_all_glibc-2.7-cross-compile-nptl.patch
41.5 +
41.6 +-= BEGIN original header =-
41.7 +A little hack for cross-compiling NPTL
41.8 +
41.9 +http://sourceware.org/ml/libc-alpha/2005-02/msg00043.html
41.10 +
41.11 +-= END original header =-
41.12 +
41.13 +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure glibc-2_9/nptl/sysdeps/pthread/configure
41.14 +--- glibc-2_9.orig/nptl/sysdeps/pthread/configure 2007-10-17 00:24:30.000000000 +0200
41.15 ++++ glibc-2_9/nptl/sysdeps/pthread/configure 2009-02-02 22:01:28.000000000 +0100
41.16 +@@ -78,6 +78,10 @@
41.17 + fi
41.18 + { echo "$as_me:$LINENO: result: $libc_cv_forced_unwind" >&5
41.19 + echo "${ECHO_T}$libc_cv_forced_unwind" >&6; }
41.20 ++if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then
41.21 ++ echo "$as_me:$LINENO: forcing libc_cv_forced_unwind = yes for cross-compile"
41.22 ++ libc_cv_forced_unwind=yes
41.23 ++fi
41.24 + if test $libc_cv_forced_unwind = yes; then
41.25 + cat >>confdefs.h <<\_ACEOF
41.26 + #define HAVE_FORCED_UNWIND 1
41.27 +@@ -141,6 +145,10 @@
41.28 + { echo "$as_me:$LINENO: result: $libc_cv_c_cleanup" >&5
41.29 + echo "${ECHO_T}$libc_cv_c_cleanup" >&6; }
41.30 + CFLAGS="$old_CFLAGS"
41.31 ++ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then
41.32 ++ echo "$as_me:$LINENO: result: forcing libc_cv_c_cleanup = yes for cross-compile"
41.33 ++ libc_cv_c_cleanup=yes
41.34 ++ fi
41.35 + if test $libc_cv_c_cleanup = no; then
41.36 + { { echo "$as_me:$LINENO: error: the compiler must support C cleanup handling" >&5
41.37 + echo "$as_me: error: the compiler must support C cleanup handling" >&2;}
41.38 +diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure.in glibc-2_9/nptl/sysdeps/pthread/configure.in
41.39 +--- glibc-2_9.orig/nptl/sysdeps/pthread/configure.in 2003-12-03 07:50:01.000000000 +0100
41.40 ++++ glibc-2_9/nptl/sysdeps/pthread/configure.in 2009-02-02 22:01:28.000000000 +0100
41.41 +@@ -28,6 +28,9 @@
41.42 + struct _Unwind_Context *context;
41.43 + _Unwind_GetCFA (context)],
41.44 + libc_cv_forced_unwind=yes, libc_cv_forced_unwind=no)])
41.45 ++if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then
41.46 ++ libc_cv_forced_unwind=yes
41.47 ++fi
41.48 + if test $libc_cv_forced_unwind = yes; then
41.49 + AC_DEFINE(HAVE_FORCED_UNWIND)
41.50 + dnl Check for C cleanup handling.
41.51 +@@ -41,6 +44,9 @@
41.52 + puts ("test")],
41.53 + libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)])
41.54 + CFLAGS="$old_CFLAGS"
41.55 ++ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then
41.56 ++ libc_cv_c_cleanup=yes
41.57 ++ fi
41.58 + if test $libc_cv_c_cleanup = no; then
41.59 + AC_MSG_ERROR([the compiler must support C cleanup handling])
41.60 + fi
42.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
42.2 +++ b/patches/glibc/2.9/440-alpha-glibc-2.4-xstat.patch Sun Apr 19 16:17:11 2009 +0000
42.3 @@ -0,0 +1,249 @@
42.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6001_all_alpha-glibc-2.4-xstat.patch
42.5 +
42.6 +-= BEGIN original header =-
42.7 +http://sources.redhat.com/bugzilla/show_bug.cgi?id=1026
42.8 +http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html
42.9 +
42.10 +2005-02-26 GOTO Masanori <gotom@debian.or.jp>
42.11 +
42.12 + * sysdeps/unix/sysv/linux/kernel-features.h: Define
42.13 + __ASSUME_STAT64_SYSCALL.
42.14 + * sysdeps/unix/sysv/linux/alpha/fxstat.c: Check
42.15 + __ASSUME_STAT64_SYSCALL.
42.16 + * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Likewise.
42.17 + * sysdeps/unix/sysv/linux/alpha/lxstat.c: Likewise.
42.18 + * sysdeps/unix/sysv/linux/alpha/xstat.c: Likewise.
42.19 + * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Don't define
42.20 + __libc_missing_axp_stat64 when it's not needed.
42.21 + * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42.22 +
42.23 +-= END original header =-
42.24 +
42.25 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c
42.26 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c 2004-03-11 03:58:44.000000000 +0100
42.27 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c 2009-02-02 22:01:30.000000000 +0100
42.28 +@@ -35,27 +35,39 @@
42.29 + __fxstat (int vers, int fd, struct stat *buf)
42.30 + {
42.31 + INTERNAL_SYSCALL_DECL (err);
42.32 +- int result, errno_out;
42.33 ++ int result;
42.34 + struct kernel_stat kbuf;
42.35 +
42.36 ++#if __ASSUME_STAT64_SYSCALL > 0
42.37 ++ if (vers == _STAT_VER_KERNEL64)
42.38 ++ {
42.39 ++ result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf);
42.40 ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.41 ++ return result;
42.42 ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
42.43 ++ return -1;
42.44 ++ }
42.45 ++#elif defined __NR_fstat64
42.46 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
42.47 + {
42.48 ++ int errno_out;
42.49 + result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf);
42.50 + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.51 + return result;
42.52 + errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
42.53 + if (errno_out != ENOSYS)
42.54 +- goto fail;
42.55 ++ {
42.56 ++ __set_errno (errno_out);
42.57 ++ return -1;
42.58 ++ }
42.59 + __libc_missing_axp_stat64 = 1;
42.60 + }
42.61 ++#endif
42.62 +
42.63 + result = INTERNAL_SYSCALL (fstat, err, 2, fd, &kbuf);
42.64 + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.65 + return __xstat_conv (vers, &kbuf, buf);
42.66 +- errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
42.67 +-
42.68 +- fail:
42.69 +- __set_errno (errno_out);
42.70 ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
42.71 + return -1;
42.72 + }
42.73 + hidden_def (__fxstat)
42.74 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c
42.75 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2006-02-20 23:51:48.000000000 +0100
42.76 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2009-02-02 22:01:30.000000000 +0100
42.77 +@@ -65,6 +65,20 @@
42.78 + int result, errno_out;
42.79 + struct kernel_stat kst;
42.80 +
42.81 ++#if __ASSUME_STAT64_SYSCALL > 0
42.82 ++ if (vers == _STAT_VER_KERNEL64)
42.83 ++ {
42.84 ++ if (flag & AT_SYMLINK_NOFOLLOW)
42.85 ++ result = INTERNAL_SYSCALL (lstat64, err, 2, file, st);
42.86 ++ else
42.87 ++ result = INTERNAL_SYSCALL (stat64, err, 2, file, st);
42.88 ++
42.89 ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.90 ++ return result;
42.91 ++ errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
42.92 ++ goto fail;
42.93 ++ }
42.94 ++#elif defined __NR_stat64
42.95 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
42.96 + {
42.97 + if (flag & AT_SYMLINK_NOFOLLOW)
42.98 +@@ -79,6 +93,7 @@
42.99 + goto fail;
42.100 + __libc_missing_axp_stat64 = 1;
42.101 + }
42.102 ++#endif
42.103 +
42.104 + if (flag & AT_SYMLINK_NOFOLLOW)
42.105 + result = INTERNAL_SYSCALL (lstat, err, 2, file, &kst);
42.106 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c
42.107 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c 2004-03-11 03:58:44.000000000 +0100
42.108 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c 2009-02-02 22:01:30.000000000 +0100
42.109 +@@ -35,27 +35,39 @@
42.110 + __lxstat (int vers, const char *name, struct stat *buf)
42.111 + {
42.112 + INTERNAL_SYSCALL_DECL (err);
42.113 +- int result, errno_out;
42.114 ++ int result;
42.115 + struct kernel_stat kbuf;
42.116 +
42.117 ++#if __ASSUME_STAT64_SYSCALL > 0
42.118 ++ if (vers == _STAT_VER_KERNEL64)
42.119 ++ {
42.120 ++ result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf);
42.121 ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.122 ++ return result;
42.123 ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
42.124 ++ return -1;
42.125 ++ }
42.126 ++#elif defined __NR_lstat64
42.127 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
42.128 + {
42.129 ++ int errno_out;
42.130 + result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf);
42.131 + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.132 + return result;
42.133 + errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
42.134 + if (errno_out != ENOSYS)
42.135 +- goto fail;
42.136 ++ {
42.137 ++ __set_errno (errno_out);
42.138 ++ return -1;
42.139 ++ }
42.140 + __libc_missing_axp_stat64 = 1;
42.141 + }
42.142 ++#endif
42.143 +
42.144 + result = INTERNAL_SYSCALL (lstat, err, 2, name, &kbuf);
42.145 + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.146 + return __xstat_conv (vers, &kbuf, buf);
42.147 +- errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
42.148 +-
42.149 +- fail:
42.150 +- __set_errno (errno_out);
42.151 ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
42.152 + return -1;
42.153 + }
42.154 + hidden_def (__lxstat)
42.155 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c
42.156 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c 2004-03-11 03:58:44.000000000 +0100
42.157 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c 2009-02-02 22:01:30.000000000 +0100
42.158 +@@ -35,27 +35,39 @@
42.159 + __xstat (int vers, const char *name, struct stat *buf)
42.160 + {
42.161 + INTERNAL_SYSCALL_DECL (err);
42.162 +- int result, errno_out;
42.163 ++ int result;
42.164 + struct kernel_stat kbuf;
42.165 +
42.166 ++#if __ASSUME_STAT64_SYSCALL > 0
42.167 ++ if (vers == _STAT_VER_KERNEL64)
42.168 ++ {
42.169 ++ result = INTERNAL_SYSCALL (stat64, err, 2, name, buf);
42.170 ++ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.171 ++ return result;
42.172 ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
42.173 ++ return -1;
42.174 ++ }
42.175 ++#elif defined __NR_stat64
42.176 + if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
42.177 + {
42.178 ++ int errno_out;
42.179 + result = INTERNAL_SYSCALL (stat64, err, 2, name, buf);
42.180 + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.181 + return result;
42.182 + errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
42.183 + if (errno_out != ENOSYS)
42.184 +- goto fail;
42.185 ++ {
42.186 ++ __set_errno (errno_out);
42.187 ++ return -1;
42.188 ++ }
42.189 + __libc_missing_axp_stat64 = 1;
42.190 + }
42.191 ++#endif
42.192 +
42.193 + result = INTERNAL_SYSCALL (stat, err, 2, name, &kbuf);
42.194 + if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
42.195 + return __xstat_conv (vers, &kbuf, buf);
42.196 +- errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
42.197 +-
42.198 +- fail:
42.199 +- __set_errno (errno_out);
42.200 ++ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
42.201 + return -1;
42.202 + }
42.203 + hidden_def (__xstat)
42.204 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c
42.205 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2004-03-11 03:58:44.000000000 +0100
42.206 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2009-02-02 22:01:30.000000000 +0100
42.207 +@@ -22,9 +22,14 @@
42.208 + #include <sys/stat.h>
42.209 + #include <kernel_stat.h>
42.210 + #include <xstatconv.h>
42.211 ++#include <sys/syscall.h>
42.212 +
42.213 +
42.214 ++#ifdef __NR_stat64
42.215 ++# if __ASSUME_STAT64_SYSCALL == 0
42.216 + int __libc_missing_axp_stat64;
42.217 ++# endif
42.218 ++#endif
42.219 +
42.220 + int
42.221 + __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
42.222 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h
42.223 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2006-01-08 09:21:16.000000000 +0100
42.224 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2009-02-02 22:01:30.000000000 +0100
42.225 +@@ -18,7 +18,12 @@
42.226 + 02111-1307 USA. */
42.227 +
42.228 + #include <kernel-features.h>
42.229 ++#include <sys/syscall.h>
42.230 +
42.231 ++#ifdef __NR_stat64
42.232 ++# if __ASSUME_STAT64_SYSCALL == 0
42.233 + extern int __libc_missing_axp_stat64 attribute_hidden;
42.234 ++# endif
42.235 ++#endif
42.236 + extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
42.237 + attribute_hidden;
42.238 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h
42.239 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h 2008-08-01 23:51:04.000000000 +0200
42.240 ++++ glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h 2009-02-02 22:01:30.000000000 +0100
42.241 +@@ -395,6 +395,11 @@
42.242 + # define __ASSUME_GETDENTS32_D_TYPE 1
42.243 + #endif
42.244 +
42.245 ++/* Starting with version 2.6.4, alpha stat64 syscalls are available. */
42.246 ++#if __LINUX_KERNEL_VERSION >= 0x020604 && defined __alpha__
42.247 ++# define __ASSUME_STAT64_SYSCALL 1
42.248 ++#endif
42.249 ++
42.250 + /* Starting with version 2.5.3, the initial location returned by `brk'
42.251 + after exec is always rounded up to the next page. */
42.252 + #if __LINUX_KERNEL_VERSION >= 132355
43.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
43.2 +++ b/patches/glibc/2.9/450-alpha-glibc-2.5-no-page-header.patch Sun Apr 19 16:17:11 2009 +0000
43.3 @@ -0,0 +1,32 @@
43.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6015_all_alpha-glibc-2.5-no-page-header.patch
43.5 +
43.6 +-= BEGIN original header =-
43.7 +2008-06-07 Mike Frysinger <vapier@gentoo.org>
43.8 +
43.9 + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
43.10 + from the kernel header to sys/user.h and remove the #include of
43.11 + sys/user.h.
43.12 +
43.13 +-= END original header =-
43.14 +
43.15 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h
43.16 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h 2001-07-06 06:56:13.000000000 +0200
43.17 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-02-02 22:01:32.000000000 +0100
43.18 +@@ -23,7 +23,6 @@
43.19 + only. Don't read too much into it. Don't use it for anything other
43.20 + than gdb/strace unless you know what you are doing. */
43.21 +
43.22 +-#include <asm/page.h>
43.23 + #include <asm/reg.h>
43.24 +
43.25 + struct user
43.26 +@@ -41,6 +40,9 @@
43.27 + char u_comm[32]; /* user command name */
43.28 + };
43.29 +
43.30 ++#define PAGE_SHIFT 13
43.31 ++#define PAGE_SIZE (1 << PAGE_SHIFT)
43.32 ++#define PAGE_MASK (~(PAGE_SIZE-1))
43.33 + #define NBPG PAGE_SIZE
43.34 + #define UPAGES 1
43.35 + #define HOST_TEXT_START_ADDR (u.start_code)
44.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
44.2 +++ b/patches/glibc/2.9/460-alpha-glibc-2.5-no-asm-elf-header.patch Sun Apr 19 16:17:11 2009 +0000
44.3 @@ -0,0 +1,38 @@
44.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6016_all_alpha-glibc-2.5-no-asm-elf-header.patch
44.5 +
44.6 +-= BEGIN original header =-
44.7 +2007-03-13 Mike Frysinger <vapier@gentoo.org>
44.8 +
44.9 + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some defines
44.10 + from alpha's asm/elf.h
44.11 +
44.12 +-= END original header =-
44.13 +
44.14 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
44.15 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2001-07-06 06:56:13.000000000 +0200
44.16 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2009-02-02 22:01:33.000000000 +0100
44.17 +@@ -29,10 +29,23 @@
44.18 + #include <sys/types.h>
44.19 + #include <sys/ucontext.h>
44.20 + #include <sys/user.h>
44.21 +-#include <asm/elf.h>
44.22 +
44.23 + __BEGIN_DECLS
44.24 +
44.25 ++/*
44.26 ++ * The OSF/1 version of <sys/procfs.h> makes gregset_t 46 entries long.
44.27 ++ * I have no idea why that is so. For now, we just leave it at 33
44.28 ++ * (32 general regs + processor status word).
44.29 ++ */
44.30 ++#define ELF_NGREG 33
44.31 ++#define ELF_NFPREG 32
44.32 ++
44.33 ++typedef unsigned long elf_greg_t;
44.34 ++typedef elf_greg_t elf_gregset_t[ELF_NGREG];
44.35 ++
44.36 ++typedef double elf_fpreg_t;
44.37 ++typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
44.38 ++
44.39 + struct elf_siginfo
44.40 + {
44.41 + int si_signo; /* Signal number. */
45.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
45.2 +++ b/patches/glibc/2.9/470-alpha-glibc-2.8-creat.patch Sun Apr 19 16:17:11 2009 +0000
45.3 @@ -0,0 +1,19 @@
45.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6017_all_alpha-glibc-2.8-creat.patch
45.5 +
45.6 +-= BEGIN original header =-
45.7 +alpha does not have a __NR_creat
45.8 +
45.9 +http://bugs.gentoo.org/227275
45.10 +http://sourceware.org/bugzilla/show_bug.cgi?id=6650
45.11 +
45.12 +-= END original header =-
45.13 +
45.14 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
45.15 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100
45.16 ++++ glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-02-02 22:01:35.000000000 +0100
45.17 +@@ -1 +1,5 @@
45.18 + /* Defined as alias for the syscall. */
45.19 ++#include <sysdep.h>
45.20 ++#ifndef __NR_creat
45.21 ++#include "../../../../../io/creat64.c"
45.22 ++#endif
46.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
46.2 +++ b/patches/glibc/2.9/480-alpha-glibc-2.8-cache-shape.patch Sun Apr 19 16:17:11 2009 +0000
46.3 @@ -0,0 +1,18 @@
46.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_alpha-glibc-2.8-cache-shape.patch
46.5 +
46.6 +-= BEGIN original header =-
46.7 +older verisons of glibc would build dl-sysdep as shared-only and dl-support as
46.8 +static-only. alpha hooks in a cache variable via dl-auxv.h. newer versions of
46.9 +glibc build dl-sysdep as both shared and static which means we now have symbol
46.10 +duplication for static builds with dl-sysdep and dl-support. since dl-sysdep
46.11 +is both shared/static, there is no point in hooking dl-support anymore, so we
46.12 +can punt it.
46.13 +
46.14 +-= END original header =-
46.15 +
46.16 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c
46.17 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c 2007-03-13 22:25:16.000000000 +0100
46.18 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-02-02 22:01:37.000000000 +0100
46.19 +@@ -1,2 +0,0 @@
46.20 +-#include "dl-auxv.h"
46.21 +-#include <elf/dl-support.c>
47.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
47.2 +++ b/patches/glibc/2.9/490-ptr-mangling.patch Sun Apr 19 16:17:11 2009 +0000
47.3 @@ -0,0 +1,114 @@
47.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_glibc-ptr-mangling.patch
47.5 +
47.6 +-= BEGIN original header =-
47.7 +http://bugs.gentoo.org/201910
47.8 +
47.9 +For every arch, PTR_MANGLE and PTR_DEMANGLE defines are in
47.10 +sysdeps/unix/sysv/linux/<arch>/sysdep.h. But for alpha this is not true. The
47.11 +defines are in sysdeps/unix/alpha/sysdep.h and unix/sysv/linux/alpha/sysdep.h
47.12 +includes the first.
47.13 +
47.14 +This is a patch that fixes the issue and let alpha build, at the expense of
47.15 +disabling MANGLING in the non PIC case, but googling showed that the issue is
47.16 +known, and that nobody really cares about it.
47.17 +
47.18 +Info from: http://sourceware.org/bugzilla/show_bug.cgi?id=5216
47.19 +
47.20 +-= END original header =-
47.21 +
47.22 +diff -durN glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h glibc-2_9/sysdeps/unix/alpha/sysdep.h
47.23 +--- glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h 2006-03-03 12:21:28.000000000 +0100
47.24 ++++ glibc-2_9/sysdeps/unix/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100
47.25 +@@ -397,42 +397,4 @@
47.26 + _sc_ret = _sc_0, _sc_err = _sc_19; \
47.27 + }
47.28 +
47.29 +-/* Pointer mangling support. Note that tls access is slow enough that
47.30 +- we don't deoptimize things by placing the pointer check value there. */
47.31 +-
47.32 +-#include <stdint.h>
47.33 +-
47.34 +-#if defined NOT_IN_libc && defined IS_IN_rtld
47.35 +-# ifdef __ASSEMBLER__
47.36 +-# define PTR_MANGLE(dst, src, tmp) \
47.37 +- ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \
47.38 +- ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \
47.39 +- xor src, tmp, dst
47.40 +-# define PTR_MANGLE2(dst, src, tmp) \
47.41 +- xor src, tmp, dst
47.42 +-# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
47.43 +-# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
47.44 +-# else
47.45 +-extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
47.46 +-# define PTR_MANGLE(var) \
47.47 +- (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
47.48 +-# define PTR_DEMANGLE(var) PTR_MANGLE(var)
47.49 +-# endif
47.50 +-#elif defined PIC
47.51 +-# ifdef __ASSEMBLER__
47.52 +-# define PTR_MANGLE(dst, src, tmp) \
47.53 +- ldq tmp, __pointer_chk_guard; \
47.54 +- xor src, tmp, dst
47.55 +-# define PTR_MANGLE2(dst, src, tmp) \
47.56 +- xor src, tmp, dst
47.57 +-# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
47.58 +-# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
47.59 +-# else
47.60 +-extern uintptr_t __pointer_chk_guard attribute_relro;
47.61 +-# define PTR_MANGLE(var) \
47.62 +- (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard)
47.63 +-# define PTR_DEMANGLE(var) PTR_MANGLE(var)
47.64 +-# endif
47.65 +-#endif
47.66 +-
47.67 + #endif /* ASSEMBLER */
47.68 +diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h
47.69 +--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h 2007-08-21 10:07:28.000000000 +0200
47.70 ++++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100
47.71 +@@ -98,4 +98,46 @@
47.72 + INTERNAL_SYSCALL1(name, err_out, nr, args); \
47.73 + })
47.74 +
47.75 ++/* Pointer mangling support. Note that tls access is slow enough that
47.76 ++ we don't deoptimize things by placing the pointer check value there. */
47.77 ++
47.78 ++#if defined NOT_IN_libc && defined IS_IN_rtld
47.79 ++# ifdef __ASSEMBLER__
47.80 ++# define PTR_MANGLE(dst, src, tmp) \
47.81 ++ ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \
47.82 ++ ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \
47.83 ++ xor src, tmp, dst
47.84 ++# define PTR_MANGLE2(dst, src, tmp) \
47.85 ++ xor src, tmp, dst
47.86 ++# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
47.87 ++# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
47.88 ++# else
47.89 ++extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
47.90 ++# define PTR_MANGLE(var) \
47.91 ++ (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
47.92 ++# define PTR_DEMANGLE(var) PTR_MANGLE(var)
47.93 ++# endif
47.94 ++#elif defined PIC
47.95 ++# ifdef __ASSEMBLER__
47.96 ++# define PTR_MANGLE(dst, src, tmp) \
47.97 ++ ldq tmp, __pointer_chk_guard; \
47.98 ++ xor src, tmp, dst
47.99 ++# define PTR_MANGLE2(dst, src, tmp) \
47.100 ++ xor src, tmp, dst
47.101 ++# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
47.102 ++# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
47.103 ++# else
47.104 ++extern uintptr_t __pointer_chk_guard attribute_relro;
47.105 ++# define PTR_MANGLE(var) \
47.106 ++ (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard)
47.107 ++# define PTR_DEMANGLE(var) PTR_MANGLE(var)
47.108 ++# endif
47.109 ++#else
47.110 ++/* Pointer mangling is not yet supported for static libc on alpha. */
47.111 ++# ifndef __ASSEMBLER__
47.112 ++# define PTR_MANGLE(var) (void) (var)
47.113 ++# define PTR_DEMANGLE(var) (void) (var)
47.114 ++# endif
47.115 ++#endif
47.116 ++
47.117 + #endif /* _LINUX_ALPHA_SYSDEP_H */
48.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
48.2 +++ b/patches/glibc/2.9/500-ppc-glibc-2.9-atomic.patch Sun Apr 19 16:17:11 2009 +0000
48.3 @@ -0,0 +1,414 @@
48.4 +Original patch from: gentoo/src/patchsets/glibc/2.9/6120_all_ppc-glibc-2.9-atomic.patch
48.5 +
48.6 +-= BEGIN original header =-
48.7 +sniped from suse
48.8 +
48.9 +-= END original header =-
48.10 +
48.11 +diff -durN glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h glibc-2_9/sysdeps/powerpc/bits/atomic.h
48.12 +--- glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h 2007-03-26 22:15:28.000000000 +0200
48.13 ++++ glibc-2_9/sysdeps/powerpc/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100
48.14 +@@ -85,14 +85,14 @@
48.15 + __typeof (*(mem)) __tmp; \
48.16 + __typeof (mem) __memp = (mem); \
48.17 + __asm __volatile ( \
48.18 +- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
48.19 ++ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \
48.20 + " cmpw %0,%2\n" \
48.21 + " bne 2f\n" \
48.22 +- " stwcx. %3,0,%1\n" \
48.23 ++ " stwcx. %3,%y1\n" \
48.24 + " bne- 1b\n" \
48.25 + "2: " __ARCH_ACQ_INSTR \
48.26 +- : "=&r" (__tmp) \
48.27 +- : "b" (__memp), "r" (oldval), "r" (newval) \
48.28 ++ : "=&r" (__tmp), "+Z" (*__memp) \
48.29 ++ : "r" (oldval), "r" (newval) \
48.30 + : "cr0", "memory"); \
48.31 + __tmp; \
48.32 + })
48.33 +@@ -102,14 +102,14 @@
48.34 + __typeof (*(mem)) __tmp; \
48.35 + __typeof (mem) __memp = (mem); \
48.36 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.37 +- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \
48.38 ++ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \
48.39 + " cmpw %0,%2\n" \
48.40 + " bne 2f\n" \
48.41 +- " stwcx. %3,0,%1\n" \
48.42 ++ " stwcx. %3,%y1\n" \
48.43 + " bne- 1b\n" \
48.44 + "2: " \
48.45 +- : "=&r" (__tmp) \
48.46 +- : "b" (__memp), "r" (oldval), "r" (newval) \
48.47 ++ : "=&r" (__tmp), "+Z" (__memp) \
48.48 ++ : "r" (oldval), "r" (newval) \
48.49 + : "cr0", "memory"); \
48.50 + __tmp; \
48.51 + })
48.52 +@@ -118,12 +118,12 @@
48.53 + ({ \
48.54 + __typeof (*mem) __val; \
48.55 + __asm __volatile ( \
48.56 +- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \
48.57 +- " stwcx. %3,0,%2\n" \
48.58 ++ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \
48.59 ++ " stwcx. %2,%y1\n" \
48.60 + " bne- 1b\n" \
48.61 + " " __ARCH_ACQ_INSTR \
48.62 +- : "=&r" (__val), "=m" (*mem) \
48.63 +- : "b" (mem), "r" (value), "m" (*mem) \
48.64 ++ : "=&r" (__val), "+Z" (*mem) \
48.65 ++ : "r" (value) \
48.66 + : "cr0", "memory"); \
48.67 + __val; \
48.68 + })
48.69 +@@ -132,11 +132,11 @@
48.70 + ({ \
48.71 + __typeof (*mem) __val; \
48.72 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.73 +- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \
48.74 +- " stwcx. %3,0,%2\n" \
48.75 ++ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \
48.76 ++ " stwcx. %2,%y1\n" \
48.77 + " bne- 1b" \
48.78 +- : "=&r" (__val), "=m" (*mem) \
48.79 +- : "b" (mem), "r" (value), "m" (*mem) \
48.80 ++ : "=&r" (__val), "+Z" (*mem) \
48.81 ++ : "r" (value) \
48.82 + : "cr0", "memory"); \
48.83 + __val; \
48.84 + })
48.85 +@@ -144,12 +144,12 @@
48.86 + #define __arch_atomic_exchange_and_add_32(mem, value) \
48.87 + ({ \
48.88 + __typeof (*mem) __val, __tmp; \
48.89 +- __asm __volatile ("1: lwarx %0,0,%3\n" \
48.90 +- " add %1,%0,%4\n" \
48.91 +- " stwcx. %1,0,%3\n" \
48.92 ++ __asm __volatile ("1: lwarx %0,%y2\n" \
48.93 ++ " add %1,%0,%3\n" \
48.94 ++ " stwcx. %1,%y2\n" \
48.95 + " bne- 1b" \
48.96 +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
48.97 +- : "b" (mem), "r" (value), "m" (*mem) \
48.98 ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \
48.99 ++ : "r" (value) \
48.100 + : "cr0", "memory"); \
48.101 + __val; \
48.102 + })
48.103 +@@ -157,12 +157,12 @@
48.104 + #define __arch_atomic_increment_val_32(mem) \
48.105 + ({ \
48.106 + __typeof (*(mem)) __val; \
48.107 +- __asm __volatile ("1: lwarx %0,0,%2\n" \
48.108 ++ __asm __volatile ("1: lwarx %0,%y1\n" \
48.109 + " addi %0,%0,1\n" \
48.110 +- " stwcx. %0,0,%2\n" \
48.111 ++ " stwcx. %0,%y1\n" \
48.112 + " bne- 1b" \
48.113 +- : "=&b" (__val), "=m" (*mem) \
48.114 +- : "b" (mem), "m" (*mem) \
48.115 ++ : "=&b" (__val), "+Z" (*mem) \
48.116 ++ : \
48.117 + : "cr0", "memory"); \
48.118 + __val; \
48.119 + })
48.120 +@@ -170,27 +170,27 @@
48.121 + #define __arch_atomic_decrement_val_32(mem) \
48.122 + ({ \
48.123 + __typeof (*(mem)) __val; \
48.124 +- __asm __volatile ("1: lwarx %0,0,%2\n" \
48.125 ++ __asm __volatile ("1: lwarx %0,%y1\n" \
48.126 + " subi %0,%0,1\n" \
48.127 +- " stwcx. %0,0,%2\n" \
48.128 ++ " stwcx. %0,%y1\n" \
48.129 + " bne- 1b" \
48.130 +- : "=&b" (__val), "=m" (*mem) \
48.131 +- : "b" (mem), "m" (*mem) \
48.132 ++ : "=&b" (__val), "+Z" (*mem) \
48.133 ++ : \
48.134 + : "cr0", "memory"); \
48.135 + __val; \
48.136 + })
48.137 +
48.138 + #define __arch_atomic_decrement_if_positive_32(mem) \
48.139 + ({ int __val, __tmp; \
48.140 +- __asm __volatile ("1: lwarx %0,0,%3\n" \
48.141 ++ __asm __volatile ("1: lwarx %0,%y2\n" \
48.142 + " cmpwi 0,%0,0\n" \
48.143 + " addi %1,%0,-1\n" \
48.144 + " ble 2f\n" \
48.145 +- " stwcx. %1,0,%3\n" \
48.146 ++ " stwcx. %1,%y2\n" \
48.147 + " bne- 1b\n" \
48.148 + "2: " __ARCH_ACQ_INSTR \
48.149 +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
48.150 +- : "b" (mem), "m" (*mem) \
48.151 ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \
48.152 ++ : \
48.153 + : "cr0", "memory"); \
48.154 + __val; \
48.155 + })
48.156 +diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h
48.157 +--- glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h 2007-03-26 22:15:45.000000000 +0200
48.158 ++++ glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100
48.159 +@@ -44,14 +44,14 @@
48.160 + ({ \
48.161 + unsigned int __tmp; \
48.162 + __asm __volatile ( \
48.163 +- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
48.164 ++ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \
48.165 + " subf. %0,%2,%0\n" \
48.166 + " bne 2f\n" \
48.167 +- " stwcx. %3,0,%1\n" \
48.168 ++ " stwcx. %3,%y1\n" \
48.169 + " bne- 1b\n" \
48.170 + "2: " __ARCH_ACQ_INSTR \
48.171 +- : "=&r" (__tmp) \
48.172 +- : "b" (mem), "r" (oldval), "r" (newval) \
48.173 ++ : "=&r" (__tmp), "+Z" (*(mem)) \
48.174 ++ : "r" (oldval), "r" (newval) \
48.175 + : "cr0", "memory"); \
48.176 + __tmp != 0; \
48.177 + })
48.178 +@@ -60,14 +60,14 @@
48.179 + ({ \
48.180 + unsigned int __tmp; \
48.181 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.182 +- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \
48.183 ++ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \
48.184 + " subf. %0,%2,%0\n" \
48.185 + " bne 2f\n" \
48.186 +- " stwcx. %3,0,%1\n" \
48.187 ++ " stwcx. %3,%y1\n" \
48.188 + " bne- 1b\n" \
48.189 + "2: " \
48.190 +- : "=&r" (__tmp) \
48.191 +- : "b" (mem), "r" (oldval), "r" (newval) \
48.192 ++ : "=&r" (__tmp), "+Z" (*(mem)) \
48.193 ++ : "r" (oldval), "r" (newval) \
48.194 + : "cr0", "memory"); \
48.195 + __tmp != 0; \
48.196 + })
48.197 +diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h
48.198 +--- glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h 2007-03-26 22:16:03.000000000 +0200
48.199 ++++ glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100
48.200 +@@ -44,14 +44,14 @@
48.201 + ({ \
48.202 + unsigned int __tmp, __tmp2; \
48.203 + __asm __volatile (" clrldi %1,%1,32\n" \
48.204 +- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \
48.205 ++ "1: lwarx %0,%y2" MUTEX_HINT_ACQ "\n" \
48.206 + " subf. %0,%1,%0\n" \
48.207 + " bne 2f\n" \
48.208 +- " stwcx. %4,0,%2\n" \
48.209 ++ " stwcx. %4,%y2\n" \
48.210 + " bne- 1b\n" \
48.211 + "2: " __ARCH_ACQ_INSTR \
48.212 +- : "=&r" (__tmp), "=r" (__tmp2) \
48.213 +- : "b" (mem), "1" (oldval), "r" (newval) \
48.214 ++ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \
48.215 ++ : "1" (oldval), "r" (newval) \
48.216 + : "cr0", "memory"); \
48.217 + __tmp != 0; \
48.218 + })
48.219 +@@ -61,14 +61,14 @@
48.220 + unsigned int __tmp, __tmp2; \
48.221 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.222 + " clrldi %1,%1,32\n" \
48.223 +- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \
48.224 ++ "1: lwarx %0,%y2" MUTEX_HINT_REL "\n" \
48.225 + " subf. %0,%1,%0\n" \
48.226 + " bne 2f\n" \
48.227 +- " stwcx. %4,0,%2\n" \
48.228 ++ " stwcx. %4,%y2\n" \
48.229 + " bne- 1b\n" \
48.230 + "2: " \
48.231 +- : "=&r" (__tmp), "=r" (__tmp2) \
48.232 +- : "b" (mem), "1" (oldval), "r" (newval) \
48.233 ++ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \
48.234 ++ : "1" (oldval), "r" (newval) \
48.235 + : "cr0", "memory"); \
48.236 + __tmp != 0; \
48.237 + })
48.238 +@@ -82,14 +82,14 @@
48.239 + ({ \
48.240 + unsigned long __tmp; \
48.241 + __asm __volatile ( \
48.242 +- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
48.243 ++ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \
48.244 + " subf. %0,%2,%0\n" \
48.245 + " bne 2f\n" \
48.246 +- " stdcx. %3,0,%1\n" \
48.247 ++ " stdcx. %3,%y1\n" \
48.248 + " bne- 1b\n" \
48.249 + "2: " __ARCH_ACQ_INSTR \
48.250 +- : "=&r" (__tmp) \
48.251 +- : "b" (mem), "r" (oldval), "r" (newval) \
48.252 ++ : "=&r" (__tmp), "+Z" (*(mem)) \
48.253 ++ : "r" (oldval), "r" (newval) \
48.254 + : "cr0", "memory"); \
48.255 + __tmp != 0; \
48.256 + })
48.257 +@@ -98,14 +98,14 @@
48.258 + ({ \
48.259 + unsigned long __tmp; \
48.260 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.261 +- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \
48.262 ++ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \
48.263 + " subf. %0,%2,%0\n" \
48.264 + " bne 2f\n" \
48.265 +- " stdcx. %3,0,%1\n" \
48.266 ++ " stdcx. %3,%y1\n" \
48.267 + " bne- 1b\n" \
48.268 + "2: " \
48.269 +- : "=&r" (__tmp) \
48.270 +- : "b" (mem), "r" (oldval), "r" (newval) \
48.271 ++ : "=&r" (__tmp), "+Z" (*(mem)) \
48.272 ++ : "r" (oldval), "r" (newval) \
48.273 + : "cr0", "memory"); \
48.274 + __tmp != 0; \
48.275 + })
48.276 +@@ -115,14 +115,14 @@
48.277 + __typeof (*(mem)) __tmp; \
48.278 + __typeof (mem) __memp = (mem); \
48.279 + __asm __volatile ( \
48.280 +- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
48.281 ++ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \
48.282 + " cmpd %0,%2\n" \
48.283 + " bne 2f\n" \
48.284 +- " stdcx. %3,0,%1\n" \
48.285 ++ " stdcx. %3,%y1\n" \
48.286 + " bne- 1b\n" \
48.287 + "2: " __ARCH_ACQ_INSTR \
48.288 +- : "=&r" (__tmp) \
48.289 +- : "b" (__memp), "r" (oldval), "r" (newval) \
48.290 ++ : "=&r" (__tmp), "+Z" (*__memp) \
48.291 ++ : "r" (oldval), "r" (newval) \
48.292 + : "cr0", "memory"); \
48.293 + __tmp; \
48.294 + })
48.295 +@@ -132,14 +132,14 @@
48.296 + __typeof (*(mem)) __tmp; \
48.297 + __typeof (mem) __memp = (mem); \
48.298 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.299 +- "1: ldarx %0,0,%1" MUTEX_HINT_REL "\n" \
48.300 ++ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \
48.301 + " cmpd %0,%2\n" \
48.302 + " bne 2f\n" \
48.303 +- " stdcx. %3,0,%1\n" \
48.304 ++ " stdcx. %3,%y1\n" \
48.305 + " bne- 1b\n" \
48.306 + "2: " \
48.307 +- : "=&r" (__tmp) \
48.308 +- : "b" (__memp), "r" (oldval), "r" (newval) \
48.309 ++ : "=&r" (__tmp), "+Z" (*__memp) \
48.310 ++ : "r" (oldval), "r" (newval) \
48.311 + : "cr0", "memory"); \
48.312 + __tmp; \
48.313 + })
48.314 +@@ -148,12 +148,12 @@
48.315 + ({ \
48.316 + __typeof (*mem) __val; \
48.317 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.318 +- "1: ldarx %0,0,%2" MUTEX_HINT_ACQ "\n" \
48.319 +- " stdcx. %3,0,%2\n" \
48.320 ++ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \
48.321 ++ " stdcx. %2,%y1\n" \
48.322 + " bne- 1b\n" \
48.323 + " " __ARCH_ACQ_INSTR \
48.324 +- : "=&r" (__val), "=m" (*mem) \
48.325 +- : "b" (mem), "r" (value), "m" (*mem) \
48.326 ++ : "=&r" (__val), "+Z" (*(mem)) \
48.327 ++ : "r" (value) \
48.328 + : "cr0", "memory"); \
48.329 + __val; \
48.330 + })
48.331 +@@ -162,11 +162,11 @@
48.332 + ({ \
48.333 + __typeof (*mem) __val; \
48.334 + __asm __volatile (__ARCH_REL_INSTR "\n" \
48.335 +- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \
48.336 +- " stdcx. %3,0,%2\n" \
48.337 ++ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \
48.338 ++ " stdcx. %2,%y1\n" \
48.339 + " bne- 1b" \
48.340 +- : "=&r" (__val), "=m" (*mem) \
48.341 +- : "b" (mem), "r" (value), "m" (*mem) \
48.342 ++ : "=&r" (__val), "+Z" (*(mem)) \
48.343 ++ : "r" (value) \
48.344 + : "cr0", "memory"); \
48.345 + __val; \
48.346 + })
48.347 +@@ -174,12 +174,12 @@
48.348 + #define __arch_atomic_exchange_and_add_64(mem, value) \
48.349 + ({ \
48.350 + __typeof (*mem) __val, __tmp; \
48.351 +- __asm __volatile ("1: ldarx %0,0,%3\n" \
48.352 +- " add %1,%0,%4\n" \
48.353 +- " stdcx. %1,0,%3\n" \
48.354 ++ __asm __volatile ("1: ldarx %0,%y2\n" \
48.355 ++ " add %1,%0,%3\n" \
48.356 ++ " stdcx. %1,%y2\n" \
48.357 + " bne- 1b" \
48.358 +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
48.359 +- : "b" (mem), "r" (value), "m" (*mem) \
48.360 ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \
48.361 ++ : "r" (value) \
48.362 + : "cr0", "memory"); \
48.363 + __val; \
48.364 + })
48.365 +@@ -187,12 +187,12 @@
48.366 + #define __arch_atomic_increment_val_64(mem) \
48.367 + ({ \
48.368 + __typeof (*(mem)) __val; \
48.369 +- __asm __volatile ("1: ldarx %0,0,%2\n" \
48.370 ++ __asm __volatile ("1: ldarx %0,%y1\n" \
48.371 + " addi %0,%0,1\n" \
48.372 +- " stdcx. %0,0,%2\n" \
48.373 ++ " stdcx. %0,%y1\n" \
48.374 + " bne- 1b" \
48.375 +- : "=&b" (__val), "=m" (*mem) \
48.376 +- : "b" (mem), "m" (*mem) \
48.377 ++ : "=&b" (__val), "+Z" (*(mem)) \
48.378 ++ : \
48.379 + : "cr0", "memory"); \
48.380 + __val; \
48.381 + })
48.382 +@@ -200,27 +200,27 @@
48.383 + #define __arch_atomic_decrement_val_64(mem) \
48.384 + ({ \
48.385 + __typeof (*(mem)) __val; \
48.386 +- __asm __volatile ("1: ldarx %0,0,%2\n" \
48.387 ++ __asm __volatile ("1: ldarx %0,%y1\n" \
48.388 + " subi %0,%0,1\n" \
48.389 +- " stdcx. %0,0,%2\n" \
48.390 ++ " stdcx. %0,%y1\n" \
48.391 + " bne- 1b" \
48.392 +- : "=&b" (__val), "=m" (*mem) \
48.393 +- : "b" (mem), "m" (*mem) \
48.394 ++ : "=&b" (__val), "+Z" (*(mem)) \
48.395 ++ : \
48.396 + : "cr0", "memory"); \
48.397 + __val; \
48.398 + })
48.399 +
48.400 + #define __arch_atomic_decrement_if_positive_64(mem) \
48.401 + ({ int __val, __tmp; \
48.402 +- __asm __volatile ("1: ldarx %0,0,%3\n" \
48.403 ++ __asm __volatile ("1: ldarx %0,%y2\n" \
48.404 + " cmpdi 0,%0,0\n" \
48.405 + " addi %1,%0,-1\n" \
48.406 + " ble 2f\n" \
48.407 +- " stdcx. %1,0,%3\n" \
48.408 ++ " stdcx. %1,%y2\n" \
48.409 + " bne- 1b\n" \
48.410 + "2: " __ARCH_ACQ_INSTR \
48.411 +- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
48.412 +- : "b" (mem), "m" (*mem) \
48.413 ++ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \
48.414 ++ : \
48.415 + : "cr0", "memory"); \
48.416 + __val; \
48.417 + })
49.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
49.2 +++ b/patches/glibc/2.9/510-sh-no-asm-user-header.patch Sun Apr 19 16:17:11 2009 +0000
49.3 @@ -0,0 +1,70 @@
49.4 +2007-03-13 Mike Frysinger <vapier@gentoo.org>
49.5 +
49.6 + * sysdeps/unix/sysv/linux/sh/sys/user.h: Copy Linux's asm-sh/user.h.
49.7 +
49.8 +--- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h
49.9 ++++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h
49.10 +@@ -19,10 +19,60 @@
49.11 + #ifndef _SYS_USER_H
49.12 + #define _SYS_USER_H 1
49.13 +
49.14 +-#include <features.h>
49.15 ++#include <unistd.h>
49.16 ++#include <asm/ptrace.h>
49.17 +
49.18 +-#include <asm/user.h>
49.19 ++/*
49.20 ++ * Core file format: The core file is written in such a way that gdb
49.21 ++ * can understand it and provide useful information to the user (under
49.22 ++ * linux we use the `trad-core' bfd). The file contents are as follows:
49.23 ++ *
49.24 ++ * upage: 1 page consisting of a user struct that tells gdb
49.25 ++ * what is present in the file. Directly after this is a
49.26 ++ * copy of the task_struct, which is currently not used by gdb,
49.27 ++ * but it may come in handy at some point. All of the registers
49.28 ++ * are stored as part of the upage. The upage should always be
49.29 ++ * only one page long.
49.30 ++ * data: The data segment follows next. We use current->end_text to
49.31 ++ * current->brk to pick up all of the user variables, plus any memory
49.32 ++ * that may have been sbrk'ed. No attempt is made to determine if a
49.33 ++ * page is demand-zero or if a page is totally unused, we just cover
49.34 ++ * the entire range. All of the addresses are rounded in such a way
49.35 ++ * that an integral number of pages is written.
49.36 ++ * stack: We need the stack information in order to get a meaningful
49.37 ++ * backtrace. We need to write the data from usp to
49.38 ++ * current->start_stack, so we round each of these in order to be able
49.39 ++ * to write an integer number of pages.
49.40 ++ */
49.41 +
49.42 +-#undef start_thread
49.43 ++struct user_fpu_struct {
49.44 ++ unsigned long fp_regs[16];
49.45 ++ unsigned long xfp_regs[16];
49.46 ++ unsigned long fpscr;
49.47 ++ unsigned long fpul;
49.48 ++};
49.49 ++
49.50 ++struct user {
49.51 ++ struct pt_regs regs; /* entire machine state */
49.52 ++ struct user_fpu_struct fpu; /* Math Co-processor registers */
49.53 ++ int u_fpvalid; /* True if math co-processor being used */
49.54 ++ size_t u_tsize; /* text size (pages) */
49.55 ++ size_t u_dsize; /* data size (pages) */
49.56 ++ size_t u_ssize; /* stack size (pages) */
49.57 ++ unsigned long start_code; /* text starting address */
49.58 ++ unsigned long start_data; /* data starting address */
49.59 ++ unsigned long start_stack; /* stack starting address */
49.60 ++ long int signal; /* signal causing core dump */
49.61 ++ struct regs * u_ar0; /* help gdb find registers */
49.62 ++ struct user_fpu_struct* u_fpstate; /* Math Co-processor pointer */
49.63 ++ unsigned long magic; /* identifies a core file */
49.64 ++ char u_comm[32]; /* user command name */
49.65 ++};
49.66 ++
49.67 ++#define NBPG getpagesize()
49.68 ++#define UPAGES 1
49.69 ++#define HOST_TEXT_START_ADDR (u.start_code)
49.70 ++#define HOST_DATA_START_ADDR (u.start_data)
49.71 ++#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
49.72 +
49.73 + #endif /* sys/user.h */
50.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
50.2 +++ b/patches/glibc/2.9/520-sh-no-asm-elf-header.patch Sun Apr 19 16:17:11 2009 +0000
50.3 @@ -0,0 +1,27 @@
50.4 +2007-03-13 Mike Frysinger <vapier@gentoo.org>
50.5 +
50.6 + * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Copy Linux's asm-sh/elf.h types.
50.7 +
50.8 +--- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h
50.9 ++++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h
50.10 +@@ -29,10 +29,19 @@
50.11 + #include <sys/types.h>
50.12 + #include <sys/ucontext.h>
50.13 + #include <sys/user.h>
50.14 +-#include <asm/elf.h>
50.15 +
50.16 + __BEGIN_DECLS
50.17 +
50.18 ++/*
50.19 ++ * ELF register definitions...
50.20 ++ */
50.21 ++typedef unsigned long elf_greg_t;
50.22 ++
50.23 ++#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
50.24 ++typedef elf_greg_t elf_gregset_t[ELF_NGREG];
50.25 ++
50.26 ++typedef struct user_fpu_struct elf_fpregset_t;
50.27 ++
50.28 + struct elf_siginfo
50.29 + {
50.30 + int si_signo; /* Signal number. */
51.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
51.2 +++ b/patches/glibc/2.9/530-powerpc-8xx-CPU15-errata.patch Sun Apr 19 16:17:11 2009 +0000
51.3 @@ -0,0 +1,56 @@
51.4 +Fix memset on PowerPC 8xx, by Nye Liu:
51.5 +http://sourceware.org/ml/crossgcc/2008-10/msg00067.html
51.6 +
51.7 +Quote:
51.8 + I am working on a powerpc 860 toolchain, but I am having problems
51.9 + convincing glibc to not emit code that uses the dcbz instruction (CPU15
51.10 + dcbX bug). The source of the problem is sysdeps/powerpc/power3/memset.S
51.11 +
51.12 +--- glibc-2.7/sysdeps/powerpc/powerpc32/memset.S 2007-03-26 13:09:07.000000000 -0700
51.13 ++++ glibc-2.7/sysdeps/powerpc/powerpc32/memset.S.new 2008-10-23 20:28:52.000000000 -0700
51.14 +@@ -112,11 +112,13 @@
51.15 + clrrwi. rALIGN, rLEN, 5
51.16 + mtcrf 0x01, rLEN /* 40th instruction from .align */
51.17 +
51.18 ++#ifndef BROKEN_PPC_8xx_CPU15
51.19 + /* Check if we can use the special case for clearing memory using dcbz.
51.20 + This requires that we know the correct cache line size for this
51.21 + processor. Getting the __cache_line_size may require establishing GOT
51.22 + addressability, so branch out of line to set this up. */
51.23 + beq cr1, L(checklinesize)
51.24 ++#endif
51.25 +
51.26 + /* Store blocks of 32-bytes (256-bits) starting on a 32-byte boundary.
51.27 + Can't assume that rCHR is zero or that the cache line size is either
51.28 +@@ -158,6 +160,7 @@
51.29 + add rMEMP, rMEMP, rALIGN
51.30 + b L(medium_tail2) /* 72nd instruction from .align */
51.31 +
51.32 ++#ifndef BROKEN_PPC_8xx_CPU15
51.33 + .align 5
51.34 + nop
51.35 + /* Clear cache lines of memory in 128-byte chunks.
51.36 +@@ -191,6 +194,7 @@
51.37 + bdnz L(zloop)
51.38 + beqlr cr5
51.39 + b L(medium_tail2)
51.40 ++#endif /* ! BROKEN_PPC_8xx_CPU15 */
51.41 +
51.42 + .align 5
51.43 + L(small):
51.44 +@@ -248,6 +252,7 @@
51.45 + stw rCHR, -8(rMEMP)
51.46 + blr
51.47 +
51.48 ++#ifndef BROKEN_PPC_8xx_CPU15
51.49 + L(checklinesize):
51.50 + #ifdef SHARED
51.51 + mflr rTMP
51.52 +@@ -329,6 +334,7 @@
51.53 + L(handletail32):
51.54 + clrrwi. rALIGN, rLEN, 5
51.55 + b L(nondcbz)
51.56 ++#endif /* ! BROKEN_PPC_8xx_CPU15 */
51.57 +
51.58 + END (BP_SYM (memset))
51.59 + libc_hidden_builtin_def (memset)
52.1 --- a/patches/glibc/2_9/100-ssp-compat.patch Sat Apr 11 19:03:02 2009 +0000
52.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
52.3 @@ -1,193 +0,0 @@
52.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0010_all_glibc-2.7-ssp-compat.patch
52.5 -
52.6 --= BEGIN original header =-
52.7 -Add backwards compat support for gcc-3.x ssp ... older ssp versions
52.8 -used __guard and __stack_smash_handler symbols while gcc-4.1 and newer
52.9 -uses __stack_chk_guard and __stack_chk_fail.
52.10 -
52.11 --= END original header =-
52.12 -
52.13 -diff -durN glibc-2_9.orig/Versions.def glibc-2_9/Versions.def
52.14 ---- glibc-2_9.orig/Versions.def 2008-08-01 19:13:40.000000000 +0200
52.15 -+++ glibc-2_9/Versions.def 2009-02-02 22:00:33.000000000 +0100
52.16 -@@ -113,6 +113,9 @@
52.17 - GLIBC_2.0
52.18 - GLIBC_2.1
52.19 - GLIBC_2.3
52.20 -+%ifdef ENABLE_OLD_SSP_COMPAT
52.21 -+ GLIBC_2.3.2
52.22 -+%endif
52.23 - GLIBC_2.4
52.24 - GLIBC_PRIVATE
52.25 - }
52.26 -diff -durN glibc-2_9.orig/config.h.in glibc-2_9/config.h.in
52.27 ---- glibc-2_9.orig/config.h.in 2007-03-26 22:40:08.000000000 +0200
52.28 -+++ glibc-2_9/config.h.in 2009-02-02 22:00:32.000000000 +0100
52.29 -@@ -42,6 +42,9 @@
52.30 - assembler instructions per line. Default is `;' */
52.31 - #undef ASM_LINE_SEP
52.32 -
52.33 -+/* Define if we want to enable support for old ssp symbols */
52.34 -+#undef ENABLE_OLD_SSP_COMPAT
52.35 -+
52.36 - /* Define if not using ELF, but `.init' and `.fini' sections are available. */
52.37 - #undef HAVE_INITFINI
52.38 -
52.39 -diff -durN glibc-2_9.orig/configure glibc-2_9/configure
52.40 ---- glibc-2_9.orig/configure 2008-11-11 10:50:11.000000000 +0100
52.41 -+++ glibc-2_9/configure 2009-02-02 22:00:32.000000000 +0100
52.42 -@@ -1380,6 +1380,9 @@
52.43 - --enable-kernel=VERSION compile for compatibility with kernel not older than
52.44 - VERSION
52.45 - --enable-all-warnings enable all useful warnings gcc can issue
52.46 -+ --disable-old-ssp-compat
52.47 -+ enable support for older ssp symbols
52.48 -+ [default=no]
52.49 -
52.50 - Optional Packages:
52.51 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
52.52 -@@ -6470,6 +6473,20 @@
52.53 - echo "${ECHO_T}$libc_cv_ssp" >&6; }
52.54 -
52.55 -
52.56 -+# Check whether --enable-old-ssp-compat or --disable-old-ssp-compat was given.
52.57 -+if test "${enable_old_ssp_compat+set}" = set; then
52.58 -+ enableval="$enable_old_ssp_compat"
52.59 -+ enable_old_ssp_compat=$enableval
52.60 -+else
52.61 -+ enable_old_ssp_compat=no
52.62 -+fi;
52.63 -+if test "x$enable_old_ssp_compat" = "xyes"; then
52.64 -+ cat >>confdefs.h <<\_ACEOF
52.65 -+#define ENABLE_OLD_SSP_COMPAT 1
52.66 -+_ACEOF
52.67 -+
52.68 -+fi
52.69 -+
52.70 - { echo "$as_me:$LINENO: checking for -fgnu89-inline" >&5
52.71 - echo $ECHO_N "checking for -fgnu89-inline... $ECHO_C" >&6; }
52.72 - if test "${libc_cv_gnu89_inline+set}" = set; then
52.73 -diff -durN glibc-2_9.orig/configure.in glibc-2_9/configure.in
52.74 ---- glibc-2_9.orig/configure.in 2008-11-11 10:50:11.000000000 +0100
52.75 -+++ glibc-2_9/configure.in 2009-02-02 22:00:32.000000000 +0100
52.76 -@@ -1647,6 +1647,15 @@
52.77 - rm -f conftest*])
52.78 - AC_SUBST(libc_cv_ssp)
52.79 -
52.80 -+AC_ARG_ENABLE([old-ssp-compat],
52.81 -+ AC_HELP_STRING([--enable-old-ssp-compat],
52.82 -+ [enable support for older ssp symbols @<:@default=no@:>@]),
52.83 -+ [enable_old_ssp_compat=$enableval],
52.84 -+ [enable_old_ssp_compat=no])
52.85 -+if test "x$enable_old_ssp_compat" = "xyes"; then
52.86 -+ AC_DEFINE(ENABLE_OLD_SSP_COMPAT)
52.87 -+fi
52.88 -+
52.89 - AC_CACHE_CHECK(for -fgnu89-inline, libc_cv_gnu89_inline, [dnl
52.90 - cat > conftest.c <<EOF
52.91 - int foo;
52.92 -diff -durN glibc-2_9.orig/csu/Versions glibc-2_9/csu/Versions
52.93 ---- glibc-2_9.orig/csu/Versions 2006-10-28 01:11:41.000000000 +0200
52.94 -+++ glibc-2_9/csu/Versions 2009-02-02 22:00:32.000000000 +0100
52.95 -@@ -17,6 +17,12 @@
52.96 - # New special glibc functions.
52.97 - gnu_get_libc_release; gnu_get_libc_version;
52.98 - }
52.99 -+ GLIBC_2.3.2 {
52.100 -+%ifdef ENABLE_OLD_SSP_COMPAT
52.101 -+ # global objects and functions for the old propolice patch in gcc
52.102 -+ __guard;
52.103 -+%endif
52.104 -+ }
52.105 - GLIBC_PRIVATE {
52.106 - %if HAVE___THREAD
52.107 - # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
52.108 -diff -durN glibc-2_9.orig/csu/libc-start.c glibc-2_9/csu/libc-start.c
52.109 ---- glibc-2_9.orig/csu/libc-start.c 2007-08-21 00:27:50.000000000 +0200
52.110 -+++ glibc-2_9/csu/libc-start.c 2009-02-02 22:00:32.000000000 +0100
52.111 -@@ -37,6 +37,9 @@
52.112 - uintptr_t __stack_chk_guard attribute_relro;
52.113 - # endif
52.114 - #endif
52.115 -+#ifdef ENABLE_OLD_SSP_COMPAT
52.116 -+uintptr_t __guard attribute_relro;
52.117 -+#endif
52.118 -
52.119 - #ifdef HAVE_PTR_NTHREADS
52.120 - /* We need atomic operations. */
52.121 -@@ -141,6 +144,9 @@
52.122 -
52.123 - /* Set up the stack checker's canary. */
52.124 - uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard ();
52.125 -+#ifdef ENABLE_OLD_SSP_COMPAT
52.126 -+ __guard = stack_chk_guard;
52.127 -+#endif
52.128 - # ifdef THREAD_SET_STACK_GUARD
52.129 - THREAD_SET_STACK_GUARD (stack_chk_guard);
52.130 - # else
52.131 -diff -durN glibc-2_9.orig/debug/Versions glibc-2_9/debug/Versions
52.132 ---- glibc-2_9.orig/debug/Versions 2008-03-05 07:53:41.000000000 +0100
52.133 -+++ glibc-2_9/debug/Versions 2009-02-02 22:00:32.000000000 +0100
52.134 -@@ -10,6 +10,12 @@
52.135 - # These are to support some gcc features.
52.136 - __cyg_profile_func_enter; __cyg_profile_func_exit;
52.137 - }
52.138 -+%ifdef ENABLE_OLD_SSP_COMPAT
52.139 -+ GLIBC_2.3.2 {
52.140 -+ # backwards ssp compat support; alias to __stack_chk_fail
52.141 -+ __stack_smash_handler;
52.142 -+ }
52.143 -+%endif
52.144 - GLIBC_2.3.4 {
52.145 - __chk_fail;
52.146 - __memcpy_chk; __memmove_chk; __mempcpy_chk; __memset_chk; __stpcpy_chk;
52.147 -diff -durN glibc-2_9.orig/debug/stack_chk_fail.c glibc-2_9/debug/stack_chk_fail.c
52.148 ---- glibc-2_9.orig/debug/stack_chk_fail.c 2007-05-25 01:47:08.000000000 +0200
52.149 -+++ glibc-2_9/debug/stack_chk_fail.c 2009-02-02 22:00:32.000000000 +0100
52.150 -@@ -28,3 +28,7 @@
52.151 - {
52.152 - __fortify_fail ("stack smashing detected");
52.153 - }
52.154 -+
52.155 -+#ifdef ENABLE_OLD_SSP_COMPAT
52.156 -+strong_alias (__stack_chk_fail, __stack_smash_handler)
52.157 -+#endif
52.158 -diff -durN glibc-2_9.orig/elf/Versions glibc-2_9/elf/Versions
52.159 ---- glibc-2_9.orig/elf/Versions 2008-03-08 06:42:26.000000000 +0100
52.160 -+++ glibc-2_9/elf/Versions 2009-02-02 22:00:33.000000000 +0100
52.161 -@@ -43,6 +43,12 @@
52.162 - # runtime interface to TLS
52.163 - __tls_get_addr;
52.164 - }
52.165 -+%ifdef ENABLE_OLD_SSP_COMPAT
52.166 -+ GLIBC_2.3.2 {
52.167 -+ # backwards ssp compat support
52.168 -+ __guard;
52.169 -+ }
52.170 -+%endif
52.171 - GLIBC_2.4 {
52.172 - # stack canary
52.173 - __stack_chk_guard;
52.174 -diff -durN glibc-2_9.orig/elf/rtld.c glibc-2_9/elf/rtld.c
52.175 ---- glibc-2_9.orig/elf/rtld.c 2008-08-14 19:01:56.000000000 +0200
52.176 -+++ glibc-2_9/elf/rtld.c 2009-02-02 22:00:32.000000000 +0100
52.177 -@@ -89,6 +89,9 @@
52.178 - in thread local area. */
52.179 - uintptr_t __stack_chk_guard attribute_relro;
52.180 - #endif
52.181 -+#ifdef ENABLE_OLD_SSP_COMPAT
52.182 -+uintptr_t __guard attribute_relro;
52.183 -+#endif
52.184 -
52.185 - /* Only exported for architectures that don't store the pointer guard
52.186 - value in thread local area. */
52.187 -@@ -842,6 +845,9 @@
52.188 - {
52.189 - /* Set up the stack checker's canary. */
52.190 - uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard ();
52.191 -+#ifdef ENABLE_OLD_SSP_COMPAT
52.192 -+ __guard = stack_chk_guard;
52.193 -+#endif
52.194 - #ifdef THREAD_SET_STACK_GUARD
52.195 - THREAD_SET_STACK_GUARD (stack_chk_guard);
52.196 - #else
53.1 --- a/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch Sat Apr 11 19:03:02 2009 +0000
53.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
53.3 @@ -1,30 +0,0 @@
53.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0030_all_glibc-respect-env-CPPFLAGS.patch
53.5 -
53.6 --= BEGIN original header =-
53.7 -Respect environment CPPFLAGS when we run ./configure so we can inject
53.8 -random -D things without having to set CFLAGS/ASFLAGS
53.9 -
53.10 --= END original header =-
53.11 -
53.12 -diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig
53.13 ---- glibc-2_9.orig/Makeconfig 2008-08-18 11:42:17.000000000 +0200
53.14 -+++ glibc-2_9/Makeconfig 2009-02-02 22:00:35.000000000 +0100
53.15 -@@ -673,6 +673,7 @@
53.16 - $(foreach lib,$(libof-$(basename $(@F))) \
53.17 - $(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \
53.18 - $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F)))
53.19 -+CPPFLAGS += $(CPPFLAGS-config)
53.20 - override CFLAGS = -std=gnu99 $(gnu89-inline-CFLAGS) \
53.21 - $(filter-out %frame-pointer,$(+cflags)) $(+gccwarn-c) \
53.22 - $(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) \
53.23 -diff -durN glibc-2_9.orig/config.make.in glibc-2_9/config.make.in
53.24 ---- glibc-2_9.orig/config.make.in 2008-08-18 11:42:17.000000000 +0200
53.25 -+++ glibc-2_9/config.make.in 2009-02-02 22:00:35.000000000 +0100
53.26 -@@ -97,6 +97,7 @@
53.27 - CXX = @CXX@
53.28 - BUILD_CC = @BUILD_CC@
53.29 - CFLAGS = @CFLAGS@
53.30 -+CPPFLAGS-config = @CPPFLAGS@
53.31 - ASFLAGS-config = @ASFLAGS_config@
53.32 - AR = @AR@
53.33 - RANLIB = @RANLIB@
54.1 --- a/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch Sat Apr 11 19:03:02 2009 +0000
54.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
54.3 @@ -1,35 +0,0 @@
54.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0050_all_glibc-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch
54.5 -
54.6 --= BEGIN original header =-
54.7 -http://sourceware.org/ml/libc-alpha/2009-01/msg00000.html
54.8 -
54.9 -From 8ad7030880eaa18dcabf8e284e79026301fd3fa4 Mon Sep 17 00:00:00 2001
54.10 -From: Ulrich Drepper <drepper@redhat.com>
54.11 -Date: Thu, 8 Jan 2009 00:02:38 +0000
54.12 -Subject: [PATCH] (_nss_dns_gethostbyaddr2_r): Check and adjust the buffer alignment.
54.13 -
54.14 --= END original header =-
54.15 -
54.16 -diff -durN glibc-2_9.orig/resolv/nss_dns/dns-host.c glibc-2_9/resolv/nss_dns/dns-host.c
54.17 ---- glibc-2_9.orig/resolv/nss_dns/dns-host.c 2008-11-12 08:52:20.000000000 +0100
54.18 -+++ glibc-2_9/resolv/nss_dns/dns-host.c 2009-02-02 22:00:36.000000000 +0100
54.19 -@@ -364,6 +364,19 @@
54.20 - int n, status;
54.21 - int olderr = errno;
54.22 -
54.23 -+ uintptr_t pad = -(uintptr_t) buffer % __alignof__ (struct host_data);
54.24 -+ buffer += pad;
54.25 -+ buflen = buflen > pad ? buflen - pad : 0;
54.26 -+
54.27 -+ if (__builtin_expect (buflen < sizeof (struct host_data), 0))
54.28 -+ {
54.29 -+ *errnop = ERANGE;
54.30 -+ *h_errnop = NETDB_INTERNAL;
54.31 -+ return NSS_STATUS_TRYAGAIN;
54.32 -+ }
54.33 -+
54.34 -+ host_data = (struct host_data *) buffer;
54.35 -+
54.36 - if (__res_maybe_init (&_res, 0) == -1)
54.37 - return NSS_STATUS_UNAVAIL;
54.38 -
55.1 --- a/patches/glibc/2_9/130-add_prio-macros.patch Sat Apr 11 19:03:02 2009 +0000
55.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
55.3 @@ -1,26 +0,0 @@
55.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0051_all_glibc-2.9-add_prio-macros.patch
55.5 -
55.6 --= BEGIN original header =-
55.7 -http://sourceware.org/ml/libc-alpha/2009-01/msg00003.html
55.8 -
55.9 -From a1737958e074e8f990760acc8abeb0c23715a859 Mon Sep 17 00:00:00 2001
55.10 -From: Roland McGrath <roland@gnu.org>
55.11 -Date: Sat, 3 Jan 2009 21:04:01 +0000
55.12 -Subject: [PATCH] 2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
55.13 -
55.14 - * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
55.15 --= END original header =-
55.16 -
55.17 -diff -durN glibc-2_9.orig/bits/resource.h glibc-2_9/bits/resource.h
55.18 ---- glibc-2_9.orig/bits/resource.h 2006-03-05 23:48:10.000000000 +0100
55.19 -+++ glibc-2_9/bits/resource.h 2009-02-02 22:00:38.000000000 +0100
55.20 -@@ -185,6 +185,9 @@
55.21 - enum __priority_which
55.22 - {
55.23 - PRIO_PROCESS = 0, /* WHO is a process ID. */
55.24 -+#define PRIO_PROCESS PRIO_PROCESS
55.25 - PRIO_PGRP = 1, /* WHO is a process group ID. */
55.26 -+#define PRIO_PGRP PRIO_PGRP
55.27 - PRIO_USER = 2 /* WHO is a user ID. */
55.28 -+#define PRIO_USER PRIO_USER
55.29 - };
56.1 --- a/patches/glibc/2_9/140-regex-BZ9697.patch Sat Apr 11 19:03:02 2009 +0000
56.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
56.3 @@ -1,111 +0,0 @@
56.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0052_all_glibc-2.9-regex-BZ9697.patch
56.5 -
56.6 --= BEGIN original header =-
56.7 -http://sourceware.org/ml/libc-alpha/2009-01/msg00005.html
56.8 -
56.9 -From ea8ca0dfcbf2721bcf2c08ce3c01d5764b827572 Mon Sep 17 00:00:00 2001
56.10 -From: Ulrich Drepper <drepper@redhat.com>
56.11 -Date: Thu, 8 Jan 2009 00:42:28 +0000
56.12 -Subject: [PATCH] (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET handling.
56.13 -
56.14 --= END original header =-
56.15 -
56.16 -diff -durN glibc-2_9.orig/posix/regcomp.c glibc-2_9/posix/regcomp.c
56.17 ---- glibc-2_9.orig/posix/regcomp.c 2008-05-15 05:07:21.000000000 +0200
56.18 -+++ glibc-2_9/posix/regcomp.c 2009-02-02 22:00:41.000000000 +0100
56.19 -@@ -350,47 +350,67 @@
56.20 - #ifdef RE_ENABLE_I18N
56.21 - else if (type == COMPLEX_BRACKET)
56.22 - {
56.23 -- int i;
56.24 - re_charset_t *cset = dfa->nodes[node].opr.mbcset;
56.25 -- if (cset->non_match || cset->ncoll_syms || cset->nequiv_classes
56.26 -- || cset->nranges || cset->nchar_classes)
56.27 -- {
56.28 -+ int i;
56.29 -+
56.30 - # ifdef _LIBC
56.31 -- if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0)
56.32 -+ /* See if we have to try all bytes which start multiple collation
56.33 -+ elements.
56.34 -+ e.g. In da_DK, we want to catch 'a' since "aa" is a valid
56.35 -+ collation element, and don't catch 'b' since 'b' is
56.36 -+ the only collation element which starts from 'b' (and
56.37 -+ it is caught by SIMPLE_BRACKET). */
56.38 -+ if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0
56.39 -+ && (cset->ncoll_syms || cset->nranges))
56.40 - {
56.41 -- /* In this case we want to catch the bytes which are
56.42 -- the first byte of any collation elements.
56.43 -- e.g. In da_DK, we want to catch 'a' since "aa"
56.44 -- is a valid collation element, and don't catch
56.45 -- 'b' since 'b' is the only collation element
56.46 -- which starts from 'b'. */
56.47 - const int32_t *table = (const int32_t *)
56.48 - _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB);
56.49 - for (i = 0; i < SBC_MAX; ++i)
56.50 - if (table[i] < 0)
56.51 - re_set_fastmap (fastmap, icase, i);
56.52 - }
56.53 --# else
56.54 -- if (dfa->mb_cur_max > 1)
56.55 -- for (i = 0; i < SBC_MAX; ++i)
56.56 -- if (__btowc (i) == WEOF)
56.57 -- re_set_fastmap (fastmap, icase, i);
56.58 --# endif /* not _LIBC */
56.59 -- }
56.60 -- for (i = 0; i < cset->nmbchars; ++i)
56.61 -+# endif /* _LIBC */
56.62 -+
56.63 -+ /* See if we have to start the match at all multibyte characters,
56.64 -+ i.e. where we would not find an invalid sequence. This only
56.65 -+ applies to multibyte character sets; for single byte character
56.66 -+ sets, the SIMPLE_BRACKET again suffices. */
56.67 -+ if (dfa->mb_cur_max > 1
56.68 -+ && (cset->nchar_classes || cset->non_match
56.69 -+# ifdef _LIBC
56.70 -+ || cset->nequiv_classes
56.71 -+# endif /* _LIBC */
56.72 -+ ))
56.73 - {
56.74 -- char buf[256];
56.75 -- mbstate_t state;
56.76 -- memset (&state, '\0', sizeof (state));
56.77 -- if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1)
56.78 -- re_set_fastmap (fastmap, icase, *(unsigned char *) buf);
56.79 -- if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
56.80 -+ unsigned char c = 0;
56.81 -+ do
56.82 - {
56.83 -- if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state)
56.84 -- != (size_t) -1)
56.85 -- re_set_fastmap (fastmap, 0, *(unsigned char *) buf);
56.86 -+ mbstate_t mbs;
56.87 -+ memset (&mbs, 0, sizeof (mbs));
56.88 -+ if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2)
56.89 -+ re_set_fastmap (fastmap, false, (int) c);
56.90 - }
56.91 -+ while (++c != 0);
56.92 - }
56.93 -+
56.94 -+ else
56.95 -+ {
56.96 -+ /* ... Else catch all bytes which can start the mbchars. */
56.97 -+ for (i = 0; i < cset->nmbchars; ++i)
56.98 -+ {
56.99 -+ char buf[256];
56.100 -+ mbstate_t state;
56.101 -+ memset (&state, '\0', sizeof (state));
56.102 -+ if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1)
56.103 -+ re_set_fastmap (fastmap, icase, *(unsigned char *) buf);
56.104 -+ if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1)
56.105 -+ {
56.106 -+ if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state)
56.107 -+ != (size_t) -1)
56.108 -+ re_set_fastmap (fastmap, false, *(unsigned char *) buf);
56.109 -+ }
56.110 -+ }
56.111 -+ }
56.112 - }
56.113 - #endif /* RE_ENABLE_I18N */
56.114 - else if (type == OP_PERIOD
57.1 --- a/patches/glibc/2_9/150-regex-BZ697.patch Sat Apr 11 19:03:02 2009 +0000
57.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
57.3 @@ -1,28 +0,0 @@
57.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0053_all_glibc-2.9-regex-BZ697.patch
57.5 -
57.6 --= BEGIN original header =-
57.7 -http://sourceware.org/ml/libc-alpha/2009-01/msg00006.html
57.8 -
57.9 -From 37bdc055ceeb6b1144c07448a7210d9ab3fbb2f5 Mon Sep 17 00:00:00 2001
57.10 -From: Ulrich Drepper <drepper@redhat.com>
57.11 -Date: Thu, 8 Jan 2009 00:47:05 +0000
57.12 -Subject: [PATCH] (prune_impossible_nodes): Handle sifted_states[0] being NULL also if
57.13 - there are no backreferences.
57.14 -
57.15 --= END original header =-
57.16 -
57.17 -diff -durN glibc-2_9.orig/posix/regexec.c glibc-2_9/posix/regexec.c
57.18 ---- glibc-2_9.orig/posix/regexec.c 2007-10-12 19:47:13.000000000 +0200
57.19 -+++ glibc-2_9/posix/regexec.c 2009-02-02 22:00:43.000000000 +0100
57.20 -@@ -1004,6 +1004,11 @@
57.21 - re_node_set_free (&sctx.limits);
57.22 - if (BE (ret != REG_NOERROR, 0))
57.23 - goto free_return;
57.24 -+ if (sifted_states[0] == NULL)
57.25 -+ {
57.26 -+ ret = REG_NOMATCH;
57.27 -+ goto free_return;
57.28 -+ }
57.29 - }
57.30 - re_free (mctx->state_log);
57.31 - mctx->state_log = sifted_states;
58.1 --- a/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch Sat Apr 11 19:03:02 2009 +0000
58.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
58.3 @@ -1,53 +0,0 @@
58.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0070_all_glibc-i386-x86_64-revert-clone-cfi.patch
58.5 -
58.6 --= BEGIN original header =-
58.7 -revert cfi additions to clone on i386/x86_64 to workaround problems in
58.8 -gcc's unwinder code. this is not a bug in glibc, it triggers problems
58.9 -elsewhere. this cfi code does not gain us a whole lot anyways.
58.10 -
58.11 -http://gcc.gnu.org/ml/gcc/2006-12/msg00293.html
58.12 -
58.13 --= END original header =-
58.14 -
58.15 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S
58.16 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/i386/clone.S 2006-12-04 00:12:36.000000000 +0100
58.17 -+++ glibc-2_9/sysdeps/unix/sysv/linux/i386/clone.S 2009-02-02 22:00:45.000000000 +0100
58.18 -@@ -120,9 +120,6 @@
58.19 - ret
58.20 -
58.21 - L(thread_start):
58.22 -- cfi_startproc;
58.23 -- /* Clearing frame pointer is insufficient, use CFI. */
58.24 -- cfi_undefined (eip);
58.25 - /* Note: %esi is zero. */
58.26 - movl %esi,%ebp /* terminate the stack frame */
58.27 - #ifdef RESET_PID
58.28 -@@ -155,7 +152,6 @@
58.29 - jmp L(haspid)
58.30 - .previous
58.31 - #endif
58.32 -- cfi_endproc;
58.33 -
58.34 - cfi_startproc
58.35 - PSEUDO_END (BP_SYM (__clone))
58.36 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S
58.37 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/x86_64/clone.S 2006-12-04 00:12:36.000000000 +0100
58.38 -+++ glibc-2_9/sysdeps/unix/sysv/linux/x86_64/clone.S 2009-02-02 22:00:45.000000000 +0100
58.39 -@@ -89,9 +89,6 @@
58.40 - ret
58.41 -
58.42 - L(thread_start):
58.43 -- cfi_startproc;
58.44 -- /* Clearing frame pointer is insufficient, use CFI. */
58.45 -- cfi_undefined (rip);
58.46 - /* Clear the frame pointer. The ABI suggests this be done, to mark
58.47 - the outermost frame obviously. */
58.48 - xorl %ebp, %ebp
58.49 -@@ -116,7 +113,6 @@
58.50 - /* Call exit with return value from function call. */
58.51 - movq %rax, %rdi
58.52 - call HIDDEN_JUMPTARGET (_exit)
58.53 -- cfi_endproc;
58.54 -
58.55 - cfi_startproc;
58.56 - PSEUDO_END (BP_SYM (__clone))
59.1 --- a/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch Sat Apr 11 19:03:02 2009 +0000
59.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
59.3 @@ -1,35 +0,0 @@
59.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0080_all_glibc-2.10-dns-no-gethostbyname4.patch
59.5 -
59.6 --= BEGIN original header =-
59.7 -http://sourceware.org/bugzilla/show_bug.cgi?id=7060
59.8 -http://bugs.gentoo.org/250468
59.9 -
59.10 -The gethostbyname4() lookup method is problematic since it fires out both
59.11 -the A and AAAA DNS queries in parallel and over the same socket. This
59.12 -should work in theory, but it turns out that many cheap DSL modems and
59.13 -similar devices have buggy DNS servers - if the AAAA query arrives too
59.14 -quickly after the A query, the server will generate only a single reply
59.15 -with the A query id but returning an error for the AAAA query; we get
59.16 -stuck waiting for the second reply.
59.17 -
59.18 -For gethostbyname4() users affected, disabling IPv6 in the system might
59.19 -work around the issue, unfortunately it only helps with applications
59.20 -using AI_ADDRCONFIG (e.g. Firefox); some (notably e.g. Pidgin) neglect
59.21 -to do that.
59.22 -
59.23 -Real fix should be using separate ports for the A and AAAA queries.
59.24 -
59.25 --= END original header =-
59.26 -
59.27 -diff -durN glibc-2_9.orig/resolv/Versions glibc-2_9/resolv/Versions
59.28 ---- glibc-2_9.orig/resolv/Versions 2008-08-01 19:15:34.000000000 +0200
59.29 -+++ glibc-2_9/resolv/Versions 2009-02-02 22:00:46.000000000 +0100
59.30 -@@ -102,7 +102,7 @@
59.31 - _nss_dns_gethostbyname_r; _nss_dns_getnetbyaddr_r;
59.32 - _nss_dns_getnetbyname_r; _nss_dns_getcanonname_r;
59.33 - _nss_dns_gethostbyaddr2_r;
59.34 -- _nss_dns_gethostbyname4_r;
59.35 -+# _nss_dns_gethostbyname4_r;
59.36 - }
59.37 - }
59.38 -
60.1 --- a/patches/glibc/2_9/180-math-tests.patch Sat Apr 11 19:03:02 2009 +0000
60.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
60.3 @@ -1,72 +0,0 @@
60.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/0090_all_glibc-math-tests.patch
60.5 -
60.6 --= BEGIN original header =-
60.7 -From: "Joseph S. Myers" <joseph at codesourcery dot com>
60.8 -To: libc-alpha at sourceware dot org
60.9 -Date: Tue, 15 Jul 2008 14:43:04 +0000 (UTC)
60.10 -Subject: expm1 ulps
60.11 -
60.12 -If you test glibc on i686 with GCC 4.3, you get a test-ildoubl failure:
60.13 -
60.14 -Failure: Test: expm1 (1) == M_El - 1.0
60.15 -Result:
60.16 - is: 1.71828182845904523532e+00 0xd.bf0a8b14576953500000p-3
60.17 - should be: 1.71828182845904523543e+00 0xd.bf0a8b14576953600000p-3
60.18 - difference: 1.08420217248550443401e-19 0x8.00000000000000000000p-66
60.19 - ulp : 1.0000
60.20 - max.ulp : 0.0000
60.21 -Maximal error of `expm1'
60.22 - is : 1 ulp
60.23 - accepted: 0 ulp
60.24 -
60.25 -What happens is that the inline expansion of expm1l uses __builtin_expm1l,
60.26 -and GCC 4.3 optimizes calls to __builtin_expm1l with constant argument to
60.27 -a correctly rounded result using MPFR. The result returned is thus the
60.28 -value of e-1 rounded once to long double precision. However, the test
60.29 -expects M_El - 1.0, and the result of rounding e to long double precision,
60.30 -then subtracting 1, differs in the last place from the result of rounding
60.31 -e-1 to long double precision (the latter has smaller exponent, and the
60.32 -last bit is 1).
60.33 -
60.34 -There are two obvious approaches possible to fixing this. The first patch
60.35 -below changes the expectation to a decimal expansion for e-1 (taken from
60.36 -that of M_El) rather than doing arithmetic in the expected value. This in
60.37 -turn requires ulps to be set for the out-of-line version of expm1. It
60.38 -might also need ulps to be set for the inline version for older compilers
60.39 -if they should continue to pass the test, and possibly for other targets.
60.40 -The second patch below takes the alternative approach of keeping the
60.41 -existing expectation (which has the wrong bit in the last place) and
60.42 -setting ulps for the inline expansion of expm1, which avoids the risk of
60.43 -breaking the test for other targets.
60.44 -
60.45 -2008-07-15 Joseph Myers <joseph@codesourcery.com>
60.46 -
60.47 - * sysdeps/i386/fpu/libm-test-ulps: Add inline long double ulps for
60.48 - expm1.
60.49 -
60.50 --= END original header =-
60.51 -
60.52 -diff -durN glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps glibc-2_9/sysdeps/i386/fpu/libm-test-ulps
60.53 ---- glibc-2_9.orig/sysdeps/i386/fpu/libm-test-ulps 2006-01-15 18:59:37.000000000 +0100
60.54 -+++ glibc-2_9/sysdeps/i386/fpu/libm-test-ulps 2009-02-02 22:00:47.000000000 +0100
60.55 -@@ -453,6 +453,10 @@
60.56 - ildouble: 8
60.57 - ldouble: 8
60.58 -
60.59 -+# expm1
60.60 -+Test "expm1 (1) == M_El - 1.0":
60.61 -+ildouble: 1
60.62 -+
60.63 - # gamma
60.64 - Test "gamma (-0.5) == log(2*sqrt(pi))":
60.65 - double: 1
60.66 -@@ -1134,6 +1138,9 @@
60.67 - ildouble: 8
60.68 - ldouble: 8
60.69 -
60.70 -+Function: "expm1":
60.71 -+ildouble: 1
60.72 -+
60.73 - Function: "gamma":
60.74 - double: 1
60.75 - idouble: 1
61.1 --- a/patches/glibc/2_9/190-queue-header-updates.patch Sat Apr 11 19:03:02 2009 +0000
61.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
61.3 @@ -1,89 +0,0 @@
61.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1010_all_glibc-queue-header-updates.patch
61.5 -
61.6 --= BEGIN original header =-
61.7 -grab some updates from FreeBSD
61.8 -
61.9 -http://bugs.gentoo.org/201979
61.10 -
61.11 --= END original header =-
61.12 -
61.13 -diff -durN glibc-2_9.orig/misc/sys/queue.h glibc-2_9/misc/sys/queue.h
61.14 ---- glibc-2_9.orig/misc/sys/queue.h 2008-03-05 06:50:30.000000000 +0100
61.15 -+++ glibc-2_9/misc/sys/queue.h 2009-02-02 22:00:48.000000000 +0100
61.16 -@@ -136,6 +136,11 @@
61.17 - (var); \
61.18 - (var) = ((var)->field.le_next))
61.19 -
61.20 -+#define LIST_FOREACH_SAFE(var, head, field, tvar) \
61.21 -+ for ((var) = LIST_FIRST((head)); \
61.22 -+ (var) && ((tvar) = LIST_NEXT((var), field), 1); \
61.23 -+ (var) = (tvar))
61.24 -+
61.25 - /*
61.26 - * List access methods.
61.27 - */
61.28 -@@ -197,6 +202,16 @@
61.29 - #define SLIST_FOREACH(var, head, field) \
61.30 - for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next)
61.31 -
61.32 -+#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
61.33 -+ for ((var) = SLIST_FIRST((head)); \
61.34 -+ (var) && ((tvar) = SLIST_NEXT((var), field), 1); \
61.35 -+ (var) = (tvar))
61.36 -+
61.37 -+#define SLIST_FOREACH_PREVPTR(var, varp, head, field) \
61.38 -+ for ((varp) = &SLIST_FIRST((head)); \
61.39 -+ ((var) = *(varp)) != NULL; \
61.40 -+ (varp) = &SLIST_NEXT((var), field))
61.41 -+
61.42 - /*
61.43 - * Singly-linked List access methods.
61.44 - */
61.45 -@@ -242,6 +257,12 @@
61.46 - (head)->stqh_last = &(elm)->field.stqe_next; \
61.47 - } while (/*CONSTCOND*/0)
61.48 -
61.49 -+#define STAILQ_LAST(head, type, field) \
61.50 -+ (STAILQ_EMPTY((head)) ? \
61.51 -+ NULL : \
61.52 -+ ((struct type *)(void *) \
61.53 -+ ((char *)((head)->stqh_last) - __offsetof(struct type, field))))
61.54 -+
61.55 - #define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
61.56 - if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\
61.57 - (head)->stqh_last = &(elm)->field.stqe_next; \
61.58 -@@ -286,6 +307,11 @@
61.59 - #define STAILQ_FIRST(head) ((head)->stqh_first)
61.60 - #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
61.61 -
61.62 -+#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \
61.63 -+ for ((var) = STAILQ_FIRST((head)); \
61.64 -+ (var) && ((tvar) = STAILQ_NEXT((var), field), 1); \
61.65 -+ (var) = (tvar))
61.66 -+
61.67 -
61.68 - /*
61.69 - * Simple queue definitions.
61.70 -@@ -437,11 +463,22 @@
61.71 - (var); \
61.72 - (var) = ((var)->field.tqe_next))
61.73 -
61.74 -+#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
61.75 -+ for ((var) = TAILQ_FIRST((head)); \
61.76 -+ (var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
61.77 -+ (var) = (tvar))
61.78 -+
61.79 - #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
61.80 - for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \
61.81 - (var); \
61.82 - (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
61.83 -
61.84 -+#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \
61.85 -+ for ((var) = TAILQ_LAST((head), headname); \
61.86 -+ (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); \
61.87 -+ (var) = (tvar))
61.88 -+
61.89 -+
61.90 - #define TAILQ_CONCAT(head1, head2, field) do { \
61.91 - if (!TAILQ_EMPTY(head2)) { \
61.92 - *(head1)->tqh_last = (head2)->tqh_first; \
62.1 --- a/patches/glibc/2_9/200-awk-in-C-locale.patch Sat Apr 11 19:03:02 2009 +0000
62.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
62.3 @@ -1,23 +0,0 @@
62.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1018_all_glibc-awk-in-C-locale.patch
62.5 -
62.6 --= BEGIN original header =-
62.7 -http://bugs.gentoo.org/252802
62.8 -
62.9 -2008-12-29 Mike Frysinger <vapier@gentoo.org>
62.10 -
62.11 - * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk script.
62.12 -
62.13 --= END original header =-
62.14 -
62.15 -diff -durN glibc-2_9.orig/iconvdata/Makefile glibc-2_9/iconvdata/Makefile
62.16 ---- glibc-2_9.orig/iconvdata/Makefile 2008-05-15 03:54:31.000000000 +0200
62.17 -+++ glibc-2_9/iconvdata/Makefile 2009-02-02 22:00:50.000000000 +0100
62.18 -@@ -286,7 +286,7 @@
62.19 - { echo $(filter-out lib%, $(modules)); \
62.20 - echo 8bit $(gen-8bit-modules); \
62.21 - echo 8bit-gap $(gen-8bit-gap-modules); } | \
62.22 -- $(AWK) 'NR == 1 { \
62.23 -+ LC_ALL=C $(AWK) 'NR == 1 { \
62.24 - for (i = 1; i <= NF; i++) { \
62.25 - printf "%s-routines := %s\n", $$i, tolower($$i); \
62.26 - printf "%s-map := gconv.map\n", $$i; \
63.1 --- a/patches/glibc/2_9/210-2.9-strlen-hack.patch Sat Apr 11 19:03:02 2009 +0000
63.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
63.3 @@ -1,109 +0,0 @@
63.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1020_all_glibc-2.9-strlen-hack.patch
63.5 -
63.6 --= BEGIN original header =-
63.7 -http://sourceware.org/bugzilla/show_bug.cgi?id=5807
63.8 -http://www.cl.cam.ac.uk/~am21/progtricks.html
63.9 -
63.10 --= END original header =-
63.11 -
63.12 -diff -durN glibc-2_9.orig/string/strlen.c glibc-2_9/string/strlen.c
63.13 ---- glibc-2_9.orig/string/strlen.c 2005-12-14 12:09:07.000000000 +0100
63.14 -+++ glibc-2_9/string/strlen.c 2009-02-02 22:00:51.000000000 +0100
63.15 -@@ -32,7 +32,7 @@
63.16 - {
63.17 - const char *char_ptr;
63.18 - const unsigned long int *longword_ptr;
63.19 -- unsigned long int longword, magic_bits, himagic, lomagic;
63.20 -+ unsigned long int longword, himagic, lomagic;
63.21 -
63.22 - /* Handle the first few characters by reading one character at a time.
63.23 - Do this until CHAR_PTR is aligned on a longword boundary. */
63.24 -@@ -42,28 +42,14 @@
63.25 - if (*char_ptr == '\0')
63.26 - return char_ptr - str;
63.27 -
63.28 -- /* All these elucidatory comments refer to 4-byte longwords,
63.29 -- but the theory applies equally well to 8-byte longwords. */
63.30 --
63.31 - longword_ptr = (unsigned long int *) char_ptr;
63.32 -
63.33 -- /* Bits 31, 24, 16, and 8 of this number are zero. Call these bits
63.34 -- the "holes." Note that there is a hole just to the left of
63.35 -- each byte, with an extra at the end:
63.36 --
63.37 -- bits: 01111110 11111110 11111110 11111111
63.38 -- bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD
63.39 --
63.40 -- The 1-bits make sure that carries propagate to the next 0-bit.
63.41 -- The 0-bits provide holes for carries to fall into. */
63.42 -- magic_bits = 0x7efefeffL;
63.43 - himagic = 0x80808080L;
63.44 - lomagic = 0x01010101L;
63.45 - if (sizeof (longword) > 4)
63.46 - {
63.47 - /* 64-bit version of the magic. */
63.48 - /* Do the shift in two steps to avoid a warning if long has 32 bits. */
63.49 -- magic_bits = ((0x7efefefeL << 16) << 16) | 0xfefefeffL;
63.50 - himagic = ((himagic << 16) << 16) | himagic;
63.51 - lomagic = ((lomagic << 16) << 16) | lomagic;
63.52 - }
63.53 -@@ -75,56 +61,12 @@
63.54 - if *any of the four* bytes in the longword in question are zero. */
63.55 - for (;;)
63.56 - {
63.57 -- /* We tentatively exit the loop if adding MAGIC_BITS to
63.58 -- LONGWORD fails to change any of the hole bits of LONGWORD.
63.59 --
63.60 -- 1) Is this safe? Will it catch all the zero bytes?
63.61 -- Suppose there is a byte with all zeros. Any carry bits
63.62 -- propagating from its left will fall into the hole at its
63.63 -- least significant bit and stop. Since there will be no
63.64 -- carry from its most significant bit, the LSB of the
63.65 -- byte to the left will be unchanged, and the zero will be
63.66 -- detected.
63.67 --
63.68 -- 2) Is this worthwhile? Will it ignore everything except
63.69 -- zero bytes? Suppose every byte of LONGWORD has a bit set
63.70 -- somewhere. There will be a carry into bit 8. If bit 8
63.71 -- is set, this will carry into bit 16. If bit 8 is clear,
63.72 -- one of bits 9-15 must be set, so there will be a carry
63.73 -- into bit 16. Similarly, there will be a carry into bit
63.74 -- 24. If one of bits 24-30 is set, there will be a carry
63.75 -- into bit 31, so all of the hole bits will be changed.
63.76 --
63.77 -- The one misfire occurs when bits 24-30 are clear and bit
63.78 -- 31 is set; in this case, the hole at bit 31 is not
63.79 -- changed. If we had access to the processor carry flag,
63.80 -- we could close this loophole by putting the fourth hole
63.81 -- at bit 32!
63.82 --
63.83 -- So it ignores everything except 128's, when they're aligned
63.84 -- properly. */
63.85 --
63.86 - longword = *longword_ptr++;
63.87 -
63.88 -- if (
63.89 --#if 0
63.90 -- /* Add MAGIC_BITS to LONGWORD. */
63.91 -- (((longword + magic_bits)
63.92 --
63.93 -- /* Set those bits that were unchanged by the addition. */
63.94 -- ^ ~longword)
63.95 --
63.96 -- /* Look at only the hole bits. If any of the hole bits
63.97 -- are unchanged, most likely one of the bytes was a
63.98 -- zero. */
63.99 -- & ~magic_bits)
63.100 --#else
63.101 -- ((longword - lomagic) & himagic)
63.102 --#endif
63.103 -- != 0)
63.104 -+ /* This hack taken from Alan Mycroft's HAKMEMC postings.
63.105 -+ See: http://www.cl.cam.ac.uk/~am21/progtricks.html */
63.106 -+ if (((longword - lomagic) & ~longword & himagic) != 0)
63.107 - {
63.108 -- /* Which of the bytes was the zero? If none of them were, it was
63.109 -- a misfire; continue the search. */
63.110 -
63.111 - const char *cp = (const char *) (longword_ptr - 1);
63.112 -
64.1 --- a/patches/glibc/2_9/220-manual-no-perl.patch Sat Apr 11 19:03:02 2009 +0000
64.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
64.3 @@ -1,29 +0,0 @@
64.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1030_all_glibc-manual-no-perl.patch
64.5 -
64.6 --= BEGIN original header =-
64.7 -If we're using a cvs snapshot which updates the source files, and
64.8 -perl isn't installed yet, then we can't regen the docs. Not a big
64.9 -deal, so just whine a little and continue on our merry way.
64.10 -
64.11 -http://bugs.gentoo.org/60132
64.12 -
64.13 --= END original header =-
64.14 -
64.15 -diff -durN glibc-2_9.orig/manual/Makefile glibc-2_9/manual/Makefile
64.16 ---- glibc-2_9.orig/manual/Makefile 2006-01-08 07:43:47.000000000 +0100
64.17 -+++ glibc-2_9/manual/Makefile 2009-02-02 22:00:53.000000000 +0100
64.18 -@@ -104,9 +104,14 @@
64.19 - libm-err.texi: stamp-libm-err
64.20 - stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
64.21 - $(dir)/libm-test-ulps))
64.22 -+ifneq ($(PERL),no)
64.23 - pwd=`pwd`; \
64.24 - $(PERL) $< $$pwd/.. > libm-err-tmp
64.25 - $(move-if-change) libm-err-tmp libm-err.texi
64.26 -+else
64.27 -+ echo "Unable to rebuild math docs, no perl installed"
64.28 -+ touch libm-err.texi
64.29 -+endif
64.30 - touch $@
64.31 -
64.32 - # Generate Texinfo files from the C source for the example programs.
65.1 --- a/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch Sat Apr 11 19:03:02 2009 +0000
65.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
65.3 @@ -1,74 +0,0 @@
65.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1040_all_2.3.3-localedef-fix-trampoline.patch
65.5 -
65.6 --= BEGIN original header =-
65.7 -#! /bin/sh -e
65.8 -
65.9 -# DP: Description: Fix localedef segfault when run under exec-shield,
65.10 -# PaX or similar. (#231438, #198099)
65.11 -# DP: Dpatch Author: James Troup <james@nocrew.org>
65.12 -# DP: Patch Author: (probably) Jakub Jelinek <jakub@redhat.com>
65.13 -# DP: Upstream status: Unknown
65.14 -# DP: Status Details: Unknown
65.15 -# DP: Date: 2004-03-16
65.16 -
65.17 -if [ $# -ne 2 ]; then
65.18 - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
65.19 - exit 1
65.20 -fi
65.21 -case "$1" in
65.22 - -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;;
65.23 - -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;;
65.24 - *)
65.25 - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
65.26 - exit 1
65.27 -esac
65.28 -exit 0
65.29 -
65.30 --= END original header =-
65.31 -
65.32 -diff -durN glibc-2_9.orig/locale/programs/3level.h glibc-2_9/locale/programs/3level.h
65.33 ---- glibc-2_9.orig/locale/programs/3level.h 2007-07-16 02:54:59.000000000 +0200
65.34 -+++ glibc-2_9/locale/programs/3level.h 2009-02-02 22:00:54.000000000 +0100
65.35 -@@ -203,6 +203,42 @@
65.36 - }
65.37 - }
65.38 - }
65.39 -+
65.40 -+/* GCC ATM seems to do a poor job with pointers to nested functions passed
65.41 -+ to inlined functions. Help it a little bit with this hack. */
65.42 -+#define wchead_table_iterate(tp, fn) \
65.43 -+do \
65.44 -+ { \
65.45 -+ struct wchead_table *t = (tp); \
65.46 -+ uint32_t index1; \
65.47 -+ for (index1 = 0; index1 < t->level1_size; index1++) \
65.48 -+ { \
65.49 -+ uint32_t lookup1 = t->level1[index1]; \
65.50 -+ if (lookup1 != ((uint32_t) ~0)) \
65.51 -+ { \
65.52 -+ uint32_t lookup1_shifted = lookup1 << t->q; \
65.53 -+ uint32_t index2; \
65.54 -+ for (index2 = 0; index2 < (1 << t->q); index2++) \
65.55 -+ { \
65.56 -+ uint32_t lookup2 = t->level2[index2 + lookup1_shifted]; \
65.57 -+ if (lookup2 != ((uint32_t) ~0)) \
65.58 -+ { \
65.59 -+ uint32_t lookup2_shifted = lookup2 << t->p; \
65.60 -+ uint32_t index3; \
65.61 -+ for (index3 = 0; index3 < (1 << t->p); index3++) \
65.62 -+ { \
65.63 -+ struct element_t *lookup3 \
65.64 -+ = t->level3[index3 + lookup2_shifted]; \
65.65 -+ if (lookup3 != NULL) \
65.66 -+ fn ((((index1 << t->q) + index2) << t->p) + index3, \
65.67 -+ lookup3); \
65.68 -+ } \
65.69 -+ } \
65.70 -+ } \
65.71 -+ } \
65.72 -+ } \
65.73 -+ } while (0)
65.74 -+
65.75 - #endif
65.76 -
65.77 - #ifndef NO_FINALIZE
66.1 --- a/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch Sat Apr 11 19:03:02 2009 +0000
66.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
66.3 @@ -1,23 +0,0 @@
66.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1050_all_glibc-i386-LOAD_PIC_REG.patch
66.5 -
66.6 --= BEGIN original header =-
66.7 -From e41177ea18a77a7f62328293b4fd49ae17482e77 Mon Sep 17 00:00:00 2001
66.8 -From: Ulrich Drepper <drepper@redhat.com>
66.9 -Date: Sat, 6 Dec 2008 00:15:17 +0000
66.10 -Subject: [PATCH] (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG instead of doing things manually.
66.11 -
66.12 --= END original header =-
66.13 -
66.14 -diff -durN glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S glibc-2_9/sysdeps/i386/dl-tlsdesc.S
66.15 ---- glibc-2_9.orig/sysdeps/i386/dl-tlsdesc.S 2008-05-13 07:33:06.000000000 +0200
66.16 -+++ glibc-2_9/sysdeps/i386/dl-tlsdesc.S 2009-02-02 22:00:56.000000000 +0100
66.17 -@@ -128,8 +128,7 @@
66.18 - .Lslow:
66.19 - cfi_adjust_cfa_offset (28)
66.20 - movl %ebx, 16(%esp)
66.21 -- call __i686.get_pc_thunk.bx
66.22 -- addl $_GLOBAL_OFFSET_TABLE_, %ebx
66.23 -+ LOAD_PIC_REG (bx)
66.24 - call ___tls_get_addr@PLT
66.25 - movl 16(%esp), %ebx
66.26 - jmp .Lret
67.1 --- a/patches/glibc/2_9/250-resolv-dynamic.patch Sat Apr 11 19:03:02 2009 +0000
67.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
67.3 @@ -1,44 +0,0 @@
67.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1055_all_glibc-resolv-dynamic.patch
67.5 -
67.6 --= BEGIN original header =-
67.7 -ripped from SuSE
67.8 -
67.9 -if /etc/resolv.conf is updated, then make sure applications
67.10 -already running get the updated information.
67.11 -
67.12 -http://bugs.gentoo.org/177416
67.13 -
67.14 --= END original header =-
67.15 -
67.16 -diff -durN glibc-2_9.orig/resolv/res_libc.c glibc-2_9/resolv/res_libc.c
67.17 ---- glibc-2_9.orig/resolv/res_libc.c 2006-10-11 10:59:28.000000000 +0200
67.18 -+++ glibc-2_9/resolv/res_libc.c 2009-02-02 22:00:57.000000000 +0100
67.19 -@@ -22,6 +22,7 @@
67.20 - #include <arpa/nameser.h>
67.21 - #include <resolv.h>
67.22 - #include <bits/libc-lock.h>
67.23 -+#include <sys/stat.h>
67.24 -
67.25 -
67.26 - /* The following bit is copied from res_data.c (where it is #ifdef'ed
67.27 -@@ -95,6 +96,20 @@
67.28 - __res_maybe_init (res_state resp, int preinit)
67.29 - {
67.30 - if (resp->options & RES_INIT) {
67.31 -+ static time_t last_mtime, last_check;
67.32 -+ time_t now;
67.33 -+ struct stat statbuf;
67.34 -+
67.35 -+ time (&now);
67.36 -+ if (now != last_check) {
67.37 -+ last_check = now;
67.38 -+ if (stat (_PATH_RESCONF, &statbuf) == 0 && last_mtime != statbuf.st_mtime) {
67.39 -+ last_mtime = statbuf.st_mtime;
67.40 -+ atomicinclock (lock);
67.41 -+ atomicinc (__res_initstamp);
67.42 -+ atomicincunlock (lock);
67.43 -+ }
67.44 -+ }
67.45 - if (__res_initstamp != resp->_u._ext.initstamp) {
67.46 - if (resp->nscount > 0) {
67.47 - __res_iclose (resp, true);
68.1 --- a/patches/glibc/2_9/260-fadvise64_64.patch Sat Apr 11 19:03:02 2009 +0000
68.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
68.3 @@ -1,30 +0,0 @@
68.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1070_all_glibc-fadvise64_64.patch
68.5 -
68.6 --= BEGIN original header =-
68.7 -ripped from Debian
68.8 -
68.9 --= END original header =-
68.10 -
68.11 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c
68.12 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/posix_fadvise.c 2003-08-17 02:36:22.000000000 +0200
68.13 -+++ glibc-2_9/sysdeps/unix/sysv/linux/posix_fadvise.c 2009-02-02 22:00:58.000000000 +0100
68.14 -@@ -35,6 +35,19 @@
68.15 - return INTERNAL_SYSCALL_ERRNO (ret, err);
68.16 - return 0;
68.17 - #else
68.18 -+# ifdef __NR_fadvise64_64
68.19 -+ INTERNAL_SYSCALL_DECL (err);
68.20 -+ int ret = INTERNAL_SYSCALL (fadvise64_64, err, 6, fd,
68.21 -+ __LONG_LONG_PAIR ((long) (offset >> 31),
68.22 -+ (long) offset),
68.23 -+ __LONG_LONG_PAIR ((long) (len >> 31),
68.24 -+ (long) len),
68.25 -+ advise);
68.26 -+ if (INTERNAL_SYSCALL_ERROR_P (ret, err))
68.27 -+ return INTERNAL_SYSCALL_ERRNO (ret, err);
68.28 -+ return 0;
68.29 -+# else
68.30 - return ENOSYS;
68.31 -+# endif
68.32 - #endif
68.33 - }
69.1 --- a/patches/glibc/2_9/270-ldbl-nexttowardf.patch Sat Apr 11 19:03:02 2009 +0000
69.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
69.3 @@ -1,68 +0,0 @@
69.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1073_all_glibc-ldbl-nexttowardf.patch
69.5 -
69.6 --= BEGIN original header =-
69.7 -ripped from Debian
69.8 -
69.9 -this change was made to generic __nexttowardf, but not the long double version
69.10 -
69.11 -2008-05-05 Aurelien Jarno <aurelien@aurel32.net>
69.12 -
69.13 - * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include float.h.
69.14 - (__nexttowardf): Use math_opt_barrier and
69.15 - math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
69.16 - x to float using asm.
69.17 -
69.18 --= END original header =-
69.19 -
69.20 -diff -durN glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c
69.21 ---- glibc-2_9.orig/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 1999-07-14 02:09:42.000000000 +0200
69.22 -+++ glibc-2_9/sysdeps/ieee754/ldbl-128/s_nexttowardf.c 2009-02-02 22:00:59.000000000 +0100
69.23 -@@ -19,7 +19,8 @@
69.24 - #endif
69.25 -
69.26 - #include "math.h"
69.27 --#include "math_private.h"
69.28 -+#include <math_private.h>
69.29 -+#include <float.h>
69.30 -
69.31 - #ifdef __STDC__
69.32 - float __nexttowardf(float x, long double y)
69.33 -@@ -44,10 +45,12 @@
69.34 - return x+y;
69.35 - if((long double) x==y) return y; /* x=y, return y */
69.36 - if(ix==0) { /* x == 0 */
69.37 -- float x2;
69.38 -+ float u;
69.39 - SET_FLOAT_WORD(x,(u_int32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/
69.40 -- x2 = x*x;
69.41 -- if(x2==x) return x2; else return x; /* raise underflow flag */
69.42 -+ u = math_opt_barrier (x);
69.43 -+ u = u * u;
69.44 -+ math_force_eval (u); /* raise underflow flag */
69.45 -+ return x;
69.46 - }
69.47 - if(hx>=0) { /* x > 0 */
69.48 - if(hy<0||(ix>>23)>(iy>>48)-0x3f80
69.49 -@@ -67,13 +70,16 @@
69.50 - }
69.51 - }
69.52 - hy = hx&0x7f800000;
69.53 -- if(hy>=0x7f800000) return x+x; /* overflow */
69.54 -+ if(hy>=0x7f800000) {
69.55 -+ x = x+x; /* overflow */
69.56 -+ if (FLT_EVAL_METHOD != 0)
69.57 -+ /* Force conversion to float. */
69.58 -+ asm ("" : "+m"(x));
69.59 -+ return x;
69.60 -+ }
69.61 - if(hy<0x00800000) { /* underflow */
69.62 -- float x2 = x*x;
69.63 -- if(x2!=x) { /* raise underflow flag */
69.64 -- SET_FLOAT_WORD(x2,hx);
69.65 -- return x2;
69.66 -- }
69.67 -+ float u = x*x;
69.68 -+ math_force_eval (u); /* raise underflow flag */
69.69 - }
69.70 - SET_FLOAT_WORD(x,hx);
69.71 - return x;
70.1 --- a/patches/glibc/2_9/280-section-comments.patch Sat Apr 11 19:03:02 2009 +0000
70.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
70.3 @@ -1,29 +0,0 @@
70.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1075_all_glibc-section-comments.patch
70.5 -
70.6 --= BEGIN original header =-
70.7 -http://sources.redhat.com/ml/binutils/2004-04/msg00665.html
70.8 -
70.9 -fixes building on some architectures (like m68k/arm/cris/etc...) because
70.10 -it does the right thing
70.11 -
70.12 --= END original header =-
70.13 -
70.14 -diff -durN glibc-2_9.orig/include/libc-symbols.h glibc-2_9/include/libc-symbols.h
70.15 ---- glibc-2_9.orig/include/libc-symbols.h 2006-11-09 16:57:12.000000000 +0100
70.16 -+++ glibc-2_9/include/libc-symbols.h 2009-02-02 22:01:00.000000000 +0100
70.17 -@@ -240,12 +240,12 @@
70.18 - # define __make_section_unallocated(section_string)
70.19 - # endif
70.20 -
70.21 --/* Tacking on "\n\t#" to the section name makes gcc put it's bogus
70.22 -+/* Tacking on "\n#APP\n\t#" to the section name makes gcc put it's bogus
70.23 - section attributes on what looks like a comment to the assembler. */
70.24 - # ifdef HAVE_SECTION_QUOTES
70.25 --# define __sec_comment "\"\n\t#\""
70.26 -+# define __sec_comment "\"\n#APP\n\t#\""
70.27 - # else
70.28 --# define __sec_comment "\n\t#"
70.29 -+# define __sec_comment "\n#APP\n\t#"
70.30 - # endif
70.31 - # define link_warning(symbol, msg) \
70.32 - __make_section_unallocated (".gnu.warning." #symbol) \
71.1 --- a/patches/glibc/2_9/290-no-inline-gmon.patch Sat Apr 11 19:03:02 2009 +0000
71.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
71.3 @@ -1,38 +0,0 @@
71.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1080_all_glibc-no-inline-gmon.patch
71.5 -
71.6 --= BEGIN original header =-
71.7 -http://bugs.gentoo.org/196245
71.8 -http://sourceware.org/ml/libc-alpha/2006-05/msg00017.html
71.9 -
71.10 -Attached is a patch to add __attribute__ ((noinline)) to
71.11 -call_gmon_start.
71.12 -
71.13 -Without this patch, the sec script that processed initfini.s removes a
71.14 -part of inlined call_gmon_start, causing undefined label errors.
71.15 -
71.16 -This patch solves the problem by forcing gcc not to inline
71.17 -call_gmon_start with __attribute__ ((noinline)).
71.18 -
71.19 -Tested by building for arm-none-lixux-gnueabi. OK to apply?
71.20 -
71.21 -Kazu Hirata
71.22 -
71.23 -2006-05-07 Kazu Hirata <kazu@codesourcery.com>
71.24 -
71.25 - * sysdeps/generic/initfini.c (call_gmon_start): Add
71.26 - __attribute__ ((noinline)).
71.27 -
71.28 --= END original header =-
71.29 -
71.30 -diff -durN glibc-2_9.orig/sysdeps/generic/initfini.c glibc-2_9/sysdeps/generic/initfini.c
71.31 ---- glibc-2_9.orig/sysdeps/generic/initfini.c 2007-06-17 20:02:40.000000000 +0200
71.32 -+++ glibc-2_9/sysdeps/generic/initfini.c 2009-02-02 22:01:01.000000000 +0100
71.33 -@@ -70,7 +70,7 @@
71.34 - /* The beginning of _init: */
71.35 - asm ("\n/*@_init_PROLOG_BEGINS*/");
71.36 -
71.37 --static void
71.38 -+static void __attribute__ ((noinline))
71.39 - call_gmon_start(void)
71.40 - {
71.41 - extern void __gmon_start__ (void) __attribute__ ((weak)); /*weak_extern (__gmon_start__);*/
72.1 --- a/patches/glibc/2_9/300-2.9-check_native-headers.patch Sat Apr 11 19:03:02 2009 +0000
72.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
72.3 @@ -1,22 +0,0 @@
72.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1085_all_glibc-2.9-check_native-headers.patch
72.5 -
72.6 --= BEGIN original header =-
72.7 -many ports hit this warning:
72.8 -../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
72.9 -../sysdeps/unix/sysv/linux/check_native.c:46: warning: implicit declaration of function 'memset'
72.10 -
72.11 -snipped from suse
72.12 -
72.13 --= END original header =-
72.14 -
72.15 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c glibc-2_9/sysdeps/unix/sysv/linux/check_native.c
72.16 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/check_native.c 2007-11-24 04:12:17.000000000 +0100
72.17 -+++ glibc-2_9/sysdeps/unix/sysv/linux/check_native.c 2009-02-02 22:01:03.000000000 +0100
72.18 -@@ -23,6 +23,7 @@
72.19 - #include <stddef.h>
72.20 - #include <stdint.h>
72.21 - #include <stdlib.h>
72.22 -+#include <string.h>
72.23 - #include <time.h>
72.24 - #include <unistd.h>
72.25 - #include <net/if.h>
73.1 --- a/patches/glibc/2_9/310-2.3.6-fix-pr631.patch Sat Apr 11 19:03:02 2009 +0000
73.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
73.3 @@ -1,50 +0,0 @@
73.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1090_all_glibc-2.3.6-fix-pr631.patch
73.5 -
73.6 --= BEGIN original header =-
73.7 -From dank@kegel.com
73.8 -Wed Jun 15 09:12:43 PDT 2005
73.9 -
73.10 -Fixes
73.11 -
73.12 -build-glibc/libc.a(nsswitch.o)(.data+0x64): undefined reference to `_nss_files_getaliasent_r'
73.13 -build-glibc/libc.a(nsswitch.o)(.data+0x6c): undefined reference to `_nss_files_endaliasent'
73.14 -... 53 lines deleted ...
73.15 -build-glibc/libc.a(nsswitch.o)(.data+0x21c): undefined reference to `_nss_files_getspnam_r'
73.16 -collect2: ld returned 1 exit status
73.17 -make[2]: *** [/build/gcc-3.4.3-glibc-2.3.5-hdrs-2.6.11.2/i686-unknown-linux-gnu/build-glibc/elf/ldconfig] Error 1
73.18 -
73.19 -when building glibc with --enable-static-nss.
73.20 -
73.21 -See http://sources.redhat.com/bugzilla/show_bug.cgi?id=631
73.22 -
73.23 --= END original header =-
73.24 -
73.25 -diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig
73.26 ---- glibc-2_9.orig/Makeconfig 2009-02-02 22:00:36.000000000 +0100
73.27 -+++ glibc-2_9/Makeconfig 2009-02-02 22:01:04.000000000 +0100
73.28 -@@ -509,7 +509,7 @@
73.29 -
73.30 - # The static libraries.
73.31 - ifeq (yes,$(build-static))
73.32 --link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(common-objpfx)libc.a
73.33 -+link-libc-static = $(common-objpfx)libc.a $(static-gnulib) $(otherlibs) $(common-objpfx)libc.a
73.34 - else
73.35 - ifeq (yes,$(build-shared))
73.36 - # We can try to link the programs with lib*_pic.a...
73.37 -diff -durN glibc-2_9.orig/elf/Makefile glibc-2_9/elf/Makefile
73.38 ---- glibc-2_9.orig/elf/Makefile 2008-10-31 21:35:11.000000000 +0100
73.39 -+++ glibc-2_9/elf/Makefile 2009-02-02 22:01:04.000000000 +0100
73.40 -@@ -121,6 +121,13 @@
73.41 - install-bin-script = ldd
73.42 - endif
73.43 -
73.44 -+ifeq (yes,$(build-static-nss))
73.45 -+nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss)
73.46 -+resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv)
73.47 -+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
73.48 -+ $(resolvobjdir)/libresolv.a
73.49 -+endif
73.50 -+
73.51 - others = sprof sln
73.52 - install-bin = sprof
73.53 - others-static = sln
74.1 --- a/patches/glibc/2_9/320-2.9-assume-pipe2.patch Sat Apr 11 19:03:02 2009 +0000
74.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
74.3 @@ -1,59 +0,0 @@
74.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1095_all_glibc-2.9-assume-pipe2.patch
74.5 -
74.6 --= BEGIN original header =-
74.7 -http://bugs.gentoo.org/250342
74.8 -http://sources.redhat.com/bugzilla/show_bug.cgi?id=9685
74.9 -
74.10 -we cant assume sock_cloexec and pipe2 are bound together as the former defines
74.11 -are found in glibc only while the latter are a combo of kernel headers and
74.12 -glibc. so if we do a runtime detection of SOCK_CLOEXEC, but pipe2() is a stub
74.13 -inside of glibc, we hit a problem. for example:
74.14 -
74.15 -#include <grp.h>
74.16 -#include <stdio.h>
74.17 -main()
74.18 -{
74.19 - getgrnam("portage");
74.20 - if (!popen("ls", "r"))
74.21 - perror("popen()");
74.22 -}
74.23 -
74.24 -getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set both
74.25 -__have_sock_cloexec and __have_pipe2 to true. but if glibc was built against
74.26 -older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS
74.27 -stub for it. so popen() will always fail as glibc assumes pipe2() works.
74.28 -
74.29 --= END original header =-
74.30 -
74.31 -diff -durN glibc-2_9.orig/include/unistd.h glibc-2_9/include/unistd.h
74.32 ---- glibc-2_9.orig/include/unistd.h 2008-07-27 20:23:17.000000000 +0200
74.33 -+++ glibc-2_9/include/unistd.h 2009-02-02 22:01:05.000000000 +0100
74.34 -@@ -167,9 +167,6 @@
74.35 - extern int __pause_nocancel (void) attribute_hidden;
74.36 -
74.37 - extern int __have_sock_cloexec;
74.38 --/* At lot of other functionality became available at the same time as
74.39 -- SOCK_CLOEXEC. Avoid defining separate variables for all of them
74.40 -- unless it is really necessary. */
74.41 --#define __have_pipe2 __have_sock_cloexec
74.42 -+extern int __have_pipe2;
74.43 -
74.44 - #endif
74.45 -diff -durN glibc-2_9.orig/socket/have_sock_cloexec.c glibc-2_9/socket/have_sock_cloexec.c
74.46 ---- glibc-2_9.orig/socket/have_sock_cloexec.c 2008-07-25 18:46:23.000000000 +0200
74.47 -+++ glibc-2_9/socket/have_sock_cloexec.c 2009-02-02 22:01:05.000000000 +0100
74.48 -@@ -16,9 +16,14 @@
74.49 - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
74.50 - 02111-1307 USA. */
74.51 -
74.52 -+#include <fcntl.h>
74.53 - #include <sys/socket.h>
74.54 - #include <kernel-features.h>
74.55 -
74.56 - #if defined SOCK_CLOEXEC && !defined __ASSUME_SOCK_CLOEXEC
74.57 - int __have_sock_cloexec;
74.58 - #endif
74.59 -+
74.60 -+#if defined O_CLOEXEC && !defined __ASSUME_PIPE2
74.61 -+int __have_pipe2;
74.62 -+#endif
75.1 --- a/patches/glibc/2_9/330-2.3.3-china.patch Sat Apr 11 19:03:02 2009 +0000
75.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
75.3 @@ -1,35 +0,0 @@
75.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1100_all_glibc-2.3.3-china.patch
75.5 -
75.6 --= BEGIN original header =-
75.7 --= END original header =-
75.8 -
75.9 -diff -durN glibc-2_9.orig/localedata/locales/zh_TW glibc-2_9/localedata/locales/zh_TW
75.10 ---- glibc-2_9.orig/localedata/locales/zh_TW 2004-11-01 00:42:28.000000000 +0100
75.11 -+++ glibc-2_9/localedata/locales/zh_TW 2009-02-02 22:01:06.000000000 +0100
75.12 -@@ -1,7 +1,7 @@
75.13 - comment_char %
75.14 - escape_char /
75.15 - %
75.16 --% Chinese language locale for Taiwan R.O.C.
75.17 -+% Chinese language locale for Taiwan
75.18 - % charmap: BIG5-CP950
75.19 - %
75.20 - % Original Author:
75.21 -@@ -17,7 +17,7 @@
75.22 - % Reference: http://wwwold.dkuug.dk/JTC1/SC22/WG20/docs/n690.pdf
75.23 -
75.24 - LC_IDENTIFICATION
75.25 --title "Chinese locale for Taiwan R.O.C."
75.26 -+title "Chinese locale for Taiwan"
75.27 - source ""
75.28 - address ""
75.29 - contact ""
75.30 -@@ -25,7 +25,7 @@
75.31 - tel ""
75.32 - fax ""
75.33 - language "Chinese"
75.34 --territory "Taiwan R.O.C."
75.35 -+territory "Taiwan"
75.36 - revision "0.2"
75.37 - date "2000-08-02"
75.38 - %
76.1 --- a/patches/glibc/2_9/340-new-valencian-locale.patch Sat Apr 11 19:03:02 2009 +0000
76.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
76.3 @@ -1,120 +0,0 @@
76.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1103_all_glibc-new-valencian-locale.patch
76.5 -
76.6 --= BEGIN original header =-
76.7 -http://bugs.gentoo.org/show_bug.cgi?id=131815
76.8 -http://sourceware.org/bugzilla/show_bug.cgi?id=2522
76.9 -
76.10 --= END original header =-
76.11 -
76.12 -diff -durN glibc-2_9.orig/localedata/SUPPORTED glibc-2_9/localedata/SUPPORTED
76.13 ---- glibc-2_9.orig/localedata/SUPPORTED 2008-09-16 23:24:57.000000000 +0200
76.14 -+++ glibc-2_9/localedata/SUPPORTED 2009-02-02 22:01:08.000000000 +0100
76.15 -@@ -72,6 +72,8 @@
76.16 - ca_ES.UTF-8/UTF-8 \
76.17 - ca_ES/ISO-8859-1 \
76.18 - ca_ES@euro/ISO-8859-15 \
76.19 -+ca_ES.UTF-8@valencia/UTF-8 \
76.20 -+ca_ES@valencia/ISO-8859-15 \
76.21 - ca_FR.UTF-8/UTF-8 \
76.22 - ca_FR/ISO-8859-15 \
76.23 - ca_IT.UTF-8/UTF-8 \
76.24 -diff -durN glibc-2_9.orig/localedata/locales/ca_ES@valencia glibc-2_9/localedata/locales/ca_ES@valencia
76.25 ---- glibc-2_9.orig/localedata/locales/ca_ES@valencia 1970-01-01 01:00:00.000000000 +0100
76.26 -+++ glibc-2_9/localedata/locales/ca_ES@valencia 2009-02-02 22:01:08.000000000 +0100
76.27 -@@ -0,0 +1,96 @@
76.28 -+comment_char %
76.29 -+escape_char /
76.30 -+%
76.31 -+% Valencian (southern Catalan) locale for Spain with Euro
76.32 -+%
76.33 -+% Note that this locale is almost the same as ca_ES@euro. The point of having
76.34 -+% a separate locale is only for PO translations, which have a lot of social
76.35 -+% support and are very appreciated by the Valencian-speaking community.
76.36 -+%
76.37 -+% Contact: Jordi Mallach
76.38 -+% Email: jordi@gnu.org
76.39 -+% Tel:
76.40 -+% Fax:
76.41 -+% Language: ca
76.42 -+% Territory: ES
76.43 -+% Option: euro
76.44 -+% Revision: 1.0
76.45 -+% Date: 2006-04-06
76.46 -+% Application: general
76.47 -+% Users: general
76.48 -+% Repertoiremap: mnemonic,ds
76.49 -+% Charset: ISO-8859-15
76.50 -+% Distribution and use is free, also
76.51 -+% for commercial purposes.
76.52 -+
76.53 -+LC_IDENTIFICATION
76.54 -+title "Valencian (southern Catalan) locale for Spain with Euro"
76.55 -+source ""
76.56 -+address ""
76.57 -+contact "Jordi Mallach"
76.58 -+email "jordi@gnu.org"
76.59 -+tel ""
76.60 -+fax ""
76.61 -+language "Catalan"
76.62 -+territory "Spain"
76.63 -+revision "1.0"
76.64 -+date "2006-04-06"
76.65 -+%
76.66 -+category "ca_ES@valencia:2006";LC_IDENTIFICATION
76.67 -+category "ca_ES@valencia:2006";LC_CTYPE
76.68 -+category "ca_ES@valencia:2006";LC_COLLATE
76.69 -+category "ca_ES@valencia:2006";LC_MONETARY
76.70 -+category "ca_ES@valencia:2006";LC_NUMERIC
76.71 -+category "ca_ES@valencia:2006";LC_TIME
76.72 -+category "ca_ES@valencia:2006";LC_MESSAGES
76.73 -+category "ca_ES@valencia:2006";LC_PAPER
76.74 -+category "ca_ES@valencia:2006";LC_NAME
76.75 -+category "ca_ES@valencia:2006";LC_ADDRESS
76.76 -+category "ca_ES@valencia:2006";LC_TELEPHONE
76.77 -+category "ca_ES@valencia:2006";LC_MEASUREMENT
76.78 -+
76.79 -+END LC_IDENTIFICATION
76.80 -+
76.81 -+LC_CTYPE
76.82 -+copy "i18n"
76.83 -+END LC_CTYPE
76.84 -+
76.85 -+LC_COLLATE
76.86 -+copy "ca_ES"
76.87 -+END LC_COLLATE
76.88 -+
76.89 -+LC_MONETARY
76.90 -+copy "ca_ES"
76.91 -+END LC_MONETARY
76.92 -+
76.93 -+LC_NUMERIC
76.94 -+copy "ca_ES"
76.95 -+END LC_NUMERIC
76.96 -+
76.97 -+LC_TIME
76.98 -+copy "ca_ES"
76.99 -+END LC_TIME
76.100 -+
76.101 -+LC_MESSAGES
76.102 -+copy "ca_ES"
76.103 -+END LC_MESSAGES
76.104 -+
76.105 -+LC_PAPER
76.106 -+copy "ca_ES"
76.107 -+END LC_PAPER
76.108 -+
76.109 -+LC_NAME
76.110 -+copy "ca_ES"
76.111 -+END LC_NAME
76.112 -+
76.113 -+LC_ADDRESS
76.114 -+copy "ca_ES"
76.115 -+END LC_ADDRESS
76.116 -+
76.117 -+LC_TELEPHONE
76.118 -+copy "ca_ES"
76.119 -+END LC_TELEPHONE
76.120 -+
76.121 -+LC_MEASUREMENT
76.122 -+copy "ca_ES"
76.123 -+END LC_MEASUREMENT
77.1 --- a/patches/glibc/2_9/350-2.4-undefine-__i686.patch Sat Apr 11 19:03:02 2009 +0000
77.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
77.3 @@ -1,47 +0,0 @@
77.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1130_all_glibc-2.4-undefine-__i686.patch
77.5 -
77.6 --= BEGIN original header =-
77.7 -If gcc is configured to generate i686 code or better by default (like
77.8 -when using the --with-arch=pentium3 configure option), then the __i686
77.9 -macro will always be defined automatically and thus screw up the
77.10 -compilation of some .S files.
77.11 -http://bugs.gentoo.org/131108
77.12 -http://sourceware.org/ml/libc-alpha/2006-04/msg00090.html
77.13 -
77.14 -2006-04-25 Mike Frysinger <vapier@gentoo.org>
77.15 -
77.16 - * sysdeps/i386/sysdep.h (__i686): Undefine.
77.17 -
77.18 --= END original header =-
77.19 -
77.20 -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c
77.21 ---- glibc-2_9.orig/nptl/sysdeps/pthread/pt-initfini.c 2007-06-17 20:02:01.000000000 +0200
77.22 -+++ glibc-2_9/nptl/sysdeps/pthread/pt-initfini.c 2009-02-02 22:01:09.000000000 +0100
77.23 -@@ -45,6 +45,9 @@
77.24 - /* Embed an #include to pull in the alignment and .end directives. */
77.25 - asm ("\n#include \"defs.h\"");
77.26 -
77.27 -+/* Embed an #include to pull in asm settings. */
77.28 -+asm ("\n#ifdef __i686__\n#include <sysdep.h>\n#endif");
77.29 -+
77.30 - /* The initial common code ends here. */
77.31 - asm ("\n/*@HEADER_ENDS*/");
77.32 -
77.33 -diff -durN glibc-2_9.orig/sysdeps/i386/sysdep.h glibc-2_9/sysdeps/i386/sysdep.h
77.34 ---- glibc-2_9.orig/sysdeps/i386/sysdep.h 2006-10-28 08:44:03.000000000 +0200
77.35 -+++ glibc-2_9/sysdeps/i386/sysdep.h 2009-02-02 22:01:09.000000000 +0100
77.36 -@@ -18,6 +18,14 @@
77.37 - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
77.38 - 02111-1307 USA. */
77.39 -
77.40 -+/*
77.41 -+ * When building for i686 targets or better, gcc automatically defines
77.42 -+ * '__i686' to '1' for us which causes trouble when using section names
77.43 -+ * like '__i686.get_pc_thunk.reg'. Since we check for __i686__ in the
77.44 -+ * code, killing '__i686' shouldn't be a problem.
77.45 -+ */
77.46 -+#undef __i686
77.47 -+
77.48 - #include <sysdeps/generic/sysdep.h>
77.49 -
77.50 - #ifdef __ASSEMBLER__
78.1 --- a/patches/glibc/2_9/360-2.8-nscd-one-fork.patch Sat Apr 11 19:03:02 2009 +0000
78.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
78.3 @@ -1,45 +0,0 @@
78.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1160_all_glibc-2.8-nscd-one-fork.patch
78.5 -
78.6 --= BEGIN original header =-
78.7 -only fork one to assist in stop-start-daemon assumptions about daemon behavior
78.8 -
78.9 -http://bugs.gentoo.org/190785
78.10 -
78.11 --= END original header =-
78.12 -
78.13 -diff -durN glibc-2_9.orig/nscd/nscd.c glibc-2_9/nscd/nscd.c
78.14 ---- glibc-2_9.orig/nscd/nscd.c 2008-03-29 19:08:12.000000000 +0100
78.15 -+++ glibc-2_9/nscd/nscd.c 2009-02-02 22:01:10.000000000 +0100
78.16 -@@ -179,6 +179,9 @@
78.17 - if (pid != 0)
78.18 - exit (0);
78.19 -
78.20 -+ if (write_pid (_PATH_NSCDPID) < 0)
78.21 -+ dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
78.22 -+
78.23 - int nullfd = open (_PATH_DEVNULL, O_RDWR);
78.24 - if (nullfd != -1)
78.25 - {
78.26 -@@ -228,12 +231,6 @@
78.27 - for (i = min_close_fd; i < getdtablesize (); i++)
78.28 - close (i);
78.29 -
78.30 -- pid = fork ();
78.31 -- if (pid == -1)
78.32 -- error (EXIT_FAILURE, errno, _("cannot fork"));
78.33 -- if (pid != 0)
78.34 -- exit (0);
78.35 --
78.36 - setsid ();
78.37 -
78.38 - if (chdir ("/") != 0)
78.39 -@@ -242,9 +239,6 @@
78.40 -
78.41 - openlog ("nscd", LOG_CONS | LOG_ODELAY, LOG_DAEMON);
78.42 -
78.43 -- if (write_pid (_PATH_NSCDPID) < 0)
78.44 -- dbg_log ("%s: %s", _PATH_NSCDPID, strerror (errno));
78.45 --
78.46 - if (!init_logfile ())
78.47 - dbg_log (_("Could not create log file"));
78.48 -
79.1 --- a/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch Sat Apr 11 19:03:02 2009 +0000
79.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
79.3 @@ -1,249 +0,0 @@
79.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/1503_hppa_glibc-2.7-hppa-nptl-carlos.patch
79.5 -
79.6 --= BEGIN original header =-
79.7 --= END original header =-
79.8 -
79.9 -diff -durN glibc-2_9.orig/elf/rtld.c glibc-2_9/elf/rtld.c
79.10 ---- glibc-2_9.orig/elf/rtld.c 2009-02-02 22:00:34.000000000 +0100
79.11 -+++ glibc-2_9/elf/rtld.c 2009-02-02 22:01:12.000000000 +0100
79.12 -@@ -386,14 +386,14 @@
79.13 - know it is available. We do not have to clear the memory if we
79.14 - do not have to use the temporary bootstrap_map. Global variables
79.15 - are initialized to zero by default. */
79.16 --#ifndef DONT_USE_BOOTSTRAP_MAP
79.17 -+#if !defined DONT_USE_BOOTSTRAP_MAP
79.18 - # ifdef HAVE_BUILTIN_MEMSET
79.19 - __builtin_memset (bootstrap_map.l_info, '\0', sizeof (bootstrap_map.l_info));
79.20 - # else
79.21 -- for (size_t cnt = 0;
79.22 -- cnt < sizeof (bootstrap_map.l_info) / sizeof (bootstrap_map.l_info[0]);
79.23 -- ++cnt)
79.24 -- bootstrap_map.l_info[cnt] = 0;
79.25 -+ /* Clear the whole bootstrap_map structure */
79.26 -+ for (char *cnt = (char *)&(bootstrap_map);
79.27 -+ cnt < ((char *)&(bootstrap_map) + sizeof (bootstrap_map));
79.28 -+ *cnt++ = '\0');
79.29 - # endif
79.30 - # if USE___THREAD
79.31 - bootstrap_map.l_tls_modid = 0;
79.32 -diff -durN glibc-2_9.orig/include/atomic.h glibc-2_9/include/atomic.h
79.33 ---- glibc-2_9.orig/include/atomic.h 2006-12-21 22:44:00.000000000 +0100
79.34 -+++ glibc-2_9/include/atomic.h 2009-02-02 22:01:12.000000000 +0100
79.35 -@@ -174,7 +174,7 @@
79.36 - __typeof (*(mem)) __atg5_value = (newvalue); \
79.37 - \
79.38 - do \
79.39 -- __atg5_oldval = *__atg5_memp; \
79.40 -+ __atg5_oldval = *(volatile __typeof (mem))__atg5_memp; \
79.41 - while (__builtin_expect \
79.42 - (atomic_compare_and_exchange_bool_acq (__atg5_memp, __atg5_value, \
79.43 - __atg5_oldval), 0)); \
79.44 -@@ -195,7 +195,7 @@
79.45 - __typeof (*(mem)) __atg6_value = (value); \
79.46 - \
79.47 - do \
79.48 -- __atg6_oldval = *__atg6_memp; \
79.49 -+ __atg6_oldval = *(volatile __typeof (mem))__atg6_memp; \
79.50 - while (__builtin_expect \
79.51 - (atomic_compare_and_exchange_bool_acq (__atg6_memp, \
79.52 - __atg6_oldval \
79.53 -@@ -213,7 +213,7 @@
79.54 - __typeof (*(mem)) __atg7_value = (value); \
79.55 - \
79.56 - do \
79.57 -- __atg7_oldv = *__atg7_memp; \
79.58 -+ __atg7_oldv = *(volatile __typeof (mem))__atg7_memp; \
79.59 - while (__builtin_expect \
79.60 - (catomic_compare_and_exchange_bool_acq (__atg7_memp, \
79.61 - __atg7_oldv \
79.62 -@@ -231,7 +231,7 @@
79.63 - __typeof (mem) __atg8_memp = (mem); \
79.64 - __typeof (*(mem)) __atg8_value = (value); \
79.65 - do { \
79.66 -- __atg8_oldval = *__atg8_memp; \
79.67 -+ __atg8_oldval = *(volatile __typeof (mem))__atg8_memp; \
79.68 - if (__atg8_oldval >= __atg8_value) \
79.69 - break; \
79.70 - } while (__builtin_expect \
79.71 -@@ -248,7 +248,7 @@
79.72 - __typeof (mem) __atg9_memp = (mem); \
79.73 - __typeof (*(mem)) __atg9_value = (value); \
79.74 - do { \
79.75 -- __atg9_oldv = *__atg9_memp; \
79.76 -+ __atg9_oldv = *(volatile __typeof (mem))__atg9_memp; \
79.77 - if (__atg9_oldv >= __atg9_value) \
79.78 - break; \
79.79 - } while (__builtin_expect \
79.80 -@@ -266,7 +266,7 @@
79.81 - __typeof (mem) __atg10_memp = (mem); \
79.82 - __typeof (*(mem)) __atg10_value = (value); \
79.83 - do { \
79.84 -- __atg10_oldval = *__atg10_memp; \
79.85 -+ __atg10_oldval = *(volatile __typeof (mem))__atg10_memp; \
79.86 - if (__atg10_oldval <= __atg10_value) \
79.87 - break; \
79.88 - } while (__builtin_expect \
79.89 -@@ -350,7 +350,7 @@
79.90 - \
79.91 - do \
79.92 - { \
79.93 -- __atg11_oldval = *__atg11_memp; \
79.94 -+ __atg11_oldval = *(volatile __typeof (mem))__atg11_memp; \
79.95 - if (__builtin_expect (__atg11_oldval <= 0, 0)) \
79.96 - break; \
79.97 - } \
79.98 -@@ -389,7 +389,7 @@
79.99 - __typeof (*(mem)) __atg14_mask = ((__typeof (*(mem))) 1 << (bit)); \
79.100 - \
79.101 - do \
79.102 -- __atg14_old = (*__atg14_memp); \
79.103 -+ __atg14_old = (*(volatile __typeof (mem))__atg14_memp); \
79.104 - while (__builtin_expect \
79.105 - (atomic_compare_and_exchange_bool_acq (__atg14_memp, \
79.106 - __atg14_old | __atg14_mask,\
79.107 -@@ -407,7 +407,7 @@
79.108 - __typeof (*(mem)) __atg15_mask = (mask); \
79.109 - \
79.110 - do \
79.111 -- __atg15_old = (*__atg15_memp); \
79.112 -+ __atg15_old = (*(volatile __typeof (mem))__atg15_memp); \
79.113 - while (__builtin_expect \
79.114 - (atomic_compare_and_exchange_bool_acq (__atg15_memp, \
79.115 - __atg15_old & __atg15_mask, \
79.116 -@@ -423,7 +423,7 @@
79.117 - __typeof (*(mem)) __atg16_mask = (mask); \
79.118 - \
79.119 - do \
79.120 -- __atg16_old = (*__atg16_memp); \
79.121 -+ __atg16_old = (*(volatile __typeof (mem))__atg16_memp); \
79.122 - while (__builtin_expect \
79.123 - (atomic_compare_and_exchange_bool_acq (__atg16_memp, \
79.124 - __atg16_old & __atg16_mask,\
79.125 -@@ -441,7 +441,7 @@
79.126 - __typeof (*(mem)) __atg17_mask = (mask); \
79.127 - \
79.128 - do \
79.129 -- __atg17_old = (*__atg17_memp); \
79.130 -+ __atg17_old = (*(volatile __typeof (mem))__atg17_memp); \
79.131 - while (__builtin_expect \
79.132 - (atomic_compare_and_exchange_bool_acq (__atg17_memp, \
79.133 - __atg17_old | __atg17_mask, \
79.134 -@@ -457,7 +457,7 @@
79.135 - __typeof (*(mem)) __atg18_mask = (mask); \
79.136 - \
79.137 - do \
79.138 -- __atg18_old = (*__atg18_memp); \
79.139 -+ __atg18_old = (*(volatile __typeof (mem))__atg18_memp); \
79.140 - while (__builtin_expect \
79.141 - (catomic_compare_and_exchange_bool_acq (__atg18_memp, \
79.142 - __atg18_old | __atg18_mask,\
79.143 -@@ -473,7 +473,7 @@
79.144 - __typeof (*(mem)) __atg19_mask = (mask); \
79.145 - \
79.146 - do \
79.147 -- __atg19_old = (*__atg19_memp); \
79.148 -+ __atg19_old = (*(volatile __typeof (mem))__atg19_memp); \
79.149 - while (__builtin_expect \
79.150 - (atomic_compare_and_exchange_bool_acq (__atg19_memp, \
79.151 - __atg19_old | __atg19_mask,\
79.152 -diff -durN glibc-2_9.orig/nptl/Makefile glibc-2_9/nptl/Makefile
79.153 ---- glibc-2_9.orig/nptl/Makefile 2008-11-12 14:38:23.000000000 +0100
79.154 -+++ glibc-2_9/nptl/Makefile 2009-02-02 22:01:12.000000000 +0100
79.155 -@@ -262,9 +262,9 @@
79.156 - # Files which must not be linked with libpthread.
79.157 - tests-nolibpthread = tst-unload
79.158 -
79.159 --# This sets the stack resource limit to 1023kb, which is not a multiple
79.160 --# of the page size since every architecture's page size is > 1k.
79.161 --tst-oddstacklimit-ENV = ; ulimit -s 1023;
79.162 -+# This sets the stack resource limit to 8193kb, which is not a multiple
79.163 -+# of the page size since every architecture's page size is 4096 bytes.
79.164 -+tst-oddstacklimit-ENV = ; ulimit -s 8193;
79.165 -
79.166 - distribute = eintr.c tst-cleanup4aux.c
79.167 -
79.168 -@@ -423,6 +423,35 @@
79.169 - CFLAGS-tst-cleanupx4.c += -fexceptions
79.170 - CFLAGS-tst-oncex3.c += -fexceptions
79.171 - CFLAGS-tst-oncex4.c += -fexceptions
79.172 -+
79.173 -+ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed
79.174 -+LDFLAGS-tst-cancelx2 += $(ldflags-libgcc_s)
79.175 -+LDFLAGS-tst-cancelx3 += $(ldflags-libgcc_s)
79.176 -+LDFLAGS-tst-cancelx4 += $(ldflags-libgcc_s)
79.177 -+LDFLAGS-tst-cancelx5 += $(ldflags-libgcc_s)
79.178 -+LDFLAGS-tst-cancelx6 += $(ldflags-libgcc_s)
79.179 -+LDFLAGS-tst-cancelx7 += $(ldflags-libgcc_s)
79.180 -+LDFLAGS-tst-cancelx8 += $(ldflags-libgcc_s)
79.181 -+LDFLAGS-tst-cancelx9 += $(ldflags-libgcc_s)
79.182 -+LDFLAGS-tst-cancelx10 += $(ldflags-libgcc_s)
79.183 -+LDFLAGS-tst-cancelx11 += $(ldflags-libgcc_s)
79.184 -+LDFLAGS-tst-cancelx12 += $(ldflags-libgcc_s)
79.185 -+LDFLAGS-tst-cancelx13 += $(ldflags-libgcc_s)
79.186 -+LDFLAGS-tst-cancelx14 += $(ldflags-libgcc_s)
79.187 -+LDFLAGS-tst-cancelx15 += $(ldflags-libgcc_s)
79.188 -+LDFLAGS-tst-cancelx16 += $(ldflags-libgcc_s)
79.189 -+LDFLAGS-tst-cancelx17 += $(ldflags-libgcc_s)
79.190 -+LDFLAGS-tst-cancelx18 += $(ldflags-libgcc_s)
79.191 -+LDFLAGS-tst-cancelx20 += $(ldflags-libgcc_s)
79.192 -+LDFLAGS-tst-cancelx21 += $(ldflags-libgcc_s)
79.193 -+LDFLAGS-tst-cleanupx0 += $(ldflags-libgcc_s)
79.194 -+LDFLAGS-tst-cleanupx1 += $(ldflags-libgcc_s)
79.195 -+LDFLAGS-tst-cleanupx2 += $(ldflags-libgcc_s)
79.196 -+LDFLAGS-tst-cleanupx3 += $(ldflags-libgcc_s)
79.197 -+LDFLAGS-tst-cleanupx4 += $(ldflags-libgcc_s)
79.198 -+LDFLAGS-tst-oncex3 += $(ldflags-libgcc_s)
79.199 -+LDFLAGS-tst-oncex4 += $(ldflags-libgcc_s)
79.200 -+
79.201 - CFLAGS-tst-align.c += $(stack-align-test-flags)
79.202 - CFLAGS-tst-align3.c += $(stack-align-test-flags)
79.203 - CFLAGS-tst-initializers1.c = -W -Wall -Werror
79.204 -diff -durN glibc-2_9.orig/nptl/pthread_barrier_wait.c glibc-2_9/nptl/pthread_barrier_wait.c
79.205 ---- glibc-2_9.orig/nptl/pthread_barrier_wait.c 2007-08-01 06:18:50.000000000 +0200
79.206 -+++ glibc-2_9/nptl/pthread_barrier_wait.c 2009-02-02 22:01:12.000000000 +0100
79.207 -@@ -64,7 +64,7 @@
79.208 - do
79.209 - lll_futex_wait (&ibarrier->curr_event, event,
79.210 - ibarrier->private ^ FUTEX_PRIVATE_FLAG);
79.211 -- while (event == ibarrier->curr_event);
79.212 -+ while (event == *(volatile unsigned int *)&ibarrier->curr_event);
79.213 - }
79.214 -
79.215 - /* Make sure the init_count is stored locally or in a register. */
79.216 -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/Makefile glibc-2_9/nptl/sysdeps/pthread/Makefile
79.217 ---- glibc-2_9.orig/nptl/sysdeps/pthread/Makefile 2006-02-28 08:09:41.000000000 +0100
79.218 -+++ glibc-2_9/nptl/sysdeps/pthread/Makefile 2009-02-02 22:01:12.000000000 +0100
79.219 -@@ -41,7 +41,9 @@
79.220 -
79.221 - ifeq ($(have-forced-unwind),yes)
79.222 - tests += tst-mqueue8x
79.223 -+ldflags-libgcc_s = --as-needed -lgcc_s --no-as-needed
79.224 - CFLAGS-tst-mqueue8x.c += -fexceptions
79.225 -+LDFLAGS-tst-mqueue8x += $(ldflags-libgcc_s)
79.226 - endif
79.227 - endif
79.228 -
79.229 -diff -durN glibc-2_9.orig/stdio-common/Makefile glibc-2_9/stdio-common/Makefile
79.230 ---- glibc-2_9.orig/stdio-common/Makefile 2008-07-08 18:32:28.000000000 +0200
79.231 -+++ glibc-2_9/stdio-common/Makefile 2009-02-02 22:01:12.000000000 +0100
79.232 -@@ -80,7 +80,7 @@
79.233 - $(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)'
79.234 - endif
79.235 -
79.236 --CFLAGS-vfprintf.c = -Wno-uninitialized
79.237 -+CFLAGS-vfprintf.c = -Wno-uninitialized -fno-delayed-branch
79.238 - CFLAGS-vfwprintf.c = -Wno-uninitialized
79.239 - CFLAGS-tst-printf.c = -Wno-format
79.240 - CFLAGS-tstdiomisc.c = -Wno-format
79.241 -diff -durN glibc-2_9.orig/sunrpc/clnt_udp.c glibc-2_9/sunrpc/clnt_udp.c
79.242 ---- glibc-2_9.orig/sunrpc/clnt_udp.c 2008-07-26 10:42:44.000000000 +0200
79.243 -+++ glibc-2_9/sunrpc/clnt_udp.c 2009-02-02 22:01:12.000000000 +0100
79.244 -@@ -462,7 +462,7 @@
79.245 - while (inlen < 0 && errno == EINTR);
79.246 - if (inlen < 0)
79.247 - {
79.248 -- if (errno == EWOULDBLOCK)
79.249 -+ if (errno == EWOULDBLOCK || errno == EAGAIN)
79.250 - continue;
79.251 - cu->cu_error.re_errno = errno;
79.252 - return (cu->cu_error.re_status = RPC_CANTRECV);
80.1 --- a/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch Sat Apr 11 19:03:02 2009 +0000
80.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
80.3 @@ -1,71 +0,0 @@
80.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/3000_all_2.3.6-dl_execstack-PaX-support.patch
80.5 -
80.6 --= BEGIN original header =-
80.7 - With latest versions of glibc, a lot of apps failed on a PaX enabled
80.8 - system with:
80.9 - cannot enable executable stack as shared object requires: Permission denied
80.10 -
80.11 - This is due to PaX 'exec-protecting' the stack, and ld.so then trying
80.12 - to make the stack executable due to some libraries not containing the
80.13 - PT_GNU_STACK section. Bug #32960. <azarah@gentoo.org> (12 Nov 2003).
80.14 -
80.15 - Patch also NPTL. Bug #116086. <kevquinn@gentoo.org> (20 Dec 2005).
80.16 -
80.17 --= END original header =-
80.18 -
80.19 -diff -durN glibc-2_9.orig/nptl/allocatestack.c glibc-2_9/nptl/allocatestack.c
80.20 ---- glibc-2_9.orig/nptl/allocatestack.c 2008-08-16 00:35:27.000000000 +0200
80.21 -+++ glibc-2_9/nptl/allocatestack.c 2009-02-02 22:01:20.000000000 +0100
80.22 -@@ -299,7 +299,8 @@
80.23 - # error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP"
80.24 - #endif
80.25 - if (mprotect (stack, len, PROT_READ | PROT_WRITE | PROT_EXEC) != 0)
80.26 -- return errno;
80.27 -+ if (errno != EACCES) /* PAX is enabled */
80.28 -+ return errno;
80.29 -
80.30 - return 0;
80.31 - }
80.32 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c
80.33 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/dl-execstack.c 2006-01-08 09:21:15.000000000 +0100
80.34 -+++ glibc-2_9/sysdeps/unix/sysv/linux/dl-execstack.c 2009-02-02 22:01:20.000000000 +0100
80.35 -@@ -63,7 +63,10 @@
80.36 - else
80.37 - # endif
80.38 - {
80.39 -- result = errno;
80.40 -+ if (errno == EACCES) /* PAX is enabled */
80.41 -+ result = 0;
80.42 -+ else
80.43 -+ result = errno;
80.44 - goto out;
80.45 - }
80.46 - }
80.47 -@@ -89,7 +92,12 @@
80.48 - page -= size;
80.49 - else
80.50 - {
80.51 -- if (errno != ENOMEM) /* Unexpected failure mode. */
80.52 -+ if (errno == EACCES) /* PAX is enabled */
80.53 -+ {
80.54 -+ result = 0;
80.55 -+ goto out;
80.56 -+ }
80.57 -+ else if (errno != ENOMEM) /* Unexpected failure mode. */
80.58 - {
80.59 - result = errno;
80.60 - goto out;
80.61 -@@ -115,7 +123,12 @@
80.62 - page += size;
80.63 - else
80.64 - {
80.65 -- if (errno != ENOMEM) /* Unexpected failure mode. */
80.66 -+ if (errno == EACCES) /* PAX is enabled */
80.67 -+ {
80.68 -+ result = 0;
80.69 -+ goto out;
80.70 -+ }
80.71 -+ else if (errno != ENOMEM) /* Unexpected failure mode. */
80.72 - {
80.73 - result = errno;
80.74 - goto out;
81.1 --- a/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch Sat Apr 11 19:03:02 2009 +0000
81.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
81.3 @@ -1,35 +0,0 @@
81.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/3010_all_2.3.3_pre20040117-pt_pax.patch
81.5 -
81.6 --= BEGIN original header =-
81.7 --= END original header =-
81.8 -
81.9 -diff -durN glibc-2_9.orig/elf/elf.h glibc-2_9/elf/elf.h
81.10 ---- glibc-2_9.orig/elf/elf.h 2008-10-01 21:41:34.000000000 +0200
81.11 -+++ glibc-2_9/elf/elf.h 2009-02-02 22:01:21.000000000 +0100
81.12 -@@ -571,6 +571,7 @@
81.13 - #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
81.14 - #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
81.15 - #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
81.16 -+#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */
81.17 - #define PT_LOSUNW 0x6ffffffa
81.18 - #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
81.19 - #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */
81.20 -@@ -584,6 +585,18 @@
81.21 - #define PF_X (1 << 0) /* Segment is executable */
81.22 - #define PF_W (1 << 1) /* Segment is writable */
81.23 - #define PF_R (1 << 2) /* Segment is readable */
81.24 -+#define PF_PAGEEXEC (1 << 4) /* Enable PAGEEXEC */
81.25 -+#define PF_NOPAGEEXEC (1 << 5) /* Disable PAGEEXEC */
81.26 -+#define PF_SEGMEXEC (1 << 6) /* Enable SEGMEXEC */
81.27 -+#define PF_NOSEGMEXEC (1 << 7) /* Disable SEGMEXEC */
81.28 -+#define PF_MPROTECT (1 << 8) /* Enable MPROTECT */
81.29 -+#define PF_NOMPROTECT (1 << 9) /* Disable MPROTECT */
81.30 -+#define PF_RANDEXEC (1 << 10) /* Enable RANDEXEC */
81.31 -+#define PF_NORANDEXEC (1 << 11) /* Disable RANDEXEC */
81.32 -+#define PF_EMUTRAMP (1 << 12) /* Enable EMUTRAMP */
81.33 -+#define PF_NOEMUTRAMP (1 << 13) /* Disable EMUTRAMP */
81.34 -+#define PF_RANDMMAP (1 << 14) /* Enable RANDMMAP */
81.35 -+#define PF_NORANDMMAP (1 << 15) /* Disable RANDMMAP */
81.36 - #define PF_MASKOS 0x0ff00000 /* OS-specific */
81.37 - #define PF_MASKPROC 0xf0000000 /* Processor-specific */
81.38 -
82.1 --- a/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch Sat Apr 11 19:03:02 2009 +0000
82.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
82.3 @@ -1,198 +0,0 @@
82.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/3020_all_glibc-tests-sandbox-libdl-paths.patch
82.5 -
82.6 --= BEGIN original header =-
82.7 -when glibc runs its tests, it does so by invoking the local library loader.
82.8 -in Gentoo, we build/run inside of our "sandbox" which itself is linked against
82.9 -libdl (so that it can load libraries and pull out symbols). the trouble
82.10 -is that when you upgrade from an older glibc to the new one, often times
82.11 -internal symbols change name or abi. this is normally OK as you cannot use
82.12 -libc.so from say version 2.3.6 but libpthread.so from say version 2.5, so
82.13 -we always say "keep all of the glibc libraries from the same build". but
82.14 -when glibc runs its tests, it uses dynamic paths to point to its new local
82.15 -copies of libraries. if the test doesnt use libdl, then glibc doesnt add
82.16 -its path, and when sandbox triggers the loading of libdl, glibc does so
82.17 -from the host system system. this gets us into the case of all libraries
82.18 -are from the locally compiled version of glibc except for libdl.so.
82.19 -
82.20 -Fix by Wormo
82.21 -
82.22 -http://bugs.gentoo.org/56898
82.23 -
82.24 --= END original header =-
82.25 -
82.26 -diff -durN glibc-2_9.orig/grp/tst_fgetgrent.sh glibc-2_9/grp/tst_fgetgrent.sh
82.27 ---- glibc-2_9.orig/grp/tst_fgetgrent.sh 2001-07-06 06:54:46.000000000 +0200
82.28 -+++ glibc-2_9/grp/tst_fgetgrent.sh 2009-02-02 22:01:23.000000000 +0100
82.29 -@@ -24,7 +24,8 @@
82.30 - rtld_installed_name=$1; shift
82.31 -
82.32 - testout=${common_objpfx}/grp/tst_fgetgrent.out
82.33 --library_path=${common_objpfx}
82.34 -+# make sure libdl is also in path in case sandbox is in use
82.35 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.36 -
82.37 - result=0
82.38 -
82.39 -diff -durN glibc-2_9.orig/iconvdata/run-iconv-test.sh glibc-2_9/iconvdata/run-iconv-test.sh
82.40 ---- glibc-2_9.orig/iconvdata/run-iconv-test.sh 2008-05-15 03:59:44.000000000 +0200
82.41 -+++ glibc-2_9/iconvdata/run-iconv-test.sh 2009-02-02 22:01:23.000000000 +0100
82.42 -@@ -34,7 +34,7 @@
82.43 - export GCONV_PATH
82.44 -
82.45 - # We have to have some directories in the library path.
82.46 --LIBPATH=$codir:$codir/iconvdata
82.47 -+LIBPATH=$codir:$codir/iconvdata:$codir/dlfcn
82.48 -
82.49 - # How the start the iconv(1) program.
82.50 - ICONV='$codir/elf/ld.so --library-path $LIBPATH --inhibit-rpath ${from}.so \
82.51 -diff -durN glibc-2_9.orig/iconvdata/tst-table.sh glibc-2_9/iconvdata/tst-table.sh
82.52 ---- glibc-2_9.orig/iconvdata/tst-table.sh 2002-04-24 23:39:35.000000000 +0200
82.53 -+++ glibc-2_9/iconvdata/tst-table.sh 2009-02-02 22:01:23.000000000 +0100
82.54 -@@ -59,8 +59,11 @@
82.55 - irreversible=${charset}.irreversible
82.56 - fi
82.57 -
82.58 -+# make sure libdl is also in path in case sandbox is in use
82.59 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.60 -+
82.61 - # iconv in one direction.
82.62 --${common_objpfx}elf/ld.so --library-path $common_objpfx \
82.63 -+${common_objpfx}elf/ld.so --library-path $library_path \
82.64 - ${objpfx}tst-table-from ${charset} \
82.65 - > ${objpfx}tst-${charset}.table
82.66 -
82.67 -diff -durN glibc-2_9.orig/intl/tst-codeset.sh glibc-2_9/intl/tst-codeset.sh
82.68 ---- glibc-2_9.orig/intl/tst-codeset.sh 2005-04-06 04:18:35.000000000 +0200
82.69 -+++ glibc-2_9/intl/tst-codeset.sh 2009-02-02 22:01:23.000000000 +0100
82.70 -@@ -37,6 +37,9 @@
82.71 - LOCPATH=${common_objpfx}localedata
82.72 - export LOCPATH
82.73 -
82.74 -+# make sure libdl is also in path in case sandbox is in use
82.75 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.76 -+
82.77 - ${common_objpfx}elf/ld.so --library-path $common_objpfx \
82.78 - ${objpfx}tst-codeset > ${objpfx}tst-codeset.out
82.79 -
82.80 -diff -durN glibc-2_9.orig/intl/tst-gettext.sh glibc-2_9/intl/tst-gettext.sh
82.81 ---- glibc-2_9.orig/intl/tst-gettext.sh 2004-08-15 21:28:18.000000000 +0200
82.82 -+++ glibc-2_9/intl/tst-gettext.sh 2009-02-02 22:01:23.000000000 +0100
82.83 -@@ -51,9 +51,12 @@
82.84 - LOCPATH=${common_objpfx}localedata
82.85 - export LOCPATH
82.86 -
82.87 -+# make sure libdl is also in path in case sandbox is in use
82.88 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.89 -+
82.90 - # Now run the test.
82.91 - MALLOC_TRACE=$malloc_trace LOCPATH=${objpfx}localedir:$LOCPATH \
82.92 --${common_objpfx}elf/ld.so --library-path $common_objpfx \
82.93 -+${common_objpfx}elf/ld.so --library-path $library_path \
82.94 - ${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir
82.95 -
82.96 - exit $?
82.97 -diff -durN glibc-2_9.orig/intl/tst-gettext2.sh glibc-2_9/intl/tst-gettext2.sh
82.98 ---- glibc-2_9.orig/intl/tst-gettext2.sh 2005-05-04 19:54:48.000000000 +0200
82.99 -+++ glibc-2_9/intl/tst-gettext2.sh 2009-02-02 22:01:23.000000000 +0100
82.100 -@@ -65,8 +65,11 @@
82.101 - LOCPATH=${objpfx}domaindir
82.102 - export LOCPATH
82.103 -
82.104 -+# make sure libdl is also in path in case sandbox is in use
82.105 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.106 -+
82.107 - # Now run the test.
82.108 --${common_objpfx}elf/ld.so --library-path $common_objpfx \
82.109 -+${common_objpfx}elf/ld.so --library-path $library_path \
82.110 - ${objpfx}tst-gettext2 > ${objpfx}tst-gettext2.out ${objpfx}domaindir &&
82.111 - cmp ${objpfx}tst-gettext2.out - <<EOF
82.112 - String1 - Lang1: 1st string
82.113 -diff -durN glibc-2_9.orig/intl/tst-translit.sh glibc-2_9/intl/tst-translit.sh
82.114 ---- glibc-2_9.orig/intl/tst-translit.sh 2005-05-04 19:56:10.000000000 +0200
82.115 -+++ glibc-2_9/intl/tst-translit.sh 2009-02-02 22:01:23.000000000 +0100
82.116 -@@ -36,7 +36,10 @@
82.117 - LOCPATH=${common_objpfx}localedata
82.118 - export LOCPATH
82.119 -
82.120 --${common_objpfx}elf/ld.so --library-path $common_objpfx \
82.121 -+# make sure libdl is also in path in case sandbox is in use
82.122 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.123 -+
82.124 -+${common_objpfx}elf/ld.so --library-path $library_path \
82.125 - ${objpfx}tst-translit > ${objpfx}tst-translit.out ${objpfx}domaindir
82.126 -
82.127 - exit $?
82.128 -diff -durN glibc-2_9.orig/malloc/tst-mtrace.sh glibc-2_9/malloc/tst-mtrace.sh
82.129 ---- glibc-2_9.orig/malloc/tst-mtrace.sh 2005-10-15 01:40:35.000000000 +0200
82.130 -+++ glibc-2_9/malloc/tst-mtrace.sh 2009-02-02 22:01:23.000000000 +0100
82.131 -@@ -24,9 +24,12 @@
82.132 - status=0
82.133 - trap "rm -f ${common_objpfx}malloc/tst-mtrace.leak; exit 1" 1 2 15
82.134 -
82.135 -+# make sure libdl is also in path in case sandbox is in use
82.136 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.137 -+
82.138 - MALLOC_TRACE=${common_objpfx}malloc/tst-mtrace.leak \
82.139 - LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
82.140 --${common_objpfx}elf/ld.so --library-path $common_objpfx \
82.141 -+${common_objpfx}elf/ld.so --library-path $library_path \
82.142 - ${common_objpfx}malloc/tst-mtrace || status=1
82.143 -
82.144 - if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then
82.145 -diff -durN glibc-2_9.orig/nptl/tst-tls6.sh glibc-2_9/nptl/tst-tls6.sh
82.146 ---- glibc-2_9.orig/nptl/tst-tls6.sh 2003-09-03 00:02:59.000000000 +0200
82.147 -+++ glibc-2_9/nptl/tst-tls6.sh 2009-02-02 22:01:23.000000000 +0100
82.148 -@@ -5,8 +5,8 @@
82.149 - rtld_installed_name=$1; shift
82.150 - logfile=$common_objpfx/nptl/tst-tls6.out
82.151 -
82.152 --# We have to find libc and nptl
82.153 --library_path=${common_objpfx}:${common_objpfx}nptl
82.154 -+# We have to find libc and nptl (also libdl in case sandbox is in use)
82.155 -+library_path=${common_objpfx}:${common_objpfx}nptl:${common_objpfx}/dlfcn
82.156 - tst_tls5="${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
82.157 - ${common_objpfx}/nptl/tst-tls5"
82.158 -
82.159 -diff -durN glibc-2_9.orig/posix/globtest.sh glibc-2_9/posix/globtest.sh
82.160 ---- glibc-2_9.orig/posix/globtest.sh 2007-02-14 20:52:33.000000000 +0100
82.161 -+++ glibc-2_9/posix/globtest.sh 2009-02-02 22:01:23.000000000 +0100
82.162 -@@ -18,7 +18,7 @@
82.163 - esac
82.164 -
82.165 - # We have to find the libc and the NSS modules.
82.166 --library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod
82.167 -+library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod:${common_objpfx}/dlfcn
82.168 -
82.169 - # Since we use `sort' we must make sure to use the same locale everywhere.
82.170 - LC_ALL=C
82.171 -diff -durN glibc-2_9.orig/posix/tst-getconf.sh glibc-2_9/posix/tst-getconf.sh
82.172 ---- glibc-2_9.orig/posix/tst-getconf.sh 2002-09-01 13:11:25.000000000 +0200
82.173 -+++ glibc-2_9/posix/tst-getconf.sh 2009-02-02 22:01:23.000000000 +0100
82.174 -@@ -10,7 +10,10 @@
82.175 - else
82.176 - rtld_installed_name=$1; shift
82.177 - runit() {
82.178 -- ${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} "$@"
82.179 -+
82.180 -+ # make sure libdl is also in path in case sandbox is in use
82.181 -+ library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.182 -+ ${elf_objpfx}${rtld_installed_name} --library-path ${library_path} "$@"
82.183 - }
82.184 - fi
82.185 -
82.186 -diff -durN glibc-2_9.orig/posix/wordexp-tst.sh glibc-2_9/posix/wordexp-tst.sh
82.187 ---- glibc-2_9.orig/posix/wordexp-tst.sh 2000-10-20 18:23:30.000000000 +0200
82.188 -+++ glibc-2_9/posix/wordexp-tst.sh 2009-02-02 22:01:23.000000000 +0100
82.189 -@@ -19,8 +19,11 @@
82.190 - "
82.191 - export IFS
82.192 -
82.193 -+# make sure libdl is also in path in case sandbox is in use
82.194 -+library_path=${common_objpfx}:${common_objpfx}/dlfcn
82.195 -+
82.196 - failed=0
82.197 --${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} \
82.198 -+${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \
82.199 - ${common_objpfx}posix/wordexp-test '$*' > ${testout}1
82.200 - cat <<"EOF" | cmp - ${testout}1 >> $logfile || failed=1
82.201 - wordexp returned 0
83.1 --- a/patches/glibc/2_9/410-2.9-fnmatch.patch Sat Apr 11 19:03:02 2009 +0000
83.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
83.3 @@ -1,64 +0,0 @@
83.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/5021_all_2.9-fnmatch.patch
83.5 -
83.6 --= BEGIN original header =-
83.7 -http://sourceware.org/ml/libc-hacker/2002-11/msg00071.html
83.8 -
83.9 -When fnmatch detects an invalid multibyte character it should fall back to
83.10 -single byte matching, so that "*" has a chance to match such a string.
83.11 -
83.12 -Andreas.
83.13 -
83.14 -2005-04-12 Andreas Schwab <schwab@suse.de>
83.15 -
83.16 - * posix/fnmatch.c (fnmatch): If conversion to wide character
83.17 - fails fall back to single byte matching.
83.18 -
83.19 --= END original header =-
83.20 -
83.21 -diff -durN glibc-2_9.orig/posix/fnmatch.c glibc-2_9/posix/fnmatch.c
83.22 ---- glibc-2_9.orig/posix/fnmatch.c 2007-07-28 22:35:00.000000000 +0200
83.23 -+++ glibc-2_9/posix/fnmatch.c 2009-02-02 22:01:25.000000000 +0100
83.24 -@@ -327,6 +327,7 @@
83.25 - # if HANDLE_MULTIBYTE
83.26 - if (__builtin_expect (MB_CUR_MAX, 1) != 1)
83.27 - {
83.28 -+ const char *orig_pattern = pattern;
83.29 - mbstate_t ps;
83.30 - size_t n;
83.31 - const char *p;
83.32 -@@ -382,10 +383,8 @@
83.33 - wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t));
83.34 - n = mbsrtowcs (wstring, &p, n + 1, &ps);
83.35 - if (__builtin_expect (n == (size_t) -1, 0))
83.36 -- /* Something wrong.
83.37 -- XXX Do we have to set `errno' to something which mbsrtows hasn't
83.38 -- already done? */
83.39 -- return -1;
83.40 -+ /* Something wrong. Fall back to single byte matching. */
83.41 -+ goto try_singlebyte;
83.42 - if (p)
83.43 - {
83.44 - memset (&ps, '\0', sizeof (ps));
83.45 -@@ -397,10 +396,8 @@
83.46 - prepare_wstring:
83.47 - n = mbsrtowcs (NULL, &string, 0, &ps);
83.48 - if (__builtin_expect (n == (size_t) -1, 0))
83.49 -- /* Something wrong.
83.50 -- XXX Do we have to set `errno' to something which mbsrtows hasn't
83.51 -- already done? */
83.52 -- return -1;
83.53 -+ /* Something wrong. Fall back to single byte matching. */
83.54 -+ goto try_singlebyte;
83.55 - wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t));
83.56 - assert (mbsinit (&ps));
83.57 - (void) mbsrtowcs (wstring, &string, n + 1, &ps);
83.58 -@@ -408,6 +405,9 @@
83.59 -
83.60 - return internal_fnwmatch (wpattern, wstring, wstring + n,
83.61 - flags & FNM_PERIOD, flags, NULL);
83.62 -+
83.63 -+ try_singlebyte:
83.64 -+ pattern = orig_pattern;
83.65 - }
83.66 - # endif /* mbstate_t and mbsrtowcs or _LIBC. */
83.67 -
84.1 --- a/patches/glibc/2_9/420-dont-build-timezone.patch Sat Apr 11 19:03:02 2009 +0000
84.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
84.3 @@ -1,19 +0,0 @@
84.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/5063_all_glibc-dont-build-timezone.patch
84.5 -
84.6 --= BEGIN original header =-
84.7 -timezone data has been split into the package sys-libs/timezone-data
84.8 -
84.9 --= END original header =-
84.10 -
84.11 -diff -durN glibc-2_9.orig/Makeconfig glibc-2_9/Makeconfig
84.12 ---- glibc-2_9.orig/Makeconfig 2009-02-02 22:01:05.000000000 +0100
84.13 -+++ glibc-2_9/Makeconfig 2009-02-02 22:01:27.000000000 +0100
84.14 -@@ -919,7 +919,7 @@
84.15 - stdlib stdio-common libio malloc string wcsmbs time dirent \
84.16 - grp pwd posix io termios resource misc socket sysvipc gmon \
84.17 - gnulib iconv iconvdata wctype manual shadow po argp \
84.18 -- crypt nss localedata timezone rt conform debug \
84.19 -+ crypt nss localedata rt conform debug \
84.20 - $(add-on-subdirs) $(dlfcn) $(binfmt-subdir)
84.21 -
84.22 - ifndef avoid-generated
85.1 --- a/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch Sat Apr 11 19:03:02 2009 +0000
85.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
85.3 @@ -1,57 +0,0 @@
85.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/5070_all_glibc-2.7-cross-compile-nptl.patch
85.5 -
85.6 --= BEGIN original header =-
85.7 -A little hack for cross-compiling NPTL
85.8 -
85.9 -http://sourceware.org/ml/libc-alpha/2005-02/msg00043.html
85.10 -
85.11 --= END original header =-
85.12 -
85.13 -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure glibc-2_9/nptl/sysdeps/pthread/configure
85.14 ---- glibc-2_9.orig/nptl/sysdeps/pthread/configure 2007-10-17 00:24:30.000000000 +0200
85.15 -+++ glibc-2_9/nptl/sysdeps/pthread/configure 2009-02-02 22:01:28.000000000 +0100
85.16 -@@ -78,6 +78,10 @@
85.17 - fi
85.18 - { echo "$as_me:$LINENO: result: $libc_cv_forced_unwind" >&5
85.19 - echo "${ECHO_T}$libc_cv_forced_unwind" >&6; }
85.20 -+if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then
85.21 -+ echo "$as_me:$LINENO: forcing libc_cv_forced_unwind = yes for cross-compile"
85.22 -+ libc_cv_forced_unwind=yes
85.23 -+fi
85.24 - if test $libc_cv_forced_unwind = yes; then
85.25 - cat >>confdefs.h <<\_ACEOF
85.26 - #define HAVE_FORCED_UNWIND 1
85.27 -@@ -141,6 +145,10 @@
85.28 - { echo "$as_me:$LINENO: result: $libc_cv_c_cleanup" >&5
85.29 - echo "${ECHO_T}$libc_cv_c_cleanup" >&6; }
85.30 - CFLAGS="$old_CFLAGS"
85.31 -+ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then
85.32 -+ echo "$as_me:$LINENO: result: forcing libc_cv_c_cleanup = yes for cross-compile"
85.33 -+ libc_cv_c_cleanup=yes
85.34 -+ fi
85.35 - if test $libc_cv_c_cleanup = no; then
85.36 - { { echo "$as_me:$LINENO: error: the compiler must support C cleanup handling" >&5
85.37 - echo "$as_me: error: the compiler must support C cleanup handling" >&2;}
85.38 -diff -durN glibc-2_9.orig/nptl/sysdeps/pthread/configure.in glibc-2_9/nptl/sysdeps/pthread/configure.in
85.39 ---- glibc-2_9.orig/nptl/sysdeps/pthread/configure.in 2003-12-03 07:50:01.000000000 +0100
85.40 -+++ glibc-2_9/nptl/sysdeps/pthread/configure.in 2009-02-02 22:01:28.000000000 +0100
85.41 -@@ -28,6 +28,9 @@
85.42 - struct _Unwind_Context *context;
85.43 - _Unwind_GetCFA (context)],
85.44 - libc_cv_forced_unwind=yes, libc_cv_forced_unwind=no)])
85.45 -+if test $libc_cv_forced_unwind = no -a $build_cpu != $host_cpu; then
85.46 -+ libc_cv_forced_unwind=yes
85.47 -+fi
85.48 - if test $libc_cv_forced_unwind = yes; then
85.49 - AC_DEFINE(HAVE_FORCED_UNWIND)
85.50 - dnl Check for C cleanup handling.
85.51 -@@ -41,6 +44,9 @@
85.52 - puts ("test")],
85.53 - libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)])
85.54 - CFLAGS="$old_CFLAGS"
85.55 -+ if test $libc_cv_c_cleanup = no -a $build_cpu != $host_cpu; then
85.56 -+ libc_cv_c_cleanup=yes
85.57 -+ fi
85.58 - if test $libc_cv_c_cleanup = no; then
85.59 - AC_MSG_ERROR([the compiler must support C cleanup handling])
85.60 - fi
86.1 --- a/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch Sat Apr 11 19:03:02 2009 +0000
86.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
86.3 @@ -1,249 +0,0 @@
86.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6001_all_alpha-glibc-2.4-xstat.patch
86.5 -
86.6 --= BEGIN original header =-
86.7 -http://sources.redhat.com/bugzilla/show_bug.cgi?id=1026
86.8 -http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html
86.9 -
86.10 -2005-02-26 GOTO Masanori <gotom@debian.or.jp>
86.11 -
86.12 - * sysdeps/unix/sysv/linux/kernel-features.h: Define
86.13 - __ASSUME_STAT64_SYSCALL.
86.14 - * sysdeps/unix/sysv/linux/alpha/fxstat.c: Check
86.15 - __ASSUME_STAT64_SYSCALL.
86.16 - * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Likewise.
86.17 - * sysdeps/unix/sysv/linux/alpha/lxstat.c: Likewise.
86.18 - * sysdeps/unix/sysv/linux/alpha/xstat.c: Likewise.
86.19 - * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Don't define
86.20 - __libc_missing_axp_stat64 when it's not needed.
86.21 - * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
86.22 -
86.23 --= END original header =-
86.24 -
86.25 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c
86.26 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c 2004-03-11 03:58:44.000000000 +0100
86.27 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstat.c 2009-02-02 22:01:30.000000000 +0100
86.28 -@@ -35,27 +35,39 @@
86.29 - __fxstat (int vers, int fd, struct stat *buf)
86.30 - {
86.31 - INTERNAL_SYSCALL_DECL (err);
86.32 -- int result, errno_out;
86.33 -+ int result;
86.34 - struct kernel_stat kbuf;
86.35 -
86.36 -+#if __ASSUME_STAT64_SYSCALL > 0
86.37 -+ if (vers == _STAT_VER_KERNEL64)
86.38 -+ {
86.39 -+ result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf);
86.40 -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.41 -+ return result;
86.42 -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
86.43 -+ return -1;
86.44 -+ }
86.45 -+#elif defined __NR_fstat64
86.46 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
86.47 - {
86.48 -+ int errno_out;
86.49 - result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf);
86.50 - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.51 - return result;
86.52 - errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
86.53 - if (errno_out != ENOSYS)
86.54 -- goto fail;
86.55 -+ {
86.56 -+ __set_errno (errno_out);
86.57 -+ return -1;
86.58 -+ }
86.59 - __libc_missing_axp_stat64 = 1;
86.60 - }
86.61 -+#endif
86.62 -
86.63 - result = INTERNAL_SYSCALL (fstat, err, 2, fd, &kbuf);
86.64 - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.65 - return __xstat_conv (vers, &kbuf, buf);
86.66 -- errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
86.67 --
86.68 -- fail:
86.69 -- __set_errno (errno_out);
86.70 -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
86.71 - return -1;
86.72 - }
86.73 - hidden_def (__fxstat)
86.74 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c
86.75 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2006-02-20 23:51:48.000000000 +0100
86.76 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/fxstatat.c 2009-02-02 22:01:30.000000000 +0100
86.77 -@@ -65,6 +65,20 @@
86.78 - int result, errno_out;
86.79 - struct kernel_stat kst;
86.80 -
86.81 -+#if __ASSUME_STAT64_SYSCALL > 0
86.82 -+ if (vers == _STAT_VER_KERNEL64)
86.83 -+ {
86.84 -+ if (flag & AT_SYMLINK_NOFOLLOW)
86.85 -+ result = INTERNAL_SYSCALL (lstat64, err, 2, file, st);
86.86 -+ else
86.87 -+ result = INTERNAL_SYSCALL (stat64, err, 2, file, st);
86.88 -+
86.89 -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.90 -+ return result;
86.91 -+ errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
86.92 -+ goto fail;
86.93 -+ }
86.94 -+#elif defined __NR_stat64
86.95 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
86.96 - {
86.97 - if (flag & AT_SYMLINK_NOFOLLOW)
86.98 -@@ -79,6 +93,7 @@
86.99 - goto fail;
86.100 - __libc_missing_axp_stat64 = 1;
86.101 - }
86.102 -+#endif
86.103 -
86.104 - if (flag & AT_SYMLINK_NOFOLLOW)
86.105 - result = INTERNAL_SYSCALL (lstat, err, 2, file, &kst);
86.106 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c
86.107 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c 2004-03-11 03:58:44.000000000 +0100
86.108 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/lxstat.c 2009-02-02 22:01:30.000000000 +0100
86.109 -@@ -35,27 +35,39 @@
86.110 - __lxstat (int vers, const char *name, struct stat *buf)
86.111 - {
86.112 - INTERNAL_SYSCALL_DECL (err);
86.113 -- int result, errno_out;
86.114 -+ int result;
86.115 - struct kernel_stat kbuf;
86.116 -
86.117 -+#if __ASSUME_STAT64_SYSCALL > 0
86.118 -+ if (vers == _STAT_VER_KERNEL64)
86.119 -+ {
86.120 -+ result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf);
86.121 -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.122 -+ return result;
86.123 -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
86.124 -+ return -1;
86.125 -+ }
86.126 -+#elif defined __NR_lstat64
86.127 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
86.128 - {
86.129 -+ int errno_out;
86.130 - result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf);
86.131 - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.132 - return result;
86.133 - errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
86.134 - if (errno_out != ENOSYS)
86.135 -- goto fail;
86.136 -+ {
86.137 -+ __set_errno (errno_out);
86.138 -+ return -1;
86.139 -+ }
86.140 - __libc_missing_axp_stat64 = 1;
86.141 - }
86.142 -+#endif
86.143 -
86.144 - result = INTERNAL_SYSCALL (lstat, err, 2, name, &kbuf);
86.145 - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.146 - return __xstat_conv (vers, &kbuf, buf);
86.147 -- errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
86.148 --
86.149 -- fail:
86.150 -- __set_errno (errno_out);
86.151 -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
86.152 - return -1;
86.153 - }
86.154 - hidden_def (__lxstat)
86.155 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c
86.156 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstat.c 2004-03-11 03:58:44.000000000 +0100
86.157 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstat.c 2009-02-02 22:01:30.000000000 +0100
86.158 -@@ -35,27 +35,39 @@
86.159 - __xstat (int vers, const char *name, struct stat *buf)
86.160 - {
86.161 - INTERNAL_SYSCALL_DECL (err);
86.162 -- int result, errno_out;
86.163 -+ int result;
86.164 - struct kernel_stat kbuf;
86.165 -
86.166 -+#if __ASSUME_STAT64_SYSCALL > 0
86.167 -+ if (vers == _STAT_VER_KERNEL64)
86.168 -+ {
86.169 -+ result = INTERNAL_SYSCALL (stat64, err, 2, name, buf);
86.170 -+ if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.171 -+ return result;
86.172 -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
86.173 -+ return -1;
86.174 -+ }
86.175 -+#elif defined __NR_stat64
86.176 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64)
86.177 - {
86.178 -+ int errno_out;
86.179 - result = INTERNAL_SYSCALL (stat64, err, 2, name, buf);
86.180 - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.181 - return result;
86.182 - errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
86.183 - if (errno_out != ENOSYS)
86.184 -- goto fail;
86.185 -+ {
86.186 -+ __set_errno (errno_out);
86.187 -+ return -1;
86.188 -+ }
86.189 - __libc_missing_axp_stat64 = 1;
86.190 - }
86.191 -+#endif
86.192 -
86.193 - result = INTERNAL_SYSCALL (stat, err, 2, name, &kbuf);
86.194 - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
86.195 - return __xstat_conv (vers, &kbuf, buf);
86.196 -- errno_out = INTERNAL_SYSCALL_ERRNO (result, err);
86.197 --
86.198 -- fail:
86.199 -- __set_errno (errno_out);
86.200 -+ __set_errno (INTERNAL_SYSCALL_ERRNO (result, err));
86.201 - return -1;
86.202 - }
86.203 - hidden_def (__xstat)
86.204 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c
86.205 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2004-03-11 03:58:44.000000000 +0100
86.206 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.c 2009-02-02 22:01:30.000000000 +0100
86.207 -@@ -22,9 +22,14 @@
86.208 - #include <sys/stat.h>
86.209 - #include <kernel_stat.h>
86.210 - #include <xstatconv.h>
86.211 -+#include <sys/syscall.h>
86.212 -
86.213 -
86.214 -+#ifdef __NR_stat64
86.215 -+# if __ASSUME_STAT64_SYSCALL == 0
86.216 - int __libc_missing_axp_stat64;
86.217 -+# endif
86.218 -+#endif
86.219 -
86.220 - int
86.221 - __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
86.222 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h
86.223 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2006-01-08 09:21:16.000000000 +0100
86.224 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/xstatconv.h 2009-02-02 22:01:30.000000000 +0100
86.225 -@@ -18,7 +18,12 @@
86.226 - 02111-1307 USA. */
86.227 -
86.228 - #include <kernel-features.h>
86.229 -+#include <sys/syscall.h>
86.230 -
86.231 -+#ifdef __NR_stat64
86.232 -+# if __ASSUME_STAT64_SYSCALL == 0
86.233 - extern int __libc_missing_axp_stat64 attribute_hidden;
86.234 -+# endif
86.235 -+#endif
86.236 - extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
86.237 - attribute_hidden;
86.238 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h
86.239 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/kernel-features.h 2008-08-01 23:51:04.000000000 +0200
86.240 -+++ glibc-2_9/sysdeps/unix/sysv/linux/kernel-features.h 2009-02-02 22:01:30.000000000 +0100
86.241 -@@ -395,6 +395,11 @@
86.242 - # define __ASSUME_GETDENTS32_D_TYPE 1
86.243 - #endif
86.244 -
86.245 -+/* Starting with version 2.6.4, alpha stat64 syscalls are available. */
86.246 -+#if __LINUX_KERNEL_VERSION >= 0x020604 && defined __alpha__
86.247 -+# define __ASSUME_STAT64_SYSCALL 1
86.248 -+#endif
86.249 -+
86.250 - /* Starting with version 2.5.3, the initial location returned by `brk'
86.251 - after exec is always rounded up to the next page. */
86.252 - #if __LINUX_KERNEL_VERSION >= 132355
87.1 --- a/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch Sat Apr 11 19:03:02 2009 +0000
87.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
87.3 @@ -1,32 +0,0 @@
87.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6015_all_alpha-glibc-2.5-no-page-header.patch
87.5 -
87.6 --= BEGIN original header =-
87.7 -2008-06-07 Mike Frysinger <vapier@gentoo.org>
87.8 -
87.9 - * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
87.10 - from the kernel header to sys/user.h and remove the #include of
87.11 - sys/user.h.
87.12 -
87.13 --= END original header =-
87.14 -
87.15 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h
87.16 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/user.h 2001-07-06 06:56:13.000000000 +0200
87.17 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-02-02 22:01:32.000000000 +0100
87.18 -@@ -23,7 +23,6 @@
87.19 - only. Don't read too much into it. Don't use it for anything other
87.20 - than gdb/strace unless you know what you are doing. */
87.21 -
87.22 --#include <asm/page.h>
87.23 - #include <asm/reg.h>
87.24 -
87.25 - struct user
87.26 -@@ -41,6 +40,9 @@
87.27 - char u_comm[32]; /* user command name */
87.28 - };
87.29 -
87.30 -+#define PAGE_SHIFT 13
87.31 -+#define PAGE_SIZE (1 << PAGE_SHIFT)
87.32 -+#define PAGE_MASK (~(PAGE_SIZE-1))
87.33 - #define NBPG PAGE_SIZE
87.34 - #define UPAGES 1
87.35 - #define HOST_TEXT_START_ADDR (u.start_code)
88.1 --- a/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch Sat Apr 11 19:03:02 2009 +0000
88.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
88.3 @@ -1,38 +0,0 @@
88.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6016_all_alpha-glibc-2.5-no-asm-elf-header.patch
88.5 -
88.6 --= BEGIN original header =-
88.7 -2007-03-13 Mike Frysinger <vapier@gentoo.org>
88.8 -
88.9 - * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Copy some defines
88.10 - from alpha's asm/elf.h
88.11 -
88.12 --= END original header =-
88.13 -
88.14 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h
88.15 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2001-07-06 06:56:13.000000000 +0200
88.16 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sys/procfs.h 2009-02-02 22:01:33.000000000 +0100
88.17 -@@ -29,10 +29,23 @@
88.18 - #include <sys/types.h>
88.19 - #include <sys/ucontext.h>
88.20 - #include <sys/user.h>
88.21 --#include <asm/elf.h>
88.22 -
88.23 - __BEGIN_DECLS
88.24 -
88.25 -+/*
88.26 -+ * The OSF/1 version of <sys/procfs.h> makes gregset_t 46 entries long.
88.27 -+ * I have no idea why that is so. For now, we just leave it at 33
88.28 -+ * (32 general regs + processor status word).
88.29 -+ */
88.30 -+#define ELF_NGREG 33
88.31 -+#define ELF_NFPREG 32
88.32 -+
88.33 -+typedef unsigned long elf_greg_t;
88.34 -+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
88.35 -+
88.36 -+typedef double elf_fpreg_t;
88.37 -+typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
88.38 -+
88.39 - struct elf_siginfo
88.40 - {
88.41 - int si_signo; /* Signal number. */
89.1 --- a/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch Sat Apr 11 19:03:02 2009 +0000
89.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
89.3 @@ -1,19 +0,0 @@
89.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6017_all_alpha-glibc-2.8-creat.patch
89.5 -
89.6 --= BEGIN original header =-
89.7 -alpha does not have a __NR_creat
89.8 -
89.9 -http://bugs.gentoo.org/227275
89.10 -http://sourceware.org/bugzilla/show_bug.cgi?id=6650
89.11 -
89.12 --= END original header =-
89.13 -
89.14 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c
89.15 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2007-11-10 20:34:26.000000000 +0100
89.16 -+++ glibc-2_9/sysdeps/unix/sysv/linux/wordsize-64/creat64.c 2009-02-02 22:01:35.000000000 +0100
89.17 -@@ -1 +1,5 @@
89.18 - /* Defined as alias for the syscall. */
89.19 -+#include <sysdep.h>
89.20 -+#ifndef __NR_creat
89.21 -+#include "../../../../../io/creat64.c"
89.22 -+#endif
90.1 --- a/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch Sat Apr 11 19:03:02 2009 +0000
90.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
90.3 @@ -1,18 +0,0 @@
90.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_alpha-glibc-2.8-cache-shape.patch
90.5 -
90.6 --= BEGIN original header =-
90.7 -older verisons of glibc would build dl-sysdep as shared-only and dl-support as
90.8 -static-only. alpha hooks in a cache variable via dl-auxv.h. newer versions of
90.9 -glibc build dl-sysdep as both shared and static which means we now have symbol
90.10 -duplication for static builds with dl-sysdep and dl-support. since dl-sysdep
90.11 -is both shared/static, there is no point in hooking dl-support anymore, so we
90.12 -can punt it.
90.13 -
90.14 --= END original header =-
90.15 -
90.16 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c
90.17 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c 2007-03-13 22:25:16.000000000 +0100
90.18 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-02-02 22:01:37.000000000 +0100
90.19 -@@ -1,2 +0,0 @@
90.20 --#include "dl-auxv.h"
90.21 --#include <elf/dl-support.c>
91.1 --- a/patches/glibc/2_9/490-ptr-mangling.patch Sat Apr 11 19:03:02 2009 +0000
91.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
91.3 @@ -1,114 +0,0 @@
91.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_glibc-ptr-mangling.patch
91.5 -
91.6 --= BEGIN original header =-
91.7 -http://bugs.gentoo.org/201910
91.8 -
91.9 -For every arch, PTR_MANGLE and PTR_DEMANGLE defines are in
91.10 -sysdeps/unix/sysv/linux/<arch>/sysdep.h. But for alpha this is not true. The
91.11 -defines are in sysdeps/unix/alpha/sysdep.h and unix/sysv/linux/alpha/sysdep.h
91.12 -includes the first.
91.13 -
91.14 -This is a patch that fixes the issue and let alpha build, at the expense of
91.15 -disabling MANGLING in the non PIC case, but googling showed that the issue is
91.16 -known, and that nobody really cares about it.
91.17 -
91.18 -Info from: http://sourceware.org/bugzilla/show_bug.cgi?id=5216
91.19 -
91.20 --= END original header =-
91.21 -
91.22 -diff -durN glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h glibc-2_9/sysdeps/unix/alpha/sysdep.h
91.23 ---- glibc-2_9.orig/sysdeps/unix/alpha/sysdep.h 2006-03-03 12:21:28.000000000 +0100
91.24 -+++ glibc-2_9/sysdeps/unix/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100
91.25 -@@ -397,42 +397,4 @@
91.26 - _sc_ret = _sc_0, _sc_err = _sc_19; \
91.27 - }
91.28 -
91.29 --/* Pointer mangling support. Note that tls access is slow enough that
91.30 -- we don't deoptimize things by placing the pointer check value there. */
91.31 --
91.32 --#include <stdint.h>
91.33 --
91.34 --#if defined NOT_IN_libc && defined IS_IN_rtld
91.35 --# ifdef __ASSEMBLER__
91.36 --# define PTR_MANGLE(dst, src, tmp) \
91.37 -- ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \
91.38 -- ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \
91.39 -- xor src, tmp, dst
91.40 --# define PTR_MANGLE2(dst, src, tmp) \
91.41 -- xor src, tmp, dst
91.42 --# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
91.43 --# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
91.44 --# else
91.45 --extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
91.46 --# define PTR_MANGLE(var) \
91.47 -- (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
91.48 --# define PTR_DEMANGLE(var) PTR_MANGLE(var)
91.49 --# endif
91.50 --#elif defined PIC
91.51 --# ifdef __ASSEMBLER__
91.52 --# define PTR_MANGLE(dst, src, tmp) \
91.53 -- ldq tmp, __pointer_chk_guard; \
91.54 -- xor src, tmp, dst
91.55 --# define PTR_MANGLE2(dst, src, tmp) \
91.56 -- xor src, tmp, dst
91.57 --# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
91.58 --# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
91.59 --# else
91.60 --extern uintptr_t __pointer_chk_guard attribute_relro;
91.61 --# define PTR_MANGLE(var) \
91.62 -- (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard)
91.63 --# define PTR_DEMANGLE(var) PTR_MANGLE(var)
91.64 --# endif
91.65 --#endif
91.66 --
91.67 - #endif /* ASSEMBLER */
91.68 -diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h
91.69 ---- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/sysdep.h 2007-08-21 10:07:28.000000000 +0200
91.70 -+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/sysdep.h 2009-02-02 22:01:39.000000000 +0100
91.71 -@@ -98,4 +98,46 @@
91.72 - INTERNAL_SYSCALL1(name, err_out, nr, args); \
91.73 - })
91.74 -
91.75 -+/* Pointer mangling support. Note that tls access is slow enough that
91.76 -+ we don't deoptimize things by placing the pointer check value there. */
91.77 -+
91.78 -+#if defined NOT_IN_libc && defined IS_IN_rtld
91.79 -+# ifdef __ASSEMBLER__
91.80 -+# define PTR_MANGLE(dst, src, tmp) \
91.81 -+ ldah tmp, __pointer_chk_guard_local($29) !gprelhigh; \
91.82 -+ ldq tmp, __pointer_chk_guard_local(tmp) !gprellow; \
91.83 -+ xor src, tmp, dst
91.84 -+# define PTR_MANGLE2(dst, src, tmp) \
91.85 -+ xor src, tmp, dst
91.86 -+# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
91.87 -+# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
91.88 -+# else
91.89 -+extern uintptr_t __pointer_chk_guard_local attribute_relro attribute_hidden;
91.90 -+# define PTR_MANGLE(var) \
91.91 -+ (var) = (__typeof (var)) ((uintptr_t) (var) ^ __pointer_chk_guard_local)
91.92 -+# define PTR_DEMANGLE(var) PTR_MANGLE(var)
91.93 -+# endif
91.94 -+#elif defined PIC
91.95 -+# ifdef __ASSEMBLER__
91.96 -+# define PTR_MANGLE(dst, src, tmp) \
91.97 -+ ldq tmp, __pointer_chk_guard; \
91.98 -+ xor src, tmp, dst
91.99 -+# define PTR_MANGLE2(dst, src, tmp) \
91.100 -+ xor src, tmp, dst
91.101 -+# define PTR_DEMANGLE(dst, tmp) PTR_MANGLE(dst, dst, tmp)
91.102 -+# define PTR_DEMANGLE2(dst, tmp) PTR_MANGLE2(dst, dst, tmp)
91.103 -+# else
91.104 -+extern uintptr_t __pointer_chk_guard attribute_relro;
91.105 -+# define PTR_MANGLE(var) \
91.106 -+ (var) = (void *) ((uintptr_t) (var) ^ __pointer_chk_guard)
91.107 -+# define PTR_DEMANGLE(var) PTR_MANGLE(var)
91.108 -+# endif
91.109 -+#else
91.110 -+/* Pointer mangling is not yet supported for static libc on alpha. */
91.111 -+# ifndef __ASSEMBLER__
91.112 -+# define PTR_MANGLE(var) (void) (var)
91.113 -+# define PTR_DEMANGLE(var) (void) (var)
91.114 -+# endif
91.115 -+#endif
91.116 -+
91.117 - #endif /* _LINUX_ALPHA_SYSDEP_H */
92.1 --- a/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch Sat Apr 11 19:03:02 2009 +0000
92.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
92.3 @@ -1,414 +0,0 @@
92.4 -Original patch from: gentoo/src/patchsets/glibc/2.9/6120_all_ppc-glibc-2.9-atomic.patch
92.5 -
92.6 --= BEGIN original header =-
92.7 -sniped from suse
92.8 -
92.9 --= END original header =-
92.10 -
92.11 -diff -durN glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h glibc-2_9/sysdeps/powerpc/bits/atomic.h
92.12 ---- glibc-2_9.orig/sysdeps/powerpc/bits/atomic.h 2007-03-26 22:15:28.000000000 +0200
92.13 -+++ glibc-2_9/sysdeps/powerpc/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100
92.14 -@@ -85,14 +85,14 @@
92.15 - __typeof (*(mem)) __tmp; \
92.16 - __typeof (mem) __memp = (mem); \
92.17 - __asm __volatile ( \
92.18 -- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
92.19 -+ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \
92.20 - " cmpw %0,%2\n" \
92.21 - " bne 2f\n" \
92.22 -- " stwcx. %3,0,%1\n" \
92.23 -+ " stwcx. %3,%y1\n" \
92.24 - " bne- 1b\n" \
92.25 - "2: " __ARCH_ACQ_INSTR \
92.26 -- : "=&r" (__tmp) \
92.27 -- : "b" (__memp), "r" (oldval), "r" (newval) \
92.28 -+ : "=&r" (__tmp), "+Z" (*__memp) \
92.29 -+ : "r" (oldval), "r" (newval) \
92.30 - : "cr0", "memory"); \
92.31 - __tmp; \
92.32 - })
92.33 -@@ -102,14 +102,14 @@
92.34 - __typeof (*(mem)) __tmp; \
92.35 - __typeof (mem) __memp = (mem); \
92.36 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.37 -- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \
92.38 -+ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \
92.39 - " cmpw %0,%2\n" \
92.40 - " bne 2f\n" \
92.41 -- " stwcx. %3,0,%1\n" \
92.42 -+ " stwcx. %3,%y1\n" \
92.43 - " bne- 1b\n" \
92.44 - "2: " \
92.45 -- : "=&r" (__tmp) \
92.46 -- : "b" (__memp), "r" (oldval), "r" (newval) \
92.47 -+ : "=&r" (__tmp), "+Z" (__memp) \
92.48 -+ : "r" (oldval), "r" (newval) \
92.49 - : "cr0", "memory"); \
92.50 - __tmp; \
92.51 - })
92.52 -@@ -118,12 +118,12 @@
92.53 - ({ \
92.54 - __typeof (*mem) __val; \
92.55 - __asm __volatile ( \
92.56 -- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \
92.57 -- " stwcx. %3,0,%2\n" \
92.58 -+ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \
92.59 -+ " stwcx. %2,%y1\n" \
92.60 - " bne- 1b\n" \
92.61 - " " __ARCH_ACQ_INSTR \
92.62 -- : "=&r" (__val), "=m" (*mem) \
92.63 -- : "b" (mem), "r" (value), "m" (*mem) \
92.64 -+ : "=&r" (__val), "+Z" (*mem) \
92.65 -+ : "r" (value) \
92.66 - : "cr0", "memory"); \
92.67 - __val; \
92.68 - })
92.69 -@@ -132,11 +132,11 @@
92.70 - ({ \
92.71 - __typeof (*mem) __val; \
92.72 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.73 -- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \
92.74 -- " stwcx. %3,0,%2\n" \
92.75 -+ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \
92.76 -+ " stwcx. %2,%y1\n" \
92.77 - " bne- 1b" \
92.78 -- : "=&r" (__val), "=m" (*mem) \
92.79 -- : "b" (mem), "r" (value), "m" (*mem) \
92.80 -+ : "=&r" (__val), "+Z" (*mem) \
92.81 -+ : "r" (value) \
92.82 - : "cr0", "memory"); \
92.83 - __val; \
92.84 - })
92.85 -@@ -144,12 +144,12 @@
92.86 - #define __arch_atomic_exchange_and_add_32(mem, value) \
92.87 - ({ \
92.88 - __typeof (*mem) __val, __tmp; \
92.89 -- __asm __volatile ("1: lwarx %0,0,%3\n" \
92.90 -- " add %1,%0,%4\n" \
92.91 -- " stwcx. %1,0,%3\n" \
92.92 -+ __asm __volatile ("1: lwarx %0,%y2\n" \
92.93 -+ " add %1,%0,%3\n" \
92.94 -+ " stwcx. %1,%y2\n" \
92.95 - " bne- 1b" \
92.96 -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
92.97 -- : "b" (mem), "r" (value), "m" (*mem) \
92.98 -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \
92.99 -+ : "r" (value) \
92.100 - : "cr0", "memory"); \
92.101 - __val; \
92.102 - })
92.103 -@@ -157,12 +157,12 @@
92.104 - #define __arch_atomic_increment_val_32(mem) \
92.105 - ({ \
92.106 - __typeof (*(mem)) __val; \
92.107 -- __asm __volatile ("1: lwarx %0,0,%2\n" \
92.108 -+ __asm __volatile ("1: lwarx %0,%y1\n" \
92.109 - " addi %0,%0,1\n" \
92.110 -- " stwcx. %0,0,%2\n" \
92.111 -+ " stwcx. %0,%y1\n" \
92.112 - " bne- 1b" \
92.113 -- : "=&b" (__val), "=m" (*mem) \
92.114 -- : "b" (mem), "m" (*mem) \
92.115 -+ : "=&b" (__val), "+Z" (*mem) \
92.116 -+ : \
92.117 - : "cr0", "memory"); \
92.118 - __val; \
92.119 - })
92.120 -@@ -170,27 +170,27 @@
92.121 - #define __arch_atomic_decrement_val_32(mem) \
92.122 - ({ \
92.123 - __typeof (*(mem)) __val; \
92.124 -- __asm __volatile ("1: lwarx %0,0,%2\n" \
92.125 -+ __asm __volatile ("1: lwarx %0,%y1\n" \
92.126 - " subi %0,%0,1\n" \
92.127 -- " stwcx. %0,0,%2\n" \
92.128 -+ " stwcx. %0,%y1\n" \
92.129 - " bne- 1b" \
92.130 -- : "=&b" (__val), "=m" (*mem) \
92.131 -- : "b" (mem), "m" (*mem) \
92.132 -+ : "=&b" (__val), "+Z" (*mem) \
92.133 -+ : \
92.134 - : "cr0", "memory"); \
92.135 - __val; \
92.136 - })
92.137 -
92.138 - #define __arch_atomic_decrement_if_positive_32(mem) \
92.139 - ({ int __val, __tmp; \
92.140 -- __asm __volatile ("1: lwarx %0,0,%3\n" \
92.141 -+ __asm __volatile ("1: lwarx %0,%y2\n" \
92.142 - " cmpwi 0,%0,0\n" \
92.143 - " addi %1,%0,-1\n" \
92.144 - " ble 2f\n" \
92.145 -- " stwcx. %1,0,%3\n" \
92.146 -+ " stwcx. %1,%y2\n" \
92.147 - " bne- 1b\n" \
92.148 - "2: " __ARCH_ACQ_INSTR \
92.149 -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
92.150 -- : "b" (mem), "m" (*mem) \
92.151 -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*mem) \
92.152 -+ : \
92.153 - : "cr0", "memory"); \
92.154 - __val; \
92.155 - })
92.156 -diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h
92.157 ---- glibc-2_9.orig/sysdeps/powerpc/powerpc32/bits/atomic.h 2007-03-26 22:15:45.000000000 +0200
92.158 -+++ glibc-2_9/sysdeps/powerpc/powerpc32/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100
92.159 -@@ -44,14 +44,14 @@
92.160 - ({ \
92.161 - unsigned int __tmp; \
92.162 - __asm __volatile ( \
92.163 -- "1: lwarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
92.164 -+ "1: lwarx %0,%y1" MUTEX_HINT_ACQ "\n" \
92.165 - " subf. %0,%2,%0\n" \
92.166 - " bne 2f\n" \
92.167 -- " stwcx. %3,0,%1\n" \
92.168 -+ " stwcx. %3,%y1\n" \
92.169 - " bne- 1b\n" \
92.170 - "2: " __ARCH_ACQ_INSTR \
92.171 -- : "=&r" (__tmp) \
92.172 -- : "b" (mem), "r" (oldval), "r" (newval) \
92.173 -+ : "=&r" (__tmp), "+Z" (*(mem)) \
92.174 -+ : "r" (oldval), "r" (newval) \
92.175 - : "cr0", "memory"); \
92.176 - __tmp != 0; \
92.177 - })
92.178 -@@ -60,14 +60,14 @@
92.179 - ({ \
92.180 - unsigned int __tmp; \
92.181 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.182 -- "1: lwarx %0,0,%1" MUTEX_HINT_REL "\n" \
92.183 -+ "1: lwarx %0,%y1" MUTEX_HINT_REL "\n" \
92.184 - " subf. %0,%2,%0\n" \
92.185 - " bne 2f\n" \
92.186 -- " stwcx. %3,0,%1\n" \
92.187 -+ " stwcx. %3,%y1\n" \
92.188 - " bne- 1b\n" \
92.189 - "2: " \
92.190 -- : "=&r" (__tmp) \
92.191 -- : "b" (mem), "r" (oldval), "r" (newval) \
92.192 -+ : "=&r" (__tmp), "+Z" (*(mem)) \
92.193 -+ : "r" (oldval), "r" (newval) \
92.194 - : "cr0", "memory"); \
92.195 - __tmp != 0; \
92.196 - })
92.197 -diff -durN glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h
92.198 ---- glibc-2_9.orig/sysdeps/powerpc/powerpc64/bits/atomic.h 2007-03-26 22:16:03.000000000 +0200
92.199 -+++ glibc-2_9/sysdeps/powerpc/powerpc64/bits/atomic.h 2009-02-02 22:01:40.000000000 +0100
92.200 -@@ -44,14 +44,14 @@
92.201 - ({ \
92.202 - unsigned int __tmp, __tmp2; \
92.203 - __asm __volatile (" clrldi %1,%1,32\n" \
92.204 -- "1: lwarx %0,0,%2" MUTEX_HINT_ACQ "\n" \
92.205 -+ "1: lwarx %0,%y2" MUTEX_HINT_ACQ "\n" \
92.206 - " subf. %0,%1,%0\n" \
92.207 - " bne 2f\n" \
92.208 -- " stwcx. %4,0,%2\n" \
92.209 -+ " stwcx. %4,%y2\n" \
92.210 - " bne- 1b\n" \
92.211 - "2: " __ARCH_ACQ_INSTR \
92.212 -- : "=&r" (__tmp), "=r" (__tmp2) \
92.213 -- : "b" (mem), "1" (oldval), "r" (newval) \
92.214 -+ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \
92.215 -+ : "1" (oldval), "r" (newval) \
92.216 - : "cr0", "memory"); \
92.217 - __tmp != 0; \
92.218 - })
92.219 -@@ -61,14 +61,14 @@
92.220 - unsigned int __tmp, __tmp2; \
92.221 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.222 - " clrldi %1,%1,32\n" \
92.223 -- "1: lwarx %0,0,%2" MUTEX_HINT_REL "\n" \
92.224 -+ "1: lwarx %0,%y2" MUTEX_HINT_REL "\n" \
92.225 - " subf. %0,%1,%0\n" \
92.226 - " bne 2f\n" \
92.227 -- " stwcx. %4,0,%2\n" \
92.228 -+ " stwcx. %4,%y2\n" \
92.229 - " bne- 1b\n" \
92.230 - "2: " \
92.231 -- : "=&r" (__tmp), "=r" (__tmp2) \
92.232 -- : "b" (mem), "1" (oldval), "r" (newval) \
92.233 -+ : "=&r" (__tmp), "=r" (__tmp2), "+Z" (*(mem)) \
92.234 -+ : "1" (oldval), "r" (newval) \
92.235 - : "cr0", "memory"); \
92.236 - __tmp != 0; \
92.237 - })
92.238 -@@ -82,14 +82,14 @@
92.239 - ({ \
92.240 - unsigned long __tmp; \
92.241 - __asm __volatile ( \
92.242 -- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
92.243 -+ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \
92.244 - " subf. %0,%2,%0\n" \
92.245 - " bne 2f\n" \
92.246 -- " stdcx. %3,0,%1\n" \
92.247 -+ " stdcx. %3,%y1\n" \
92.248 - " bne- 1b\n" \
92.249 - "2: " __ARCH_ACQ_INSTR \
92.250 -- : "=&r" (__tmp) \
92.251 -- : "b" (mem), "r" (oldval), "r" (newval) \
92.252 -+ : "=&r" (__tmp), "+Z" (*(mem)) \
92.253 -+ : "r" (oldval), "r" (newval) \
92.254 - : "cr0", "memory"); \
92.255 - __tmp != 0; \
92.256 - })
92.257 -@@ -98,14 +98,14 @@
92.258 - ({ \
92.259 - unsigned long __tmp; \
92.260 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.261 -- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \
92.262 -+ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \
92.263 - " subf. %0,%2,%0\n" \
92.264 - " bne 2f\n" \
92.265 -- " stdcx. %3,0,%1\n" \
92.266 -+ " stdcx. %3,%y1\n" \
92.267 - " bne- 1b\n" \
92.268 - "2: " \
92.269 -- : "=&r" (__tmp) \
92.270 -- : "b" (mem), "r" (oldval), "r" (newval) \
92.271 -+ : "=&r" (__tmp), "+Z" (*(mem)) \
92.272 -+ : "r" (oldval), "r" (newval) \
92.273 - : "cr0", "memory"); \
92.274 - __tmp != 0; \
92.275 - })
92.276 -@@ -115,14 +115,14 @@
92.277 - __typeof (*(mem)) __tmp; \
92.278 - __typeof (mem) __memp = (mem); \
92.279 - __asm __volatile ( \
92.280 -- "1: ldarx %0,0,%1" MUTEX_HINT_ACQ "\n" \
92.281 -+ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \
92.282 - " cmpd %0,%2\n" \
92.283 - " bne 2f\n" \
92.284 -- " stdcx. %3,0,%1\n" \
92.285 -+ " stdcx. %3,%y1\n" \
92.286 - " bne- 1b\n" \
92.287 - "2: " __ARCH_ACQ_INSTR \
92.288 -- : "=&r" (__tmp) \
92.289 -- : "b" (__memp), "r" (oldval), "r" (newval) \
92.290 -+ : "=&r" (__tmp), "+Z" (*__memp) \
92.291 -+ : "r" (oldval), "r" (newval) \
92.292 - : "cr0", "memory"); \
92.293 - __tmp; \
92.294 - })
92.295 -@@ -132,14 +132,14 @@
92.296 - __typeof (*(mem)) __tmp; \
92.297 - __typeof (mem) __memp = (mem); \
92.298 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.299 -- "1: ldarx %0,0,%1" MUTEX_HINT_REL "\n" \
92.300 -+ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \
92.301 - " cmpd %0,%2\n" \
92.302 - " bne 2f\n" \
92.303 -- " stdcx. %3,0,%1\n" \
92.304 -+ " stdcx. %3,%y1\n" \
92.305 - " bne- 1b\n" \
92.306 - "2: " \
92.307 -- : "=&r" (__tmp) \
92.308 -- : "b" (__memp), "r" (oldval), "r" (newval) \
92.309 -+ : "=&r" (__tmp), "+Z" (*__memp) \
92.310 -+ : "r" (oldval), "r" (newval) \
92.311 - : "cr0", "memory"); \
92.312 - __tmp; \
92.313 - })
92.314 -@@ -148,12 +148,12 @@
92.315 - ({ \
92.316 - __typeof (*mem) __val; \
92.317 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.318 -- "1: ldarx %0,0,%2" MUTEX_HINT_ACQ "\n" \
92.319 -- " stdcx. %3,0,%2\n" \
92.320 -+ "1: ldarx %0,%y1" MUTEX_HINT_ACQ "\n" \
92.321 -+ " stdcx. %2,%y1\n" \
92.322 - " bne- 1b\n" \
92.323 - " " __ARCH_ACQ_INSTR \
92.324 -- : "=&r" (__val), "=m" (*mem) \
92.325 -- : "b" (mem), "r" (value), "m" (*mem) \
92.326 -+ : "=&r" (__val), "+Z" (*(mem)) \
92.327 -+ : "r" (value) \
92.328 - : "cr0", "memory"); \
92.329 - __val; \
92.330 - })
92.331 -@@ -162,11 +162,11 @@
92.332 - ({ \
92.333 - __typeof (*mem) __val; \
92.334 - __asm __volatile (__ARCH_REL_INSTR "\n" \
92.335 -- "1: ldarx %0,0,%2" MUTEX_HINT_REL "\n" \
92.336 -- " stdcx. %3,0,%2\n" \
92.337 -+ "1: ldarx %0,%y1" MUTEX_HINT_REL "\n" \
92.338 -+ " stdcx. %2,%y1\n" \
92.339 - " bne- 1b" \
92.340 -- : "=&r" (__val), "=m" (*mem) \
92.341 -- : "b" (mem), "r" (value), "m" (*mem) \
92.342 -+ : "=&r" (__val), "+Z" (*(mem)) \
92.343 -+ : "r" (value) \
92.344 - : "cr0", "memory"); \
92.345 - __val; \
92.346 - })
92.347 -@@ -174,12 +174,12 @@
92.348 - #define __arch_atomic_exchange_and_add_64(mem, value) \
92.349 - ({ \
92.350 - __typeof (*mem) __val, __tmp; \
92.351 -- __asm __volatile ("1: ldarx %0,0,%3\n" \
92.352 -- " add %1,%0,%4\n" \
92.353 -- " stdcx. %1,0,%3\n" \
92.354 -+ __asm __volatile ("1: ldarx %0,%y2\n" \
92.355 -+ " add %1,%0,%3\n" \
92.356 -+ " stdcx. %1,%y2\n" \
92.357 - " bne- 1b" \
92.358 -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
92.359 -- : "b" (mem), "r" (value), "m" (*mem) \
92.360 -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \
92.361 -+ : "r" (value) \
92.362 - : "cr0", "memory"); \
92.363 - __val; \
92.364 - })
92.365 -@@ -187,12 +187,12 @@
92.366 - #define __arch_atomic_increment_val_64(mem) \
92.367 - ({ \
92.368 - __typeof (*(mem)) __val; \
92.369 -- __asm __volatile ("1: ldarx %0,0,%2\n" \
92.370 -+ __asm __volatile ("1: ldarx %0,%y1\n" \
92.371 - " addi %0,%0,1\n" \
92.372 -- " stdcx. %0,0,%2\n" \
92.373 -+ " stdcx. %0,%y1\n" \
92.374 - " bne- 1b" \
92.375 -- : "=&b" (__val), "=m" (*mem) \
92.376 -- : "b" (mem), "m" (*mem) \
92.377 -+ : "=&b" (__val), "+Z" (*(mem)) \
92.378 -+ : \
92.379 - : "cr0", "memory"); \
92.380 - __val; \
92.381 - })
92.382 -@@ -200,27 +200,27 @@
92.383 - #define __arch_atomic_decrement_val_64(mem) \
92.384 - ({ \
92.385 - __typeof (*(mem)) __val; \
92.386 -- __asm __volatile ("1: ldarx %0,0,%2\n" \
92.387 -+ __asm __volatile ("1: ldarx %0,%y1\n" \
92.388 - " subi %0,%0,1\n" \
92.389 -- " stdcx. %0,0,%2\n" \
92.390 -+ " stdcx. %0,%y1\n" \
92.391 - " bne- 1b" \
92.392 -- : "=&b" (__val), "=m" (*mem) \
92.393 -- : "b" (mem), "m" (*mem) \
92.394 -+ : "=&b" (__val), "+Z" (*(mem)) \
92.395 -+ : \
92.396 - : "cr0", "memory"); \
92.397 - __val; \
92.398 - })
92.399 -
92.400 - #define __arch_atomic_decrement_if_positive_64(mem) \
92.401 - ({ int __val, __tmp; \
92.402 -- __asm __volatile ("1: ldarx %0,0,%3\n" \
92.403 -+ __asm __volatile ("1: ldarx %0,%y2\n" \
92.404 - " cmpdi 0,%0,0\n" \
92.405 - " addi %1,%0,-1\n" \
92.406 - " ble 2f\n" \
92.407 -- " stdcx. %1,0,%3\n" \
92.408 -+ " stdcx. %1,%y2\n" \
92.409 - " bne- 1b\n" \
92.410 - "2: " __ARCH_ACQ_INSTR \
92.411 -- : "=&b" (__val), "=&r" (__tmp), "=m" (*mem) \
92.412 -- : "b" (mem), "m" (*mem) \
92.413 -+ : "=&b" (__val), "=&r" (__tmp), "+Z" (*(mem)) \
92.414 -+ : \
92.415 - : "cr0", "memory"); \
92.416 - __val; \
92.417 - })
93.1 --- a/patches/glibc/2_9/510-sh-no-asm-user-header.patch Sat Apr 11 19:03:02 2009 +0000
93.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
93.3 @@ -1,70 +0,0 @@
93.4 -2007-03-13 Mike Frysinger <vapier@gentoo.org>
93.5 -
93.6 - * sysdeps/unix/sysv/linux/sh/sys/user.h: Copy Linux's asm-sh/user.h.
93.7 -
93.8 ---- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h
93.9 -+++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/user.h
93.10 -@@ -19,10 +19,60 @@
93.11 - #ifndef _SYS_USER_H
93.12 - #define _SYS_USER_H 1
93.13 -
93.14 --#include <features.h>
93.15 -+#include <unistd.h>
93.16 -+#include <asm/ptrace.h>
93.17 -
93.18 --#include <asm/user.h>
93.19 -+/*
93.20 -+ * Core file format: The core file is written in such a way that gdb
93.21 -+ * can understand it and provide useful information to the user (under
93.22 -+ * linux we use the `trad-core' bfd). The file contents are as follows:
93.23 -+ *
93.24 -+ * upage: 1 page consisting of a user struct that tells gdb
93.25 -+ * what is present in the file. Directly after this is a
93.26 -+ * copy of the task_struct, which is currently not used by gdb,
93.27 -+ * but it may come in handy at some point. All of the registers
93.28 -+ * are stored as part of the upage. The upage should always be
93.29 -+ * only one page long.
93.30 -+ * data: The data segment follows next. We use current->end_text to
93.31 -+ * current->brk to pick up all of the user variables, plus any memory
93.32 -+ * that may have been sbrk'ed. No attempt is made to determine if a
93.33 -+ * page is demand-zero or if a page is totally unused, we just cover
93.34 -+ * the entire range. All of the addresses are rounded in such a way
93.35 -+ * that an integral number of pages is written.
93.36 -+ * stack: We need the stack information in order to get a meaningful
93.37 -+ * backtrace. We need to write the data from usp to
93.38 -+ * current->start_stack, so we round each of these in order to be able
93.39 -+ * to write an integer number of pages.
93.40 -+ */
93.41 -
93.42 --#undef start_thread
93.43 -+struct user_fpu_struct {
93.44 -+ unsigned long fp_regs[16];
93.45 -+ unsigned long xfp_regs[16];
93.46 -+ unsigned long fpscr;
93.47 -+ unsigned long fpul;
93.48 -+};
93.49 -+
93.50 -+struct user {
93.51 -+ struct pt_regs regs; /* entire machine state */
93.52 -+ struct user_fpu_struct fpu; /* Math Co-processor registers */
93.53 -+ int u_fpvalid; /* True if math co-processor being used */
93.54 -+ size_t u_tsize; /* text size (pages) */
93.55 -+ size_t u_dsize; /* data size (pages) */
93.56 -+ size_t u_ssize; /* stack size (pages) */
93.57 -+ unsigned long start_code; /* text starting address */
93.58 -+ unsigned long start_data; /* data starting address */
93.59 -+ unsigned long start_stack; /* stack starting address */
93.60 -+ long int signal; /* signal causing core dump */
93.61 -+ struct regs * u_ar0; /* help gdb find registers */
93.62 -+ struct user_fpu_struct* u_fpstate; /* Math Co-processor pointer */
93.63 -+ unsigned long magic; /* identifies a core file */
93.64 -+ char u_comm[32]; /* user command name */
93.65 -+};
93.66 -+
93.67 -+#define NBPG getpagesize()
93.68 -+#define UPAGES 1
93.69 -+#define HOST_TEXT_START_ADDR (u.start_code)
93.70 -+#define HOST_DATA_START_ADDR (u.start_data)
93.71 -+#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
93.72 -
93.73 - #endif /* sys/user.h */
94.1 --- a/patches/glibc/2_9/520-sh-no-asm-elf-header.patch Sat Apr 11 19:03:02 2009 +0000
94.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
94.3 @@ -1,27 +0,0 @@
94.4 -2007-03-13 Mike Frysinger <vapier@gentoo.org>
94.5 -
94.6 - * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Copy Linux's asm-sh/elf.h types.
94.7 -
94.8 ---- glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h
94.9 -+++ glibc-2_9/sysdeps/unix/sysv/linux/sh/sys/procfs.h
94.10 -@@ -29,10 +29,19 @@
94.11 - #include <sys/types.h>
94.12 - #include <sys/ucontext.h>
94.13 - #include <sys/user.h>
94.14 --#include <asm/elf.h>
94.15 -
94.16 - __BEGIN_DECLS
94.17 -
94.18 -+/*
94.19 -+ * ELF register definitions...
94.20 -+ */
94.21 -+typedef unsigned long elf_greg_t;
94.22 -+
94.23 -+#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
94.24 -+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
94.25 -+
94.26 -+typedef struct user_fpu_struct elf_fpregset_t;
94.27 -+
94.28 - struct elf_siginfo
94.29 - {
94.30 - int si_signo; /* Signal number. */
95.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
95.2 +++ b/patches/glibc/ports-2.9/100-arm_linux_tls.patch Sun Apr 19 16:17:11 2009 +0000
95.3 @@ -0,0 +1,14 @@
95.4 +Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
95.5 +
95.6 +diff -durN glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
95.7 +--- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
95.8 ++++ glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000
95.9 +@@ -28,6 +28,8 @@
95.10 + /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO. */
95.11 + #include <dl-sysdep.h>
95.12 +
95.13 ++#include <tls.h>
95.14 ++
95.15 + /* For Linux we can use the system call table in the header file
95.16 + /usr/include/asm/unistd.h
95.17 + of the kernel. But these symbols do not follow the SYS_* syntax
96.1 --- a/patches/glibc/ports-2_9/100-arm_linux_tls.patch Sat Apr 11 19:03:02 2009 +0000
96.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
96.3 @@ -1,14 +0,0 @@
96.4 -Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
96.5 -
96.6 -diff -durN glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h
96.7 ---- glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
96.8 -+++ glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000
96.9 -@@ -28,6 +28,8 @@
96.10 - /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO. */
96.11 - #include <dl-sysdep.h>
96.12 -
96.13 -+#include <tls.h>
96.14 -+
96.15 - /* For Linux we can use the system call table in the header file
96.16 - /usr/include/asm/unistd.h
96.17 - of the kernel. But these symbols do not follow the SYS_* syntax
97.1 --- a/patches/uClibc/0.9.30.1/140-gnu89-inline.patch Sat Apr 11 19:03:02 2009 +0000
97.2 +++ b/patches/uClibc/0.9.30.1/140-gnu89-inline.patch Sun Apr 19 16:17:11 2009 +0000
97.3 @@ -6,7 +6,7 @@
97.4 diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak
97.5 --- uClibc-0.9.30.orig/Rules.mak 2008-11-12 13:24:16.000000000 +0100
97.6 +++ uClibc-0.9.30/Rules.mak 2009-02-07 09:57:59.000000000 +0100
97.7 -@@ -502,6 +502,7 @@
97.8 +@@ -519,6 +519,7 @@
97.9 endif
97.10
97.11 CFLAGS += $(call check_gcc,-std=gnu99,)
98.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
98.2 +++ b/patches/uClibc/0.9.30.1/150-64bit-strtouq.patch Sun Apr 19 16:17:11 2009 +0000
98.3 @@ -0,0 +1,48 @@
98.4 +[PATCH]: Add strtouq alias (to strtoul) for 64bit
98.5 +
98.6 +The strtouq alias was only available on 32bit, breaking compilation of stuff
98.7 +using strtouq on 64bit machines. At the same time use the correct return
98.8 +type (u_quad_t).
98.9 +
98.10 +Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk>
98.11 +---
98.12 + include/stdlib.h | 4 +++-
98.13 + libc/stdlib/stdlib.c | 1 +
98.14 + 2 files changed, 4 insertions(+), 1 deletion(-)
98.15 +
98.16 +Index: uClibc-0.9.30.1/libc/stdlib/stdlib.c
98.17 +===================================================================
98.18 +--- uClibc-0.9.30.1.orig/libc/stdlib/stdlib.c
98.19 ++++ uClibc-0.9.30.1/libc/stdlib/stdlib.c
98.20 +@@ -401,6 +401,9 @@
98.21 + libc_hidden_proto(__XL_NPP(strtoull))
98.22 + strong_alias(__XL_NPP(strtoul),__XL_NPP(strtoull))
98.23 + libc_hidden_def(__XL_NPP(strtoull))
98.24 ++#if !defined(L_strtoul_l)
98.25 ++strong_alias(strtoul,strtouq)
98.26 ++#endif
98.27 + #endif
98.28 +
98.29 +
98.30 +Index: uClibc-0.9.30.1/include/stdlib.h
98.31 +===================================================================
98.32 +--- uClibc-0.9.30.1.orig/include/stdlib.h
98.33 ++++ uClibc-0.9.30.1/include/stdlib.h
98.34 +@@ -203,6 +203,8 @@
98.35 + __END_NAMESPACE_STD
98.36 +
98.37 + #ifdef __USE_BSD
98.38 ++#include <sys/types.h> /* for u_quad_t */
98.39 ++
98.40 + /* Convert a string to a quadword integer. */
98.41 + __extension__
98.42 + extern long long int strtoq (__const char *__restrict __nptr,
98.43 +@@ -210,7 +212,7 @@
98.44 + __THROW __nonnull ((1)) __wur;
98.45 + /* Convert a string to an unsigned quadword integer. */
98.46 + __extension__
98.47 +-extern unsigned long long int strtouq (__const char *__restrict __nptr,
98.48 ++extern u_quad_t strtouq (__const char *__restrict __nptr,
98.49 + char **__restrict __endptr, int __base)
98.50 + __THROW __nonnull ((1)) __wur;
98.51 + #endif /* GCC and use BSD. */
99.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99.2 +++ b/patches/uClibc/0.9.30.1/160-c99-ldbl-math.patch Sun Apr 19 16:17:11 2009 +0000
99.3 @@ -0,0 +1,474 @@
99.4 +Index: uClibc-0.9.30.1/libm/ldouble_wrappers.c
99.5 +===================================================================
99.6 +--- uClibc-0.9.30.1/libm/ldouble_wrappers.c (revision 25552)
99.7 ++++ uClibc-0.9.30.1/libm/ldouble_wrappers.c (working copy)
99.8 +@@ -13,6 +13,16 @@
99.9 + #include "math.h"
99.10 + #include <complex.h>
99.11 +
99.12 ++#if defined __NO_LONG_DOUBLE_MATH
99.13 ++# define int_WRAPPER_C99(func) /* not needed */
99.14 ++# else
99.15 ++# define int_WRAPPER_C99(func) \
99.16 ++int func##l(long double x) \
99.17 ++{ \
99.18 ++ return func((double) x); \
99.19 ++} \
99.20 ++libm_hidden_def(func##l)
99.21 ++#endif
99.22 +
99.23 + /* Implement the following, as defined by SuSv3 */
99.24 + #if 0
99.25 +@@ -543,46 +553,28 @@ long double truncl (long double x)
99.26 + #endif
99.27 +
99.28 +
99.29 +-#ifdef __DO_C99_MATH__
99.30 ++#if defined __DO_C99_MATH__
99.31 +
99.32 + #ifdef L_fpclassifyl
99.33 +-int __fpclassifyl (long double x)
99.34 +-{
99.35 +- return __fpclassify ( (double) x );
99.36 +-}
99.37 +-libm_hidden_def(__fpclassifyl)
99.38 ++int_WRAPPER_C99(__fpclassify)
99.39 + #endif
99.40 +
99.41 + #ifdef L_finitel
99.42 +-int __finitel (long double x)
99.43 +-{
99.44 +- return __finite ( (double)x );
99.45 +-}
99.46 +-libm_hidden_def(__finitel)
99.47 ++int_WRAPPER_C99(__finite)
99.48 + #endif
99.49 +
99.50 + #ifdef L_signbitl
99.51 +-int __signbitl (long double x)
99.52 +-{
99.53 +- return __signbitl ( (double)x );
99.54 +-}
99.55 +-libm_hidden_def(__signbitl)
99.56 ++int_WRAPPER_C99(__signbit)
99.57 + #endif
99.58 +
99.59 + #ifdef L_isnanl
99.60 +-int __isnanl (long double x)
99.61 +-{
99.62 +- return __isnan ( (double)x );
99.63 +-}
99.64 +-libm_hidden_def(__isnanl)
99.65 ++int_WRAPPER_C99(__isnan)
99.66 + #endif
99.67 +
99.68 + #ifdef L_isinfl
99.69 +-int __isinfl (long double x)
99.70 +-{
99.71 +- return __isinf ( (double)x );
99.72 +-}
99.73 +-libm_hidden_def(__isinfl)
99.74 ++int_WRAPPER_C99(__isinf)
99.75 + #endif
99.76 +
99.77 +-#endif
99.78 ++#endif /* DO_C99_MATH */
99.79 ++
99.80 ++#undef int_WRAPPER_C99
99.81 +Index: uClibc-0.9.30.1/libm/nan.c
99.82 +===================================================================
99.83 +--- uClibc-0.9.30.1/libm/nan.c (revision 25552)
99.84 ++++ uClibc-0.9.30.1/libm/nan.c (working copy)
99.85 +@@ -45,7 +45,7 @@ float nanf (const char *tagp)
99.86 + }
99.87 + libm_hidden_def(nanf)
99.88 +
99.89 +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.90 ++#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __NO_LONG_DOUBLE_MATH
99.91 + libm_hidden_proto(nanl)
99.92 + long double nanl (const char *tagp)
99.93 + {
99.94 +Index: uClibc-0.9.30.1/include/math.h
99.95 +===================================================================
99.96 +--- uClibc-0.9.30.1/include/math.h (revision 25552)
99.97 ++++ uClibc-0.9.30.1/include/math.h (working copy)
99.98 +@@ -118,7 +118,7 @@ __BEGIN_DECLS
99.99 + # undef __MATH_PRECNAME
99.100 +
99.101 + # if (__STDC__ - 0 || __GNUC__ - 0) \
99.102 +- && (defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ || defined __LDBL_COMPAT)
99.103 ++ && (!defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT)
99.104 + # ifdef __LDBL_COMPAT
99.105 +
99.106 + # ifdef __USE_ISOC99
99.107 +@@ -230,7 +230,7 @@ enum
99.108 + };
99.109 +
99.110 + /* Return number of classification appropriate for X. */
99.111 +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.112 ++# ifdef __NO_LONG_DOUBLE_MATH
99.113 + # define fpclassify(x) \
99.114 + (sizeof (x) == sizeof (float) ? __fpclassifyf (x) : __fpclassify (x))
99.115 + # else
99.116 +@@ -242,7 +242,7 @@ enum
99.117 + # endif
99.118 +
99.119 + /* Return nonzero value if sign of X is negative. */
99.120 +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.121 ++# ifdef __NO_LONG_DOUBLE_MATH
99.122 + # define signbit(x) \
99.123 + (sizeof (x) == sizeof (float) ? __signbitf (x) : __signbit (x))
99.124 + # else
99.125 +@@ -254,7 +254,7 @@ enum
99.126 + # endif
99.127 +
99.128 + /* Return nonzero value if X is not +-Inf or NaN. */
99.129 +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.130 ++# ifdef __NO_LONG_DOUBLE_MATH
99.131 + # define isfinite(x) \
99.132 + (sizeof (x) == sizeof (float) ? __finitef (x) : __finite (x))
99.133 + # else
99.134 +@@ -270,7 +270,7 @@ enum
99.135 +
99.136 + /* Return nonzero value if X is a NaN. We could use `fpclassify' but
99.137 + we already have this functions `__isnan' and it is faster. */
99.138 +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.139 ++# ifdef __NO_LONG_DOUBLE_MATH
99.140 + # define isnan(x) \
99.141 + (sizeof (x) == sizeof (float) ? __isnanf (x) : __isnan (x))
99.142 + # else
99.143 +@@ -282,7 +282,7 @@ enum
99.144 + # endif
99.145 +
99.146 + /* Return nonzero value is X is positive or negative infinity. */
99.147 +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.148 ++# ifdef __NO_LONG_DOUBLE_MATH
99.149 + # define isinf(x) \
99.150 + (sizeof (x) == sizeof (float) ? __isinff (x) : __isinf (x))
99.151 + # else
99.152 +Index: uClibc-0.9.30.1/include/tgmath.h
99.153 +===================================================================
99.154 +--- uClibc-0.9.30.1/include/tgmath.h (revision 25552)
99.155 ++++ uClibc-0.9.30.1/include/tgmath.h (working copy)
99.156 +@@ -36,7 +36,7 @@
99.157 +
99.158 + #if __GNUC_PREREQ(2, 7)
99.159 +
99.160 +-# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.161 ++# ifdef __NO_LONG_DOUBLE_MATH
99.162 + # define __tgml(fct) fct
99.163 + # else
99.164 + # define __tgml(fct) fct ## l
99.165 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h
99.166 +===================================================================
99.167 +--- uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h (revision 25552)
99.168 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h (working copy)
99.169 +@@ -7,13 +7,13 @@
99.170 + # define __WORDSIZE 32
99.171 + #endif
99.172 +
99.173 +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL
99.174 ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
99.175 +
99.176 + /* Signal the glibc ABI didn't used to have a `long double'.
99.177 + The changes all the `long double' function variants to be redirects
99.178 + to the double functions. */
99.179 + # define __LONG_DOUBLE_MATH_OPTIONAL 1
99.180 + # ifndef __LONG_DOUBLE_128__
99.181 +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.182 ++# define __NO_LONG_DOUBLE_MATH 1
99.183 + # endif
99.184 + #endif
99.185 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h
99.186 +===================================================================
99.187 +--- uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h (revision 25552)
99.188 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h (working copy)
99.189 +@@ -65,11 +65,13 @@ typedef double double_t;
99.190 +
99.191 + #endif /* ISO C99 */
99.192 +
99.193 +-#ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.194 ++#ifndef __NO_LONG_DOUBLE_MATH
99.195 + #include <bits/wordsize.h>
99.196 + /* Signal that we do not really have a `long double'. The disables the
99.197 + declaration of all the `long double' function variants. */
99.198 + # if __WORDSIZE == 32
99.199 +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.200 ++# define __NO_LONG_DOUBLE_MATH 1
99.201 ++# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.202 ++# define __NO_LONG_DOUBLE_MATH 1
99.203 + # endif /* __WORDSIZE == 32 */
99.204 +-#endif /* __UCLIBC_HAS_LONG_DOUBLE_MATH__ */
99.205 ++#endif /* __NO_LONG_DOUBLE_MATH */
99.206 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h
99.207 +===================================================================
99.208 +--- uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h (revision 25552)
99.209 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h (working copy)
99.210 +@@ -34,3 +34,11 @@ typedef double double_t; /* `double' exp
99.211 + # define FP_ILOGBNAN (2147483647)
99.212 +
99.213 + #endif /* ISO C99 */
99.214 ++
99.215 ++#ifndef __NO_LONG_DOUBLE_MATH
99.216 ++/* Signal that we do not really have a `long double'. This disables the
99.217 ++ declaration of all the `long double' function variants. */
99.218 ++/* XXX The FPA does support this but the patterns in GCC are currently
99.219 ++ turned off. */
99.220 ++# define __NO_LONG_DOUBLE_MATH 1
99.221 ++#endif
99.222 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h
99.223 +===================================================================
99.224 +--- uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h (revision 25552)
99.225 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h (working copy)
99.226 +@@ -36,3 +36,7 @@ typedef long double double_t; /* `double
99.227 + # define FP_ILOGBNAN (2147483647)
99.228 +
99.229 + #endif /* ISO C99 */
99.230 ++
99.231 ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.232 ++# define __NO_LONG_DOUBLE_MATH 1
99.233 ++#endif
99.234 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h
99.235 +===================================================================
99.236 +--- uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h (revision 25552)
99.237 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h (working copy)
99.238 +@@ -18,13 +18,13 @@
99.239 +
99.240 + #define __WORDSIZE 64
99.241 +
99.242 +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL
99.243 ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
99.244 +
99.245 + /* Signal that we didn't used to have a `long double'. The changes all
99.246 + the `long double' function variants to be redirects to the double
99.247 + functions. */
99.248 + # define __LONG_DOUBLE_MATH_OPTIONAL 1
99.249 + # ifndef __LONG_DOUBLE_128__
99.250 +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.251 ++# define __NO_LONG_DOUBLE_MATH 1
99.252 + # endif
99.253 + #endif
99.254 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h
99.255 +===================================================================
99.256 +--- uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h (revision 25552)
99.257 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h (working copy)
99.258 +@@ -78,3 +78,7 @@ typedef double double_t;
99.259 +
99.260 + # endif /* GNUC before 3.4 */
99.261 + #endif /* COMPLEX_H */
99.262 ++
99.263 ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.264 ++# define __NO_LONG_DOUBLE_MATH 1
99.265 ++#endif
99.266 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h
99.267 +===================================================================
99.268 +--- uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h (revision 25552)
99.269 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h (working copy)
99.270 +@@ -35,3 +35,9 @@ typedef double double_t; /* `double' exp
99.271 + # define FP_ILOGBNAN 2147483647
99.272 +
99.273 + #endif /* ISO C99 */
99.274 ++
99.275 ++#ifndef __NO_LONG_DOUBLE_MATH
99.276 ++/* Signal that we do not really have a `long double'. The disables the
99.277 ++ declaration of all the `long double' function variants. */
99.278 ++# define __NO_LONG_DOUBLE_MATH 1
99.279 ++#endif
99.280 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h
99.281 +===================================================================
99.282 +--- uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h (revision 25552)
99.283 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h (working copy)
99.284 +@@ -44,3 +44,7 @@ typedef long double double_t; /* `double
99.285 + # define FP_ILOGBNAN (-2147483647 - 1)
99.286 +
99.287 + #endif /* ISO C99 */
99.288 ++
99.289 ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.290 ++# define __NO_LONG_DOUBLE_MATH 1
99.291 ++#endif
99.292 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h
99.293 +===================================================================
99.294 +--- uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h (revision 25552)
99.295 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h (working copy)
99.296 +@@ -34,3 +34,11 @@ typedef double double_t; /* `double' exp
99.297 + # define FP_ILOGBNAN (2147483647)
99.298 +
99.299 + #endif /* ISO C99 */
99.300 ++
99.301 ++#ifndef __NO_LONG_DOUBLE_MATH
99.302 ++/* Signal that we do not really have a `long double'. This disables the
99.303 ++ declaration of all the `long double' function variants. */
99.304 ++/* XXX The FPA does support this but the patterns in GCC are currently
99.305 ++ turned off. */
99.306 ++# define __NO_LONG_DOUBLE_MATH 1
99.307 ++#endif
99.308 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h
99.309 +===================================================================
99.310 +--- uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h (revision 25552)
99.311 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h (working copy)
99.312 +@@ -46,3 +46,7 @@ typedef long double double_t; /* `double
99.313 + # define FP_ILOGBNAN (-2147483647 - 1)
99.314 +
99.315 + #endif /* ISO C99 */
99.316 ++
99.317 ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.318 ++# define __NO_LONG_DOUBLE_MATH 1
99.319 ++#endif
99.320 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h
99.321 +===================================================================
99.322 +--- uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h (revision 25552)
99.323 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h (working copy)
99.324 +@@ -36,8 +36,8 @@ typedef double double_t; /* `double' exp
99.325 +
99.326 + #endif /* ISO C99 */
99.327 +
99.328 +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.329 ++#ifndef __NO_LONG_DOUBLE_MATH
99.330 + /* Signal that we do not really have a `long double'. The disables the
99.331 + declaration of all the `long double' function variants. */
99.332 +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.333 ++# define __NO_LONG_DOUBLE_MATH 1
99.334 + #endif
99.335 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h
99.336 +===================================================================
99.337 +--- uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h (revision 25552)
99.338 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h (working copy)
99.339 +@@ -35,3 +35,7 @@ typedef double double_t; /* `double' exp
99.340 + # define FP_ILOGBNAN 2147483647
99.341 +
99.342 + #endif /* ISO C99 */
99.343 ++
99.344 ++#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.345 ++# define __NO_LONG_DOUBLE_MATH 1
99.346 ++#endif
99.347 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h
99.348 +===================================================================
99.349 +--- uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h (revision 25552)
99.350 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h (working copy)
99.351 +@@ -39,8 +39,10 @@ typedef double double_t; /* `double' exp
99.352 +
99.353 + #endif /* ISO C99 */
99.354 +
99.355 +-#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && _MIPS_SIM == _ABIO32
99.356 ++#if ! defined __NO_LONG_DOUBLE_MATH && _MIPS_SIM == _ABIO32
99.357 + /* Signal that we do not really have a `long double'. This disables the
99.358 + declaration of all the `long double' function variants. */
99.359 +-# error defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ and _MIPS_SIM == _ABIO32
99.360 ++# define __NO_LONG_DOUBLE_MATH 1
99.361 ++#elif !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.362 ++# define __NO_LONG_DOUBLE_MATH 1
99.363 + #endif
99.364 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h
99.365 +===================================================================
99.366 +--- uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h (revision 25552)
99.367 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h (working copy)
99.368 +@@ -34,3 +34,11 @@ typedef double double_t; /* `double' exp
99.369 + # define FP_ILOGBNAN (2147483647)
99.370 +
99.371 + #endif /* ISO C99 */
99.372 ++
99.373 ++#ifndef __NO_LONG_DOUBLE_MATH
99.374 ++/* Signal that we do not really have a `long double'. This disables the
99.375 ++ declaration of all the `long double' function variants. */
99.376 ++/* XXX The FPA does support this but the patterns in GCC are currently
99.377 ++ turned off. */
99.378 ++# define __NO_LONG_DOUBLE_MATH 1
99.379 ++#endif
99.380 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h
99.381 +===================================================================
99.382 +--- uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h (revision 25552)
99.383 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h (working copy)
99.384 +@@ -6,7 +6,7 @@
99.385 + # define __WORDSIZE 32
99.386 + #endif
99.387 +
99.388 +-#if 0 /* uClibc: done in mathdefs.h: defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL*/
99.389 ++#if 0 /* uClibc: done in mathdefs.h: !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL*/
99.390 +
99.391 + # if __WORDSIZE == 32
99.392 + /* Signal that in 32bit ABI we didn't used to have a `long double'.
99.393 +@@ -14,7 +14,7 @@
99.394 + to the double functions. */
99.395 + # define __LONG_DOUBLE_MATH_OPTIONAL 1
99.396 + # ifndef __LONG_DOUBLE_128__
99.397 +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.398 ++# define __NO_LONG_DOUBLE_MATH 1
99.399 + # endif
99.400 + # endif
99.401 + #endif
99.402 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h
99.403 +===================================================================
99.404 +--- uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h (revision 25552)
99.405 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h (working copy)
99.406 +@@ -57,13 +57,15 @@ typedef double double_t;
99.407 +
99.408 + #endif /* ISO C99 */
99.409 +
99.410 +-#ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.411 ++#ifndef __NO_LONG_DOUBLE_MATH
99.412 +
99.413 + # if __WORDSIZE == 32
99.414 + /* Signal that in 32bit ABI we do not really have a `long double'.
99.415 + The disables the declaration of all the `long double' function
99.416 + variants. */
99.417 +-# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.418 ++# define __NO_LONG_DOUBLE_MATH 1
99.419 ++# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.420 ++# define __NO_LONG_DOUBLE_MATH 1
99.421 + # endif
99.422 +
99.423 + #endif
99.424 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h
99.425 +===================================================================
99.426 +--- uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h (revision 25552)
99.427 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h (working copy)
99.428 +@@ -37,7 +37,7 @@
99.429 +
99.430 + # if __WORDSIZE == 32
99.431 +
99.432 +-# ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.433 ++# ifndef __NO_LONG_DOUBLE_MATH
99.434 +
99.435 + # define __unordered_cmp(x, y) \
99.436 + (__extension__ \
99.437 +@@ -157,7 +157,7 @@ __NTH (__signbit (double __x))
99.438 + return __u.__i[0] < 0;
99.439 + }
99.440 +
99.441 +-# ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.442 ++# ifndef __NO_LONG_DOUBLE_MATH
99.443 + __MATH_INLINE int
99.444 + __NTH (__signbitl (long double __x))
99.445 + {
99.446 +@@ -219,7 +219,7 @@ __NTH (sqrtl (long double __x))
99.447 + _Qp_sqrt (&__r, &__x);
99.448 + return __r;
99.449 + }
99.450 +-# elif defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.451 ++# elif !defined __NO_LONG_DOUBLE_MATH
99.452 + __MATH_INLINE long double
99.453 + sqrtl (long double __x) __THROW
99.454 + {
99.455 +@@ -257,7 +257,7 @@ __ieee754_sqrtl (long double __x)
99.456 + _Qp_sqrt(&__r, &__x);
99.457 + return __r;
99.458 + }
99.459 +-# elif defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
99.460 ++# elif !defined __NO_LONG_DOUBLE_MATH
99.461 + __MATH_INLINE long double
99.462 + __ieee754_sqrtl (long double __x)
99.463 + {
99.464 +Index: uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h
99.465 +===================================================================
99.466 +--- uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h (revision 25552)
99.467 ++++ uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h (working copy)
99.468 +@@ -61,3 +61,9 @@ typedef double double_t;
99.469 + # define FP_ILOGBNAN 0x7fffffff
99.470 +
99.471 + #endif /* ISO C99 */
99.472 ++
99.473 ++#ifndef __NO_LONG_DOUBLE_MATH
99.474 ++/* Signal that we do not really have a `long double'. The disables the
99.475 ++ declaration of all the `long double' function variants. */
99.476 ++# define __NO_LONG_DOUBLE_MATH 1
99.477 ++#endif
100.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
100.2 +++ b/patches/uClibc/0.9.30.1/170-dl-sysdep-inline.patch Sun Apr 19 16:17:11 2009 +0000
100.3 @@ -0,0 +1,371 @@
100.4 +Index: uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h
100.5 +===================================================================
100.6 +--- uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h (revision 25503)
100.7 ++++ uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h (working copy)
100.8 +@@ -17,7 +17,7 @@
100.9 +
100.10 + #define DL_MALLOC_ALIGN 8 /* EABI needs 8 byte alignment for STRD LDRD*/
100.11 +
100.12 +-static __inline__ unsigned long arm_modulus(unsigned long m, unsigned long p)
100.13 ++static __always_inline unsigned long arm_modulus(unsigned long m, unsigned long p)
100.14 + {
100.15 + unsigned long i,t,inc;
100.16 + i=p; t=0;
100.17 +@@ -74,7 +74,7 @@ unsigned long _dl_linux_resolver(struct
100.18 + first element of the GOT. We used to use the PIC register to do this
100.19 + without a constant pool reference, but GCC 4.2 will use a pseudo-register
100.20 + for the PIC base, so it may not be in r10. */
100.21 +-static __inline__ Elf32_Addr __attribute__ ((unused))
100.22 ++static __always_inline Elf32_Addr __attribute__ ((unused))
100.23 + elf_machine_dynamic (void)
100.24 + {
100.25 + Elf32_Addr dynamic;
100.26 +@@ -106,7 +106,7 @@ elf_machine_dynamic (void)
100.27 + }
100.28 +
100.29 + /* Return the run-time load address of the shared object. */
100.30 +-static __inline__ Elf32_Addr __attribute__ ((unused))
100.31 ++static __always_inline Elf32_Addr __attribute__ ((unused))
100.32 + elf_machine_load_address (void)
100.33 + {
100.34 + extern void __dl_start __asm__ ("_dl_start");
100.35 +@@ -130,7 +130,7 @@ elf_machine_load_address (void)
100.36 + return pcrel_addr - got_addr;
100.37 + }
100.38 +
100.39 +-static __inline__ void
100.40 ++static __always_inline void
100.41 + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.42 + Elf32_Word relative_count)
100.43 + {
100.44 +Index: uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h
100.45 +===================================================================
100.46 +--- uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h (revision 25503)
100.47 ++++ uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h (working copy)
100.48 +@@ -90,7 +90,7 @@ void _dl_init_got(unsigned long *lpnt,st
100.49 + #define ELF_MACHINE_PLTREL_OVERLAP 1
100.50 +
100.51 + /* Return the value of the GOT pointer. */
100.52 +-static __inline__ Elf32_Addr * __attribute__ ((const))
100.53 ++static __always_inline Elf32_Addr * __attribute__ ((const))
100.54 + ppc_got (void)
100.55 + {
100.56 + Elf32_Addr *got;
100.57 +@@ -109,14 +109,14 @@ ppc_got (void)
100.58 +
100.59 + /* Return the link-time address of _DYNAMIC, stored as
100.60 + the first value in the GOT. */
100.61 +-static __inline__ Elf32_Addr __attribute__ ((const))
100.62 ++static __always_inline Elf32_Addr __attribute__ ((const))
100.63 + elf_machine_dynamic (void)
100.64 + {
100.65 + return *ppc_got();
100.66 + }
100.67 +
100.68 + /* Return the run-time load address of the shared object. */
100.69 +-static __inline__ Elf32_Addr __attribute__ ((const))
100.70 ++static __always_inline Elf32_Addr __attribute__ ((const))
100.71 + elf_machine_load_address (void)
100.72 + {
100.73 + Elf32_Addr *branchaddr;
100.74 +@@ -164,7 +164,7 @@ elf_machine_load_address (void)
100.75 + return runtime_dynamic - elf_machine_dynamic ();
100.76 + }
100.77 +
100.78 +-static __inline__ void
100.79 ++static __always_inline void
100.80 + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.81 + Elf32_Word relative_count)
100.82 + {
100.83 +Index: uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h
100.84 +===================================================================
100.85 +--- uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h (revision 25503)
100.86 ++++ uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h (working copy)
100.87 +@@ -42,7 +42,7 @@ extern unsigned long _dl_linux_resolver(
100.88 + /* Return the link-time address of _DYNAMIC. Conveniently, this is the
100.89 + first element of the GOT. This must be inlined in a function which
100.90 + uses global data. */
100.91 +-static __inline__ Elf32_Addr elf_machine_dynamic(void)
100.92 ++static __always_inline Elf32_Addr elf_machine_dynamic(void)
100.93 + {
100.94 + register Elf32_Addr *got;
100.95 +
100.96 +@@ -70,7 +70,7 @@ static __inline__ Elf32_Addr elf_machine
100.97 + }
100.98 +
100.99 + /* Return the run-time load address of the shared object. */
100.100 +-static __inline__ Elf32_Addr elf_machine_load_address(void)
100.101 ++static __always_inline Elf32_Addr elf_machine_load_address(void)
100.102 + {
100.103 + Elf32_Addr addr;
100.104 +
100.105 +@@ -123,7 +123,7 @@ static __inline__ Elf32_Addr elf_machine
100.106 + } \
100.107 + }
100.108 +
100.109 +-static __inline__ void
100.110 ++static __always_inline void
100.111 + elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.112 + Elf32_Word relative_count)
100.113 + {
100.114 +Index: uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h
100.115 +===================================================================
100.116 +--- uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h (revision 25503)
100.117 ++++ uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h (working copy)
100.118 +@@ -41,7 +41,7 @@ extern unsigned long _dl_linux_resolver
100.119 + /* Return the link-time address of _DYNAMIC. Conveniently, this is the
100.120 + first element of the GOT. This must be inlined in a function which
100.121 + uses global data. */
100.122 +-static __inline__ Elf32_Addr
100.123 ++static __always_inline Elf32_Addr
100.124 + elf_machine_dynamic (void)
100.125 + {
100.126 + register Elf32_Addr *got __asm__ ("%a5");
100.127 +@@ -50,7 +50,7 @@ elf_machine_dynamic (void)
100.128 +
100.129 +
100.130 + /* Return the run-time load address of the shared object. */
100.131 +-static __inline__ Elf32_Addr
100.132 ++static __always_inline Elf32_Addr
100.133 + elf_machine_load_address (void)
100.134 + {
100.135 + Elf32_Addr addr;
100.136 +@@ -60,7 +60,7 @@ elf_machine_load_address (void)
100.137 + return addr;
100.138 + }
100.139 +
100.140 +-static __inline__ void
100.141 ++static __always_inline void
100.142 + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.143 + Elf32_Word relative_count)
100.144 + {
100.145 +Index: uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h
100.146 +===================================================================
100.147 +--- uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h (revision 25503)
100.148 ++++ uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h (working copy)
100.149 +@@ -42,8 +42,8 @@ extern unsigned long _dl_linux_resolver(
100.150 + /* Return the link-time address of _DYNAMIC. Conveniently, this is the
100.151 + first element of the GOT. This must be inlined in a function which
100.152 + uses global data. */
100.153 +-static __inline__ Elf32_Addr elf_machine_dynamic (void) attribute_unused;
100.154 +-static __inline__ Elf32_Addr
100.155 ++static __always_inline Elf32_Addr elf_machine_dynamic (void) attribute_unused;
100.156 ++static __always_inline Elf32_Addr
100.157 + elf_machine_dynamic (void)
100.158 + {
100.159 + register Elf32_Addr *got __asm__ ("%ebx");
100.160 +@@ -52,8 +52,8 @@ elf_machine_dynamic (void)
100.161 +
100.162 +
100.163 + /* Return the run-time load address of the shared object. */
100.164 +-static __inline__ Elf32_Addr elf_machine_load_address (void) attribute_unused;
100.165 +-static __inline__ Elf32_Addr
100.166 ++static __always_inline Elf32_Addr elf_machine_load_address (void) attribute_unused;
100.167 ++static __always_inline Elf32_Addr
100.168 + elf_machine_load_address (void)
100.169 + {
100.170 + /* It doesn't matter what variable this is, the reference never makes
100.171 +@@ -66,7 +66,7 @@ elf_machine_load_address (void)
100.172 + return addr;
100.173 + }
100.174 +
100.175 +-static __inline__ void
100.176 ++static __always_inline void
100.177 + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.178 + Elf32_Word relative_count)
100.179 + {
100.180 +Index: uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h
100.181 +===================================================================
100.182 +--- uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h (revision 25503)
100.183 ++++ uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h (working copy)
100.184 +@@ -39,7 +39,7 @@ extern unsigned long _dl_linux_resolver(
100.185 + || ((type) == R_CRIS_GLOB_DAT)) * ELF_RTYPE_CLASS_PLT) \
100.186 + | (((type) == R_CRIS_COPY) * ELF_RTYPE_CLASS_COPY))
100.187 +
100.188 +-static __inline__ Elf32_Addr
100.189 ++static __always_inline Elf32_Addr
100.190 + elf_machine_dynamic(void)
100.191 + {
100.192 + /* Don't just set this to an asm variable "r0" since that's not logical
100.193 +@@ -61,7 +61,7 @@ elf_machine_dynamic(void)
100.194 + there's some other symbol we could use, that we don't *have* to force a
100.195 + GOT entry for. */
100.196 +
100.197 +-static __inline__ Elf32_Addr
100.198 ++static __always_inline Elf32_Addr
100.199 + elf_machine_load_address(void)
100.200 + {
100.201 + Elf32_Addr gotaddr_diff;
100.202 +@@ -95,7 +95,7 @@ elf_machine_load_address(void)
100.203 + return gotaddr_diff;
100.204 + }
100.205 +
100.206 +-static __inline__ void
100.207 ++static __always_inline void
100.208 + elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.209 + Elf32_Word relative_count)
100.210 + {
100.211 +Index: uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h
100.212 +===================================================================
100.213 +--- uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h (revision 25503)
100.214 ++++ uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h (working copy)
100.215 +@@ -87,7 +87,7 @@ extern unsigned long _dl_linux_resolver
100.216 + (((type) == R_XTENSA_JMP_SLOT) * ELF_RTYPE_CLASS_PLT)
100.217 +
100.218 + /* Return the link-time address of _DYNAMIC. */
100.219 +-static __inline__ Elf32_Addr
100.220 ++static __always_inline Elf32_Addr
100.221 + elf_machine_dynamic (void)
100.222 + {
100.223 + /* This function is only used while bootstrapping the runtime linker.
100.224 +@@ -97,7 +97,7 @@ elf_machine_dynamic (void)
100.225 + }
100.226 +
100.227 + /* Return the run-time load address of the shared object. */
100.228 +-static __inline__ Elf32_Addr
100.229 ++static __always_inline Elf32_Addr
100.230 + elf_machine_load_address (void)
100.231 + {
100.232 + Elf32_Addr addr, tmp;
100.233 +@@ -118,7 +118,7 @@ elf_machine_load_address (void)
100.234 + return addr - 3;
100.235 + }
100.236 +
100.237 +-static __inline__ void
100.238 ++static __always_inline void
100.239 + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.240 + Elf32_Word relative_count)
100.241 + {
100.242 +Index: uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h
100.243 +===================================================================
100.244 +--- uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h (revision 25503)
100.245 ++++ uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h (working copy)
100.246 +@@ -49,7 +49,7 @@ unsigned long _dl_linux_resolver(struct
100.247 +
100.248 + #ifndef COMPILE_ASM
100.249 + /* Cheap modulo implementation, taken from arm/ld_sysdep.h. */
100.250 +-static __inline__ unsigned long
100.251 ++static __always_inline unsigned long
100.252 + sparc_mod(unsigned long m, unsigned long p)
100.253 + {
100.254 + unsigned long i, t, inc;
100.255 +@@ -127,7 +127,7 @@ do { register Elf32_Addr pc __asm__("
100.256 + /* Return the link-time address of _DYNAMIC. Conveniently, this is the
100.257 + first element of the GOT. This must be inlined in a function which
100.258 + uses global data. */
100.259 +-static __inline__ Elf32_Addr
100.260 ++static __always_inline Elf32_Addr
100.261 + elf_machine_dynamic (void)
100.262 + {
100.263 + register Elf32_Addr *got __asm__ ("%l7");
100.264 +@@ -138,7 +138,7 @@ elf_machine_dynamic (void)
100.265 + }
100.266 +
100.267 + /* Return the run-time load address of the shared object. */
100.268 +-static __inline__ Elf32_Addr
100.269 ++static __always_inline Elf32_Addr
100.270 + elf_machine_load_address (void)
100.271 + {
100.272 + register Elf32_Addr *pc __asm__ ("%o7"), *got __asm__ ("%l7");
100.273 +@@ -157,7 +157,7 @@ elf_machine_load_address (void)
100.274 + return (Elf32_Addr) got - *got + (pc[2] - pc[3]) * 4 - 4;
100.275 + }
100.276 +
100.277 +-static __inline__ void
100.278 ++static __always_inline void
100.279 + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.280 + Elf32_Word relative_count)
100.281 + {
100.282 +Index: uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h
100.283 +===================================================================
100.284 +--- uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h (revision 25503)
100.285 ++++ uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h (working copy)
100.286 +@@ -163,7 +163,7 @@ void _dl_perform_mips_global_got_relocat
100.287 +
100.288 + #define OFFSET_GP_GOT 0x7ff0
100.289 +
100.290 +-static __inline__ ElfW(Addr) *
100.291 ++static __always_inline ElfW(Addr) *
100.292 + elf_mips_got_from_gpreg (ElfW(Addr) gpreg)
100.293 + {
100.294 + /* FIXME: the offset of gp from GOT may be system-dependent. */
100.295 +@@ -173,7 +173,7 @@ elf_mips_got_from_gpreg (ElfW(Addr) gpre
100.296 + /* Return the link-time address of _DYNAMIC. Conveniently, this is the
100.297 + first element of the GOT. This must be inlined in a function which
100.298 + uses global data. We assume its $gp points to the primary GOT. */
100.299 +-static __inline__ ElfW(Addr)
100.300 ++static __always_inline ElfW(Addr)
100.301 + elf_machine_dynamic (void)
100.302 + {
100.303 + register ElfW(Addr) gp __asm__ ("$28");
100.304 +@@ -192,7 +192,7 @@ elf_machine_dynamic (void)
100.305 + #endif
100.306 +
100.307 + /* Return the run-time load address of the shared object. */
100.308 +-static __inline__ ElfW(Addr)
100.309 ++static __always_inline ElfW(Addr)
100.310 + elf_machine_load_address (void)
100.311 + {
100.312 + ElfW(Addr) addr;
100.313 +@@ -208,7 +208,7 @@ elf_machine_load_address (void)
100.314 + return addr;
100.315 + }
100.316 +
100.317 +-static __inline__ void
100.318 ++static __always_inline void
100.319 + elf_machine_relative (ElfW(Addr) load_off, const ElfW(Addr) rel_addr,
100.320 + ElfW(Word) relative_count)
100.321 + {
100.322 +Index: uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h
100.323 +===================================================================
100.324 +--- uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h (revision 25503)
100.325 ++++ uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h (working copy)
100.326 +@@ -25,7 +25,7 @@
100.327 + struct elf_resolve;
100.328 + extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry);
100.329 +
100.330 +-static __inline__ unsigned int
100.331 ++static __always_inline unsigned int
100.332 + _dl_urem(unsigned int n, unsigned int base)
100.333 + {
100.334 + int res;
100.335 +@@ -100,7 +100,7 @@ _dl_urem(unsigned int n, unsigned int ba
100.336 + /* Return the link-time address of _DYNAMIC. Conveniently, this is the
100.337 + first element of the GOT. This must be inlined in a function which
100.338 + uses global data. */
100.339 +-static __inline__ Elf32_Addr __attribute__ ((unused))
100.340 ++static __always_inline Elf32_Addr __attribute__ ((unused))
100.341 + elf_machine_dynamic (void)
100.342 + {
100.343 + register Elf32_Addr *got;
100.344 +@@ -109,7 +109,7 @@ elf_machine_dynamic (void)
100.345 + }
100.346 +
100.347 + /* Return the run-time load address of the shared object. */
100.348 +-static __inline__ Elf32_Addr __attribute__ ((unused))
100.349 ++static __always_inline Elf32_Addr __attribute__ ((unused))
100.350 + elf_machine_load_address (void)
100.351 + {
100.352 + Elf32_Addr addr;
100.353 +@@ -151,7 +151,7 @@ elf_machine_load_address (void)
100.354 + } \
100.355 + }
100.356 +
100.357 +-static __inline__ void
100.358 ++static __always_inline void
100.359 + elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
100.360 + Elf32_Word relative_count)
100.361 + {
100.362 +Index: uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h
100.363 +===================================================================
100.364 +--- uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h (revision 25503)
100.365 ++++ uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h (working copy)
100.366 +@@ -213,7 +213,7 @@ while (0)
100.367 + #endif
100.368 +
100.369 + #include <elf.h>
100.370 +-static __inline__ void
100.371 ++static __always_inline void
100.372 + elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr,
100.373 + Elf32_Word relative_count)
100.374 + {
101.1 --- a/samples/alphaev56-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
101.2 +++ b/samples/alphaev56-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
101.3 @@ -1,7 +1,7 @@
101.4 #
101.5 # Automatically generated make config: don't edit
101.6 -# crosstool-NG version: svn_trunk@1297M
101.7 -# Tue Jan 6 23:16:55 2009
101.8 +# crosstool-NG version: svn_trunk@1454M
101.9 +# Mon Mar 30 21:44:48 2009
101.10 #
101.11
101.12 #
101.13 @@ -11,7 +11,7 @@
101.14 #
101.15 # crosstool-NG behavior
101.16 #
101.17 -# CT_OBSOLETE is not set
101.18 +CT_OBSOLETE=y
101.19 # CT_EXPERIMENTAL is not set
101.20 # CT_DEBUG_CT is not set
101.21
101.22 @@ -30,6 +30,7 @@
101.23 #
101.24 # Downloading
101.25 #
101.26 +# CT_FORBID_DOWNLOAD is not set
101.27 # CT_FORCE_DOWNLOAD is not set
101.28 # CT_USE_PROXY is not set
101.29 CT_PROXY_TYPE="none"
101.30 @@ -102,6 +103,7 @@
101.31 # CT_ARCH_ia64 is not set
101.32 # CT_ARCH_mips is not set
101.33 # CT_ARCH_powerpc is not set
101.34 +# CT_ARCH_powerpc64 is not set
101.35 # CT_ARCH_sh is not set
101.36 # CT_ARCH_x86 is not set
101.37 # CT_ARCH_x86_64 is not set
101.38 @@ -125,7 +127,12 @@
101.39 # General toolchain options
101.40 #
101.41 CT_USE_SYSROOT=y
101.42 +CT_SYSROOT_DIR_PREFIX=""
101.43 CT_SHARED_LIBS=y
101.44 +
101.45 +#
101.46 +# Tuple completion and aliasing
101.47 +#
101.48 CT_TARGET_VENDOR="unknown"
101.49 CT_TARGET_ALIAS_SED_EXPR=""
101.50 CT_TARGET_ALIAS=""
101.51 @@ -164,14 +171,6 @@
101.52 # CT_KERNEL_V_2_6_23_17 is not set
101.53 # CT_KERNEL_V_2_6_24_7 is not set
101.54 # CT_KERNEL_V_2_6_25_20 is not set
101.55 -# CT_KERNEL_V_2_6_26 is not set
101.56 -# CT_KERNEL_V_2_6_26_1 is not set
101.57 -# CT_KERNEL_V_2_6_26_2 is not set
101.58 -# CT_KERNEL_V_2_6_26_3 is not set
101.59 -# CT_KERNEL_V_2_6_26_4 is not set
101.60 -# CT_KERNEL_V_2_6_26_5 is not set
101.61 -# CT_KERNEL_V_2_6_26_6 is not set
101.62 -# CT_KERNEL_V_2_6_26_7 is not set
101.63 CT_KERNEL_V_2_6_26_8=y
101.64 # CT_KERNEL_V_2_6_27 is not set
101.65 # CT_KERNEL_V_2_6_27_1 is not set
101.66 @@ -184,12 +183,33 @@
101.67 # CT_KERNEL_V_2_6_27_8 is not set
101.68 # CT_KERNEL_V_2_6_27_9 is not set
101.69 # CT_KERNEL_V_2_6_27_10 is not set
101.70 +# CT_KERNEL_V_2_6_27_11 is not set
101.71 +# CT_KERNEL_V_2_6_27_12 is not set
101.72 +# CT_KERNEL_V_2_6_27_13 is not set
101.73 +# CT_KERNEL_V_2_6_27_14 is not set
101.74 +# CT_KERNEL_V_2_6_27_15 is not set
101.75 +# CT_KERNEL_V_2_6_27_16 is not set
101.76 +# CT_KERNEL_V_2_6_27_17 is not set
101.77 +# CT_KERNEL_V_2_6_27_18 is not set
101.78 +# CT_KERNEL_V_2_6_27_19 is not set
101.79 +# CT_KERNEL_V_2_6_27_20 is not set
101.80 +# CT_KERNEL_V_2_6_27_21 is not set
101.81 # CT_KERNEL_V_2_6_28 is not set
101.82 +# CT_KERNEL_V_2_6_28_1 is not set
101.83 +# CT_KERNEL_V_2_6_28_2 is not set
101.84 +# CT_KERNEL_V_2_6_28_3 is not set
101.85 +# CT_KERNEL_V_2_6_28_4 is not set
101.86 +# CT_KERNEL_V_2_6_28_5 is not set
101.87 +# CT_KERNEL_V_2_6_28_6 is not set
101.88 +# CT_KERNEL_V_2_6_28_7 is not set
101.89 +# CT_KERNEL_V_2_6_28_8 is not set
101.90 +# CT_KERNEL_V_2_6_28_9 is not set
101.91 +# CT_KERNEL_V_2_6_29 is not set
101.92 CT_KERNEL_LINUX_VERBOSITY_0=y
101.93 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
101.94 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
101.95 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
101.96 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
101.97 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
101.98
101.99 #
101.100 # GMP and MPFR
101.101 @@ -201,14 +221,16 @@
101.102 CT_GMP_VERSION="4.2.4"
101.103 CT_GMP_CHECK=y
101.104 # CT_MPFR_V_2_3_1 is not set
101.105 -CT_MPFR_V_2_3_2=y
101.106 -CT_MPFR_VERSION="2.3.2"
101.107 +# CT_MPFR_V_2_3_2 is not set
101.108 +# CT_MPFR_V_2_4_0 is not set
101.109 +CT_MPFR_V_2_4_1=y
101.110 +CT_MPFR_VERSION="2.4.1"
101.111 CT_MPFR_CHECK=y
101.112
101.113 #
101.114 # binutils
101.115 #
101.116 -CT_BINUTILS_VERSION="2.19"
101.117 +CT_BINUTILS_VERSION="2.19.1"
101.118 # CT_BINUTILS_V_2_14 is not set
101.119 # CT_BINUTILS_V_2_15 is not set
101.120 # CT_BINUTILS_V_2_16_1 is not set
101.121 @@ -223,8 +245,11 @@
101.122 # CT_BINUTILS_V_2_18_91 is not set
101.123 # CT_BINUTILS_V_2_18_92 is not set
101.124 # CT_BINUTILS_V_2_18_93 is not set
101.125 -CT_BINUTILS_V_2_19=y
101.126 +# CT_BINUTILS_V_2_19 is not set
101.127 +CT_BINUTILS_V_2_19_1=y
101.128 # CT_BINUTILS_V_2_19_50_0_1 is not set
101.129 +# CT_BINUTILS_V_2_19_51_0_1 is not set
101.130 +# CT_BINUTILS_V_2_19_51_0_2 is not set
101.131 CT_BINUTILS_EXTRA_CONFIG=""
101.132 CT_BINUTILS_FOR_TARGET=y
101.133 CT_BINUTILS_FOR_TARGET_IBERTY=y
101.134 @@ -255,7 +280,10 @@
101.135 # CT_CC_V_4_3_0 is not set
101.136 # CT_CC_V_4_3_1 is not set
101.137 CT_CC_V_4_3_2=y
101.138 +# CT_CC_V_4_3_3 is not set
101.139 +# CT_CC_V_4_4_0 is not set
101.140 CT_CC_GCC_4_3_or_later=y
101.141 +# CT_CC_GCC_4_4_snapshot is not set
101.142 CT_CC_CXA_ATEXIT=y
101.143 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
101.144 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
101.145 @@ -297,7 +325,22 @@
101.146 # CT_LIBC_V_2_9 is not set
101.147 # CT_LIBC_V_LATEST is not set
101.148 # CT_LIBC_V_date is not set
101.149 -# CT_LIBC_GLIBC_2_8_or_later is not set
101.150 +CT_LIBC_GLIBC_TARBALL=y
101.151 +# CT_LIBC_GLIBC_CVS is not set
101.152 +
101.153 +#
101.154 +# glibc/eglibc common options
101.155 +#
101.156 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
101.157 +CT_LIBC_GLIBC_CONFIGPARMS=""
101.158 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
101.159 +CT_LIBC_EXTRA_CC_ARGS=""
101.160 +# CT_LIBC_GLIBC_USE_PORTS is not set
101.161 +CT_LIBC_ADDONS_LIST=""
101.162 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
101.163 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
101.164 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
101.165 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
101.166
101.167 #
101.168 # Common C library options
101.169 @@ -310,27 +353,14 @@
101.170 # CT_THREADS_NONE is not set
101.171
101.172 #
101.173 -# glibc/eglibc common options
101.174 -#
101.175 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
101.176 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
101.177 -CT_LIBC_EXTRA_CC_ARGS=""
101.178 -# CT_LIBC_GLIBC_USE_PORTS is not set
101.179 -CT_LIBC_ADDONS_LIST=""
101.180 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
101.181 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
101.182 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
101.183 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
101.184 -
101.185 -#
101.186 # Tools facilities
101.187 #
101.188 CT_TOOL_libelf=y
101.189 CT_LIBELF_V_0_8_10=y
101.190 CT_LIBELF_VERSION="0.8.10"
101.191 CT_TOOL_sstrip=y
101.192 +CT_SSTRIP_BUILDROOT=y
101.193 # CT_SSTRIP_ELFKICKERS is not set
101.194 -CT_SSTRIP_BUILDROOT=y
101.195 CT_SSTRIP_FROM="buildroot"
101.196
101.197 #
101.198 @@ -361,13 +391,15 @@
101.199 CT_GDB_VERSION="6.8"
101.200
101.201 #
101.202 -# Native gdb needs the ncurses library on the target
101.203 +# Native gdb needs a native ncurses library
101.204 #
101.205 -CT_NCURSES_V_5_6=y
101.206 -CT_NCURSES_VERSION="5.6"
101.207 +# CT_NCURSES_V_5_6 is not set
101.208 +CT_NCURSES_V_5_7=y
101.209 +CT_NCURSES_VERSION="5.7"
101.210 CT_DEBUG_ltrace=y
101.211 # CT_LTRACE_V_0_4 is not set
101.212 CT_LTRACE_V_0_5=y
101.213 +# CT_LTRACE_V_0_5_1 is not set
101.214 CT_LTRACE_VERSION="0.5"
101.215 CT_DEBUG_strace=y
101.216 # CT_STRACE_V_4_5 is not set
102.1 --- a/samples/arm-iphone-linux-gnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000
102.2 +++ b/samples/arm-iphone-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000
102.3 @@ -1,7 +1,7 @@
102.4 #
102.5 # Automatically generated make config: don't edit
102.6 -# crosstool-NG version: svn_trunk@1291M
102.7 -# Sun Jan 4 23:52:00 2009
102.8 +# crosstool-NG version: svn_trunk@1453M
102.9 +# Sun Mar 29 12:56:11 2009
102.10 #
102.11
102.12 #
102.13 @@ -30,6 +30,7 @@
102.14 #
102.15 # Downloading
102.16 #
102.17 +# CT_FORBID_DOWNLOAD is not set
102.18 # CT_FORCE_DOWNLOAD is not set
102.19 # CT_USE_PROXY is not set
102.20 CT_PROXY_TYPE="none"
102.21 @@ -58,11 +59,11 @@
102.22 #
102.23 # CT_LOG_ERROR is not set
102.24 # CT_LOG_WARN is not set
102.25 -CT_LOG_INFO=y
102.26 -# CT_LOG_EXTRA is not set
102.27 +# CT_LOG_INFO is not set
102.28 +CT_LOG_EXTRA=y
102.29 # CT_LOG_DEBUG is not set
102.30 # CT_LOG_ALL is not set
102.31 -CT_LOG_LEVEL_MAX="INFO"
102.32 +CT_LOG_LEVEL_MAX="EXTRA"
102.33 # CT_LOG_SEE_TOOLS_WARN is not set
102.34 CT_LOG_PROGRESS_BAR=y
102.35 CT_LOG_TO_FILE=y
102.36 @@ -100,6 +101,7 @@
102.37 # CT_ARCH_ia64 is not set
102.38 # CT_ARCH_mips is not set
102.39 # CT_ARCH_powerpc is not set
102.40 +# CT_ARCH_powerpc64 is not set
102.41 # CT_ARCH_sh is not set
102.42 # CT_ARCH_x86 is not set
102.43 # CT_ARCH_x86_64 is not set
102.44 @@ -117,7 +119,12 @@
102.45 # General toolchain options
102.46 #
102.47 CT_USE_SYSROOT=y
102.48 +CT_SYSROOT_DIR_PREFIX=""
102.49 CT_SHARED_LIBS=y
102.50 +
102.51 +#
102.52 +# Tuple completion and aliasing
102.53 +#
102.54 CT_TARGET_VENDOR="iphone"
102.55 CT_TARGET_ALIAS_SED_EXPR=""
102.56 CT_TARGET_ALIAS=""
102.57 @@ -156,14 +163,6 @@
102.58 # CT_KERNEL_V_2_6_23_17 is not set
102.59 # CT_KERNEL_V_2_6_24_7 is not set
102.60 # CT_KERNEL_V_2_6_25_20 is not set
102.61 -# CT_KERNEL_V_2_6_26 is not set
102.62 -# CT_KERNEL_V_2_6_26_1 is not set
102.63 -# CT_KERNEL_V_2_6_26_2 is not set
102.64 -# CT_KERNEL_V_2_6_26_3 is not set
102.65 -# CT_KERNEL_V_2_6_26_4 is not set
102.66 -# CT_KERNEL_V_2_6_26_5 is not set
102.67 -# CT_KERNEL_V_2_6_26_6 is not set
102.68 -# CT_KERNEL_V_2_6_26_7 is not set
102.69 # CT_KERNEL_V_2_6_26_8 is not set
102.70 CT_KERNEL_V_2_6_27=y
102.71 # CT_KERNEL_V_2_6_27_1 is not set
102.72 @@ -176,12 +175,33 @@
102.73 # CT_KERNEL_V_2_6_27_8 is not set
102.74 # CT_KERNEL_V_2_6_27_9 is not set
102.75 # CT_KERNEL_V_2_6_27_10 is not set
102.76 +# CT_KERNEL_V_2_6_27_11 is not set
102.77 +# CT_KERNEL_V_2_6_27_12 is not set
102.78 +# CT_KERNEL_V_2_6_27_13 is not set
102.79 +# CT_KERNEL_V_2_6_27_14 is not set
102.80 +# CT_KERNEL_V_2_6_27_15 is not set
102.81 +# CT_KERNEL_V_2_6_27_16 is not set
102.82 +# CT_KERNEL_V_2_6_27_17 is not set
102.83 +# CT_KERNEL_V_2_6_27_18 is not set
102.84 +# CT_KERNEL_V_2_6_27_19 is not set
102.85 +# CT_KERNEL_V_2_6_27_20 is not set
102.86 +# CT_KERNEL_V_2_6_27_21 is not set
102.87 # CT_KERNEL_V_2_6_28 is not set
102.88 +# CT_KERNEL_V_2_6_28_1 is not set
102.89 +# CT_KERNEL_V_2_6_28_2 is not set
102.90 +# CT_KERNEL_V_2_6_28_3 is not set
102.91 +# CT_KERNEL_V_2_6_28_4 is not set
102.92 +# CT_KERNEL_V_2_6_28_5 is not set
102.93 +# CT_KERNEL_V_2_6_28_6 is not set
102.94 +# CT_KERNEL_V_2_6_28_7 is not set
102.95 +# CT_KERNEL_V_2_6_28_8 is not set
102.96 +# CT_KERNEL_V_2_6_28_9 is not set
102.97 +# CT_KERNEL_V_2_6_29 is not set
102.98 CT_KERNEL_LINUX_VERBOSITY_0=y
102.99 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
102.100 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
102.101 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
102.102 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
102.103 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
102.104
102.105 #
102.106 # GMP and MPFR
102.107 @@ -193,8 +213,10 @@
102.108 CT_GMP_VERSION="4.2.4"
102.109 CT_GMP_CHECK=y
102.110 # CT_MPFR_V_2_3_1 is not set
102.111 -CT_MPFR_V_2_3_2=y
102.112 -CT_MPFR_VERSION="2.3.2"
102.113 +# CT_MPFR_V_2_3_2 is not set
102.114 +# CT_MPFR_V_2_4_0 is not set
102.115 +CT_MPFR_V_2_4_1=y
102.116 +CT_MPFR_VERSION="2.4.1"
102.117 CT_MPFR_CHECK=y
102.118
102.119 #
102.120 @@ -216,7 +238,10 @@
102.121 # CT_BINUTILS_V_2_18_92 is not set
102.122 # CT_BINUTILS_V_2_18_93 is not set
102.123 CT_BINUTILS_V_2_19=y
102.124 +# CT_BINUTILS_V_2_19_1 is not set
102.125 # CT_BINUTILS_V_2_19_50_0_1 is not set
102.126 +# CT_BINUTILS_V_2_19_51_0_1 is not set
102.127 +# CT_BINUTILS_V_2_19_51_0_2 is not set
102.128 CT_BINUTILS_EXTRA_CONFIG=""
102.129 # CT_BINUTILS_FOR_TARGET is not set
102.130
102.131 @@ -245,7 +270,10 @@
102.132 # CT_CC_V_4_3_0 is not set
102.133 # CT_CC_V_4_3_1 is not set
102.134 CT_CC_V_4_3_2=y
102.135 +# CT_CC_V_4_3_3 is not set
102.136 +# CT_CC_V_4_4_0 is not set
102.137 CT_CC_GCC_4_3_or_later=y
102.138 +# CT_CC_GCC_4_4_snapshot is not set
102.139 CT_CC_CXA_ATEXIT=y
102.140 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
102.141 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
102.142 @@ -290,7 +318,22 @@
102.143 # CT_LIBC_V_2_9 is not set
102.144 # CT_LIBC_V_LATEST is not set
102.145 # CT_LIBC_V_date is not set
102.146 -# CT_LIBC_GLIBC_2_8_or_later is not set
102.147 +CT_LIBC_GLIBC_TARBALL=y
102.148 +# CT_LIBC_GLIBC_CVS is not set
102.149 +
102.150 +#
102.151 +# glibc/eglibc common options
102.152 +#
102.153 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
102.154 +CT_LIBC_GLIBC_CONFIGPARMS=""
102.155 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
102.156 +CT_LIBC_EXTRA_CC_ARGS=""
102.157 +CT_LIBC_GLIBC_USE_PORTS=y
102.158 +CT_LIBC_ADDONS_LIST=""
102.159 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
102.160 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
102.161 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
102.162 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.27"
102.163
102.164 #
102.165 # Common C library options
102.166 @@ -303,19 +346,6 @@
102.167 # CT_THREADS_NONE is not set
102.168
102.169 #
102.170 -# glibc/eglibc common options
102.171 -#
102.172 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
102.173 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
102.174 -CT_LIBC_EXTRA_CC_ARGS=""
102.175 -CT_LIBC_GLIBC_USE_PORTS=y
102.176 -CT_LIBC_ADDONS_LIST=""
102.177 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
102.178 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
102.179 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
102.180 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.27"
102.181 -
102.182 -#
102.183 # Tools facilities
102.184 #
102.185 # CT_TOOL_libelf is not set
103.1 --- a/samples/arm-unknown-eabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000
103.2 +++ b/samples/arm-unknown-eabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000
103.3 @@ -1,7 +1,7 @@
103.4 #
103.5 # Automatically generated make config: don't edit
103.6 -# crosstool-NG version: svn_trunk@1291M
103.7 -# Sun Jan 4 23:52:37 2009
103.8 +# crosstool-NG version: svn_trunk@1453
103.9 +# Sun Mar 29 12:26:57 2009
103.10 #
103.11
103.12 #
103.13 @@ -30,6 +30,7 @@
103.14 #
103.15 # Downloading
103.16 #
103.17 +# CT_FORBID_DOWNLOAD is not set
103.18 # CT_FORCE_DOWNLOAD is not set
103.19 # CT_USE_PROXY is not set
103.20 CT_PROXY_TYPE="none"
103.21 @@ -106,6 +107,7 @@
103.22 # CT_ARCH_ia64 is not set
103.23 # CT_ARCH_mips is not set
103.24 # CT_ARCH_powerpc is not set
103.25 +# CT_ARCH_powerpc64 is not set
103.26 # CT_ARCH_sh is not set
103.27 # CT_ARCH_x86 is not set
103.28 # CT_ARCH_x86_64 is not set
103.29 @@ -123,6 +125,11 @@
103.30 # General toolchain options
103.31 #
103.32 CT_USE_SYSROOT=y
103.33 +CT_SYSROOT_DIR_PREFIX=""
103.34 +
103.35 +#
103.36 +# Tuple completion and aliasing
103.37 +#
103.38 CT_TARGET_VENDOR="unknown"
103.39 CT_TARGET_ALIAS_SED_EXPR=""
103.40 CT_TARGET_ALIAS=""
103.41 @@ -160,14 +167,16 @@
103.42 CT_GMP_VERSION="4.2.4"
103.43 CT_GMP_CHECK=y
103.44 # CT_MPFR_V_2_3_1 is not set
103.45 -CT_MPFR_V_2_3_2=y
103.46 -CT_MPFR_VERSION="2.3.2"
103.47 +# CT_MPFR_V_2_3_2 is not set
103.48 +# CT_MPFR_V_2_4_0 is not set
103.49 +CT_MPFR_V_2_4_1=y
103.50 +CT_MPFR_VERSION="2.4.1"
103.51 CT_MPFR_CHECK=y
103.52
103.53 #
103.54 # binutils
103.55 #
103.56 -CT_BINUTILS_VERSION="2.19"
103.57 +CT_BINUTILS_VERSION="2.19.1"
103.58 # CT_BINUTILS_V_2_14 is not set
103.59 # CT_BINUTILS_V_2_15 is not set
103.60 # CT_BINUTILS_V_2_16_1 is not set
103.61 @@ -182,8 +191,11 @@
103.62 # CT_BINUTILS_V_2_18_91 is not set
103.63 # CT_BINUTILS_V_2_18_92 is not set
103.64 # CT_BINUTILS_V_2_18_93 is not set
103.65 -CT_BINUTILS_V_2_19=y
103.66 +# CT_BINUTILS_V_2_19 is not set
103.67 +CT_BINUTILS_V_2_19_1=y
103.68 # CT_BINUTILS_V_2_19_50_0_1 is not set
103.69 +# CT_BINUTILS_V_2_19_51_0_1 is not set
103.70 +# CT_BINUTILS_V_2_19_51_0_2 is not set
103.71 CT_BINUTILS_EXTRA_CONFIG=""
103.72
103.73 #
103.74 @@ -211,7 +223,10 @@
103.75 # CT_CC_V_4_3_0 is not set
103.76 # CT_CC_V_4_3_1 is not set
103.77 CT_CC_V_4_3_2=y
103.78 +# CT_CC_V_4_3_3 is not set
103.79 +# CT_CC_V_4_4_0 is not set
103.80 CT_CC_GCC_4_3_or_later=y
103.81 +# CT_CC_GCC_4_4_snapshot is not set
103.82 CT_CC_CORE_EXTRA_CONFIG=""
103.83 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
103.84 CT_CC_BUGURL=""
103.85 @@ -225,10 +240,27 @@
103.86 #
103.87 # Additional supported languages:
103.88 #
103.89 -# CT_CC_LANG_CXX is not set
103.90 +CT_CC_LANG_CXX=y
103.91 CT_LIBC="none"
103.92
103.93 #
103.94 +# C-library
103.95 +#
103.96 +# CT_LIBC_eglibc is not set
103.97 +# CT_LIBC_glibc is not set
103.98 +# CT_LIBC_uClibc is not set
103.99 +
103.100 +#
103.101 +# Common C library options
103.102 +#
103.103 +# CT_LIBC_SUPPORT_NPTL is not set
103.104 +# CT_LIBC_SUPPORT_LINUXTHREADS is not set
103.105 +CT_THREADS="none"
103.106 +# CT_THREADS_NPTL is not set
103.107 +# CT_THREADS_LINUXTHREADS is not set
103.108 +CT_THREADS_NONE=y
103.109 +
103.110 +#
103.111 # Tools facilities
103.112 #
103.113 # CT_TOOL_libelf is not set
103.114 @@ -242,6 +274,14 @@
103.115 CT_DEBUG_gdb=y
103.116 CT_GDB_CROSS=y
103.117 # CT_GDB_CROSS_STATIC is not set
103.118 +
103.119 +#
103.120 +# In bare-metal, you'll need to
103.121 +#
103.122 +
103.123 +#
103.124 +# provide your own gdbserver stub.
103.125 +#
103.126 # CT_GDB_V_6_4 is not set
103.127 # CT_GDB_V_6_5 is not set
103.128 # CT_GDB_V_6_6 is not set
104.1 --- a/samples/arm-unknown-elf/crosstool.config Sat Apr 11 19:03:02 2009 +0000
104.2 +++ b/samples/arm-unknown-elf/crosstool.config Sun Apr 19 16:17:11 2009 +0000
104.3 @@ -1,7 +1,7 @@
104.4 #
104.5 # Automatically generated make config: don't edit
104.6 -# crosstool-NG version: svn_trunk@1291M
104.7 -# Sun Jan 4 23:52:48 2009
104.8 +# crosstool-NG version: svn_trunk@1453
104.9 +# Sun Mar 29 12:27:07 2009
104.10 #
104.11
104.12 #
104.13 @@ -30,6 +30,7 @@
104.14 #
104.15 # Downloading
104.16 #
104.17 +# CT_FORBID_DOWNLOAD is not set
104.18 # CT_FORCE_DOWNLOAD is not set
104.19 # CT_USE_PROXY is not set
104.20 CT_PROXY_TYPE="none"
104.21 @@ -107,6 +108,7 @@
104.22 # CT_ARCH_ia64 is not set
104.23 # CT_ARCH_mips is not set
104.24 # CT_ARCH_powerpc is not set
104.25 +# CT_ARCH_powerpc64 is not set
104.26 # CT_ARCH_sh is not set
104.27 # CT_ARCH_x86 is not set
104.28 # CT_ARCH_x86_64 is not set
104.29 @@ -125,6 +127,11 @@
104.30 # General toolchain options
104.31 #
104.32 CT_USE_SYSROOT=y
104.33 +CT_SYSROOT_DIR_PREFIX=""
104.34 +
104.35 +#
104.36 +# Tuple completion and aliasing
104.37 +#
104.38 CT_TARGET_VENDOR="unknown"
104.39 CT_TARGET_ALIAS_SED_EXPR=""
104.40 CT_TARGET_ALIAS=""
104.41 @@ -162,14 +169,16 @@
104.42 CT_GMP_VERSION="4.2.4"
104.43 CT_GMP_CHECK=y
104.44 # CT_MPFR_V_2_3_1 is not set
104.45 -CT_MPFR_V_2_3_2=y
104.46 -CT_MPFR_VERSION="2.3.2"
104.47 +# CT_MPFR_V_2_3_2 is not set
104.48 +# CT_MPFR_V_2_4_0 is not set
104.49 +CT_MPFR_V_2_4_1=y
104.50 +CT_MPFR_VERSION="2.4.1"
104.51 CT_MPFR_CHECK=y
104.52
104.53 #
104.54 # binutils
104.55 #
104.56 -CT_BINUTILS_VERSION="2.19"
104.57 +CT_BINUTILS_VERSION="2.19.1"
104.58 # CT_BINUTILS_V_2_14 is not set
104.59 # CT_BINUTILS_V_2_15 is not set
104.60 # CT_BINUTILS_V_2_16_1 is not set
104.61 @@ -184,8 +193,11 @@
104.62 # CT_BINUTILS_V_2_18_91 is not set
104.63 # CT_BINUTILS_V_2_18_92 is not set
104.64 # CT_BINUTILS_V_2_18_93 is not set
104.65 -CT_BINUTILS_V_2_19=y
104.66 +# CT_BINUTILS_V_2_19 is not set
104.67 +CT_BINUTILS_V_2_19_1=y
104.68 # CT_BINUTILS_V_2_19_50_0_1 is not set
104.69 +# CT_BINUTILS_V_2_19_51_0_1 is not set
104.70 +# CT_BINUTILS_V_2_19_51_0_2 is not set
104.71 CT_BINUTILS_EXTRA_CONFIG=""
104.72
104.73 #
104.74 @@ -213,7 +225,10 @@
104.75 # CT_CC_V_4_3_0 is not set
104.76 # CT_CC_V_4_3_1 is not set
104.77 CT_CC_V_4_3_2=y
104.78 +# CT_CC_V_4_3_3 is not set
104.79 +# CT_CC_V_4_4_0 is not set
104.80 CT_CC_GCC_4_3_or_later=y
104.81 +# CT_CC_GCC_4_4_snapshot is not set
104.82 CT_CC_CORE_EXTRA_CONFIG=""
104.83 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
104.84 CT_CC_BUGURL=""
104.85 @@ -227,10 +242,27 @@
104.86 #
104.87 # Additional supported languages:
104.88 #
104.89 -# CT_CC_LANG_CXX is not set
104.90 +CT_CC_LANG_CXX=y
104.91 CT_LIBC="none"
104.92
104.93 #
104.94 +# C-library
104.95 +#
104.96 +# CT_LIBC_eglibc is not set
104.97 +# CT_LIBC_glibc is not set
104.98 +# CT_LIBC_uClibc is not set
104.99 +
104.100 +#
104.101 +# Common C library options
104.102 +#
104.103 +# CT_LIBC_SUPPORT_NPTL is not set
104.104 +# CT_LIBC_SUPPORT_LINUXTHREADS is not set
104.105 +CT_THREADS="none"
104.106 +# CT_THREADS_NPTL is not set
104.107 +# CT_THREADS_LINUXTHREADS is not set
104.108 +CT_THREADS_NONE=y
104.109 +
104.110 +#
104.111 # Tools facilities
104.112 #
104.113 # CT_TOOL_libelf is not set
104.114 @@ -244,6 +276,14 @@
104.115 CT_DEBUG_gdb=y
104.116 CT_GDB_CROSS=y
104.117 # CT_GDB_CROSS_STATIC is not set
104.118 +
104.119 +#
104.120 +# In bare-metal, you'll need to
104.121 +#
104.122 +
104.123 +#
104.124 +# provide your own gdbserver stub.
104.125 +#
104.126 # CT_GDB_V_6_4 is not set
104.127 # CT_GDB_V_6_5 is not set
104.128 # CT_GDB_V_6_6 is not set
105.1 --- a/samples/arm-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
105.2 +++ b/samples/arm-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
105.3 @@ -1,7 +1,7 @@
105.4 #
105.5 # Automatically generated make config: don't edit
105.6 -# crosstool-NG version: svn_trunk@1297M
105.7 -# Tue Jan 6 23:17:10 2009
105.8 +# crosstool-NG version: svn_trunk@1453
105.9 +# Sun Mar 29 11:51:59 2009
105.10 #
105.11
105.12 #
105.13 @@ -30,6 +30,7 @@
105.14 #
105.15 # Downloading
105.16 #
105.17 +# CT_FORBID_DOWNLOAD is not set
105.18 # CT_FORCE_DOWNLOAD is not set
105.19 # CT_USE_PROXY is not set
105.20 CT_PROXY_TYPE="none"
105.21 @@ -107,6 +108,7 @@
105.22 # CT_ARCH_ia64 is not set
105.23 # CT_ARCH_mips is not set
105.24 # CT_ARCH_powerpc is not set
105.25 +# CT_ARCH_powerpc64 is not set
105.26 # CT_ARCH_sh is not set
105.27 # CT_ARCH_x86 is not set
105.28 # CT_ARCH_x86_64 is not set
105.29 @@ -125,7 +127,12 @@
105.30 # General toolchain options
105.31 #
105.32 CT_USE_SYSROOT=y
105.33 +CT_SYSROOT_DIR_PREFIX=""
105.34 CT_SHARED_LIBS=y
105.35 +
105.36 +#
105.37 +# Tuple completion and aliasing
105.38 +#
105.39 CT_TARGET_VENDOR="unknown"
105.40 CT_TARGET_ALIAS_SED_EXPR=""
105.41 CT_TARGET_ALIAS=""
105.42 @@ -151,7 +158,7 @@
105.43 #
105.44 # CT_BARE_METAL is not set
105.45 CT_KERNEL="linux"
105.46 -CT_KERNEL_VERSION="2.6.26.8"
105.47 +CT_KERNEL_VERSION="2.6.29"
105.48 # CT_KERNEL_bare_metal is not set
105.49 CT_KERNEL_linux=y
105.50 CT_KERNEL_LINUX_INSTALL=y
105.51 @@ -164,15 +171,7 @@
105.52 # CT_KERNEL_V_2_6_23_17 is not set
105.53 # CT_KERNEL_V_2_6_24_7 is not set
105.54 # CT_KERNEL_V_2_6_25_20 is not set
105.55 -# CT_KERNEL_V_2_6_26 is not set
105.56 -# CT_KERNEL_V_2_6_26_1 is not set
105.57 -# CT_KERNEL_V_2_6_26_2 is not set
105.58 -# CT_KERNEL_V_2_6_26_3 is not set
105.59 -# CT_KERNEL_V_2_6_26_4 is not set
105.60 -# CT_KERNEL_V_2_6_26_5 is not set
105.61 -# CT_KERNEL_V_2_6_26_6 is not set
105.62 -# CT_KERNEL_V_2_6_26_7 is not set
105.63 -CT_KERNEL_V_2_6_26_8=y
105.64 +# CT_KERNEL_V_2_6_26_8 is not set
105.65 # CT_KERNEL_V_2_6_27 is not set
105.66 # CT_KERNEL_V_2_6_27_1 is not set
105.67 # CT_KERNEL_V_2_6_27_2 is not set
105.68 @@ -184,12 +183,33 @@
105.69 # CT_KERNEL_V_2_6_27_8 is not set
105.70 # CT_KERNEL_V_2_6_27_9 is not set
105.71 # CT_KERNEL_V_2_6_27_10 is not set
105.72 +# CT_KERNEL_V_2_6_27_11 is not set
105.73 +# CT_KERNEL_V_2_6_27_12 is not set
105.74 +# CT_KERNEL_V_2_6_27_13 is not set
105.75 +# CT_KERNEL_V_2_6_27_14 is not set
105.76 +# CT_KERNEL_V_2_6_27_15 is not set
105.77 +# CT_KERNEL_V_2_6_27_16 is not set
105.78 +# CT_KERNEL_V_2_6_27_17 is not set
105.79 +# CT_KERNEL_V_2_6_27_18 is not set
105.80 +# CT_KERNEL_V_2_6_27_19 is not set
105.81 +# CT_KERNEL_V_2_6_27_20 is not set
105.82 +# CT_KERNEL_V_2_6_27_21 is not set
105.83 # CT_KERNEL_V_2_6_28 is not set
105.84 +# CT_KERNEL_V_2_6_28_1 is not set
105.85 +# CT_KERNEL_V_2_6_28_2 is not set
105.86 +# CT_KERNEL_V_2_6_28_3 is not set
105.87 +# CT_KERNEL_V_2_6_28_4 is not set
105.88 +# CT_KERNEL_V_2_6_28_5 is not set
105.89 +# CT_KERNEL_V_2_6_28_6 is not set
105.90 +# CT_KERNEL_V_2_6_28_7 is not set
105.91 +# CT_KERNEL_V_2_6_28_8 is not set
105.92 +# CT_KERNEL_V_2_6_28_9 is not set
105.93 +CT_KERNEL_V_2_6_29=y
105.94 CT_KERNEL_LINUX_VERBOSITY_0=y
105.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
105.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
105.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
105.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
105.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
105.100
105.101 #
105.102 # GMP and MPFR
105.103 @@ -201,14 +221,16 @@
105.104 CT_GMP_VERSION="4.2.4"
105.105 CT_GMP_CHECK=y
105.106 # CT_MPFR_V_2_3_1 is not set
105.107 -CT_MPFR_V_2_3_2=y
105.108 -CT_MPFR_VERSION="2.3.2"
105.109 +# CT_MPFR_V_2_3_2 is not set
105.110 +# CT_MPFR_V_2_4_0 is not set
105.111 +CT_MPFR_V_2_4_1=y
105.112 +CT_MPFR_VERSION="2.4.1"
105.113 CT_MPFR_CHECK=y
105.114
105.115 #
105.116 # binutils
105.117 #
105.118 -CT_BINUTILS_VERSION="2.19"
105.119 +CT_BINUTILS_VERSION="2.19.1"
105.120 # CT_BINUTILS_V_2_14 is not set
105.121 # CT_BINUTILS_V_2_15 is not set
105.122 # CT_BINUTILS_V_2_16_1 is not set
105.123 @@ -223,8 +245,11 @@
105.124 # CT_BINUTILS_V_2_18_91 is not set
105.125 # CT_BINUTILS_V_2_18_92 is not set
105.126 # CT_BINUTILS_V_2_18_93 is not set
105.127 -CT_BINUTILS_V_2_19=y
105.128 +# CT_BINUTILS_V_2_19 is not set
105.129 +CT_BINUTILS_V_2_19_1=y
105.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
105.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
105.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
105.133 CT_BINUTILS_EXTRA_CONFIG=""
105.134 CT_BINUTILS_FOR_TARGET=y
105.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
105.136 @@ -255,7 +280,10 @@
105.137 # CT_CC_V_4_3_0 is not set
105.138 # CT_CC_V_4_3_1 is not set
105.139 CT_CC_V_4_3_2=y
105.140 +# CT_CC_V_4_3_3 is not set
105.141 +# CT_CC_V_4_4_0 is not set
105.142 CT_CC_GCC_4_3_or_later=y
105.143 +# CT_CC_GCC_4_4_snapshot is not set
105.144 CT_CC_CXA_ATEXIT=y
105.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
105.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
105.147 @@ -283,7 +311,7 @@
105.148 #
105.149 # C-library
105.150 #
105.151 -CT_LIBC_VERSION="2.7"
105.152 +CT_LIBC_VERSION="2.9"
105.153 # CT_LIBC_eglibc is not set
105.154 CT_LIBC_glibc=y
105.155 # CT_LIBC_uClibc is not set
105.156 @@ -292,12 +320,28 @@
105.157 # CT_LIBC_V_2_5_1 is not set
105.158 # CT_LIBC_V_2_6 is not set
105.159 # CT_LIBC_V_2_6_1 is not set
105.160 -CT_LIBC_V_2_7=y
105.161 +# CT_LIBC_V_2_7 is not set
105.162 # CT_LIBC_V_2_8 is not set
105.163 -# CT_LIBC_V_2_9 is not set
105.164 +CT_LIBC_V_2_9=y
105.165 # CT_LIBC_V_LATEST is not set
105.166 # CT_LIBC_V_date is not set
105.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
105.168 +# CT_LIBC_GLIBC_TARBALL is not set
105.169 +CT_LIBC_GLIBC_CVS=y
105.170 +CT_LIBC_GLIBC_CVS_date="2009-03-29"
105.171 +
105.172 +#
105.173 +# glibc/eglibc common options
105.174 +#
105.175 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
105.176 +CT_LIBC_GLIBC_CONFIGPARMS=""
105.177 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
105.178 +CT_LIBC_EXTRA_CC_ARGS=""
105.179 +CT_LIBC_GLIBC_USE_PORTS=y
105.180 +CT_LIBC_ADDONS_LIST=""
105.181 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
105.182 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
105.183 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
105.184 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
105.185
105.186 #
105.187 # Common C library options
105.188 @@ -310,27 +354,14 @@
105.189 # CT_THREADS_NONE is not set
105.190
105.191 #
105.192 -# glibc/eglibc common options
105.193 -#
105.194 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
105.195 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
105.196 -CT_LIBC_EXTRA_CC_ARGS=""
105.197 -CT_LIBC_GLIBC_USE_PORTS=y
105.198 -CT_LIBC_ADDONS_LIST=""
105.199 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
105.200 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
105.201 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
105.202 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
105.203 -
105.204 -#
105.205 # Tools facilities
105.206 #
105.207 CT_TOOL_libelf=y
105.208 CT_LIBELF_V_0_8_10=y
105.209 CT_LIBELF_VERSION="0.8.10"
105.210 CT_TOOL_sstrip=y
105.211 +CT_SSTRIP_BUILDROOT=y
105.212 # CT_SSTRIP_ELFKICKERS is not set
105.213 -CT_SSTRIP_BUILDROOT=y
105.214 CT_SSTRIP_FROM="buildroot"
105.215
105.216 #
105.217 @@ -366,13 +397,15 @@
105.218 CT_GDB_VERSION="6.8"
105.219
105.220 #
105.221 -# Native gdb needs the ncurses library on the target
105.222 +# Native gdb needs a native ncurses library
105.223 #
105.224 -CT_NCURSES_V_5_6=y
105.225 -CT_NCURSES_VERSION="5.6"
105.226 +# CT_NCURSES_V_5_6 is not set
105.227 +CT_NCURSES_V_5_7=y
105.228 +CT_NCURSES_VERSION="5.7"
105.229 CT_DEBUG_ltrace=y
105.230 # CT_LTRACE_V_0_4 is not set
105.231 CT_LTRACE_V_0_5=y
105.232 +# CT_LTRACE_V_0_5_1 is not set
105.233 CT_LTRACE_VERSION="0.5"
105.234 CT_DEBUG_strace=y
105.235 # CT_STRACE_V_4_5 is not set
106.1 --- a/samples/arm-unknown-linux-gnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000
106.2 +++ b/samples/arm-unknown-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000
106.3 @@ -1,7 +1,7 @@
106.4 #
106.5 # Automatically generated make config: don't edit
106.6 -# crosstool-NG version: svn_trunk@1297M
106.7 -# Tue Jan 6 23:17:11 2009
106.8 +# crosstool-NG version: svn_trunk@1454M
106.9 +# Sun Mar 29 23:17:00 2009
106.10 #
106.11
106.12 #
106.13 @@ -24,12 +24,13 @@
106.14 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
106.15 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
106.16 # CT_CUSTOM_PATCH is not set
106.17 -CT_REMOVE_DOCS=y
106.18 +# CT_REMOVE_DOCS is not set
106.19 CT_INSTALL_DIR_RO=y
106.20
106.21 #
106.22 # Downloading
106.23 #
106.24 +# CT_FORBID_DOWNLOAD is not set
106.25 # CT_FORCE_DOWNLOAD is not set
106.26 # CT_USE_PROXY is not set
106.27 CT_PROXY_TYPE="none"
106.28 @@ -87,9 +88,9 @@
106.29 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
106.30 # CT_ARCH_DEFAULT_BE is not set
106.31 CT_ARCH_DEFAULT_LE=y
106.32 -CT_ARCH_ARCH="armv5te"
106.33 -CT_ARCH_CPU="xscale"
106.34 -CT_ARCH_TUNE="xscale"
106.35 +CT_ARCH_ARCH=""
106.36 +CT_ARCH_CPU=""
106.37 +CT_ARCH_TUNE=""
106.38 CT_ARCH_FPU=""
106.39 # CT_ARCH_BE is not set
106.40 CT_ARCH_LE=y
106.41 @@ -106,6 +107,7 @@
106.42 # CT_ARCH_ia64 is not set
106.43 # CT_ARCH_mips is not set
106.44 # CT_ARCH_powerpc is not set
106.45 +# CT_ARCH_powerpc64 is not set
106.46 # CT_ARCH_sh is not set
106.47 # CT_ARCH_x86 is not set
106.48 # CT_ARCH_x86_64 is not set
106.49 @@ -123,7 +125,12 @@
106.50 # General toolchain options
106.51 #
106.52 CT_USE_SYSROOT=y
106.53 +CT_SYSROOT_DIR_PREFIX=""
106.54 CT_SHARED_LIBS=y
106.55 +
106.56 +#
106.57 +# Tuple completion and aliasing
106.58 +#
106.59 CT_TARGET_VENDOR="unknown"
106.60 CT_TARGET_ALIAS_SED_EXPR=""
106.61 CT_TARGET_ALIAS=""
106.62 @@ -149,7 +156,7 @@
106.63 #
106.64 # CT_BARE_METAL is not set
106.65 CT_KERNEL="linux"
106.66 -CT_KERNEL_VERSION="2.6.26.8"
106.67 +CT_KERNEL_VERSION="2.6.29"
106.68 # CT_KERNEL_bare_metal is not set
106.69 CT_KERNEL_linux=y
106.70 CT_KERNEL_LINUX_INSTALL=y
106.71 @@ -162,15 +169,7 @@
106.72 # CT_KERNEL_V_2_6_23_17 is not set
106.73 # CT_KERNEL_V_2_6_24_7 is not set
106.74 # CT_KERNEL_V_2_6_25_20 is not set
106.75 -# CT_KERNEL_V_2_6_26 is not set
106.76 -# CT_KERNEL_V_2_6_26_1 is not set
106.77 -# CT_KERNEL_V_2_6_26_2 is not set
106.78 -# CT_KERNEL_V_2_6_26_3 is not set
106.79 -# CT_KERNEL_V_2_6_26_4 is not set
106.80 -# CT_KERNEL_V_2_6_26_5 is not set
106.81 -# CT_KERNEL_V_2_6_26_6 is not set
106.82 -# CT_KERNEL_V_2_6_26_7 is not set
106.83 -CT_KERNEL_V_2_6_26_8=y
106.84 +# CT_KERNEL_V_2_6_26_8 is not set
106.85 # CT_KERNEL_V_2_6_27 is not set
106.86 # CT_KERNEL_V_2_6_27_1 is not set
106.87 # CT_KERNEL_V_2_6_27_2 is not set
106.88 @@ -182,12 +181,33 @@
106.89 # CT_KERNEL_V_2_6_27_8 is not set
106.90 # CT_KERNEL_V_2_6_27_9 is not set
106.91 # CT_KERNEL_V_2_6_27_10 is not set
106.92 +# CT_KERNEL_V_2_6_27_11 is not set
106.93 +# CT_KERNEL_V_2_6_27_12 is not set
106.94 +# CT_KERNEL_V_2_6_27_13 is not set
106.95 +# CT_KERNEL_V_2_6_27_14 is not set
106.96 +# CT_KERNEL_V_2_6_27_15 is not set
106.97 +# CT_KERNEL_V_2_6_27_16 is not set
106.98 +# CT_KERNEL_V_2_6_27_17 is not set
106.99 +# CT_KERNEL_V_2_6_27_18 is not set
106.100 +# CT_KERNEL_V_2_6_27_19 is not set
106.101 +# CT_KERNEL_V_2_6_27_20 is not set
106.102 +# CT_KERNEL_V_2_6_27_21 is not set
106.103 # CT_KERNEL_V_2_6_28 is not set
106.104 +# CT_KERNEL_V_2_6_28_1 is not set
106.105 +# CT_KERNEL_V_2_6_28_2 is not set
106.106 +# CT_KERNEL_V_2_6_28_3 is not set
106.107 +# CT_KERNEL_V_2_6_28_4 is not set
106.108 +# CT_KERNEL_V_2_6_28_5 is not set
106.109 +# CT_KERNEL_V_2_6_28_6 is not set
106.110 +# CT_KERNEL_V_2_6_28_7 is not set
106.111 +# CT_KERNEL_V_2_6_28_8 is not set
106.112 +# CT_KERNEL_V_2_6_28_9 is not set
106.113 +CT_KERNEL_V_2_6_29=y
106.114 CT_KERNEL_LINUX_VERBOSITY_0=y
106.115 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
106.116 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
106.117 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
106.118 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
106.119 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
106.120
106.121 #
106.122 # GMP and MPFR
106.123 @@ -199,14 +219,16 @@
106.124 CT_GMP_VERSION="4.2.4"
106.125 CT_GMP_CHECK=y
106.126 # CT_MPFR_V_2_3_1 is not set
106.127 -CT_MPFR_V_2_3_2=y
106.128 -CT_MPFR_VERSION="2.3.2"
106.129 +# CT_MPFR_V_2_3_2 is not set
106.130 +# CT_MPFR_V_2_4_0 is not set
106.131 +CT_MPFR_V_2_4_1=y
106.132 +CT_MPFR_VERSION="2.4.1"
106.133 CT_MPFR_CHECK=y
106.134
106.135 #
106.136 # binutils
106.137 #
106.138 -CT_BINUTILS_VERSION="2.19"
106.139 +CT_BINUTILS_VERSION="2.19.1"
106.140 # CT_BINUTILS_V_2_14 is not set
106.141 # CT_BINUTILS_V_2_15 is not set
106.142 # CT_BINUTILS_V_2_16_1 is not set
106.143 @@ -221,8 +243,11 @@
106.144 # CT_BINUTILS_V_2_18_91 is not set
106.145 # CT_BINUTILS_V_2_18_92 is not set
106.146 # CT_BINUTILS_V_2_18_93 is not set
106.147 -CT_BINUTILS_V_2_19=y
106.148 +# CT_BINUTILS_V_2_19 is not set
106.149 +CT_BINUTILS_V_2_19_1=y
106.150 # CT_BINUTILS_V_2_19_50_0_1 is not set
106.151 +# CT_BINUTILS_V_2_19_51_0_1 is not set
106.152 +# CT_BINUTILS_V_2_19_51_0_2 is not set
106.153 CT_BINUTILS_EXTRA_CONFIG=""
106.154 CT_BINUTILS_FOR_TARGET=y
106.155 CT_BINUTILS_FOR_TARGET_IBERTY=y
106.156 @@ -253,7 +278,10 @@
106.157 # CT_CC_V_4_3_0 is not set
106.158 # CT_CC_V_4_3_1 is not set
106.159 CT_CC_V_4_3_2=y
106.160 +# CT_CC_V_4_3_3 is not set
106.161 +# CT_CC_V_4_4_0 is not set
106.162 CT_CC_GCC_4_3_or_later=y
106.163 +# CT_CC_GCC_4_4_snapshot is not set
106.164 CT_CC_CXA_ATEXIT=y
106.165 # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
106.166 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
106.167 @@ -281,7 +309,7 @@
106.168 #
106.169 # C-library
106.170 #
106.171 -CT_LIBC_VERSION="2.7"
106.172 +CT_LIBC_VERSION="2.9"
106.173 # CT_LIBC_eglibc is not set
106.174 CT_LIBC_glibc=y
106.175 # CT_LIBC_uClibc is not set
106.176 @@ -290,12 +318,28 @@
106.177 # CT_LIBC_V_2_5_1 is not set
106.178 # CT_LIBC_V_2_6 is not set
106.179 # CT_LIBC_V_2_6_1 is not set
106.180 -CT_LIBC_V_2_7=y
106.181 +# CT_LIBC_V_2_7 is not set
106.182 # CT_LIBC_V_2_8 is not set
106.183 -# CT_LIBC_V_2_9 is not set
106.184 +CT_LIBC_V_2_9=y
106.185 # CT_LIBC_V_LATEST is not set
106.186 # CT_LIBC_V_date is not set
106.187 -# CT_LIBC_GLIBC_2_8_or_later is not set
106.188 +# CT_LIBC_GLIBC_TARBALL is not set
106.189 +CT_LIBC_GLIBC_CVS=y
106.190 +CT_LIBC_GLIBC_CVS_date="2009-03-29"
106.191 +
106.192 +#
106.193 +# glibc/eglibc common options
106.194 +#
106.195 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
106.196 +CT_LIBC_GLIBC_CONFIGPARMS=""
106.197 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
106.198 +CT_LIBC_EXTRA_CC_ARGS=""
106.199 +CT_LIBC_GLIBC_USE_PORTS=y
106.200 +CT_LIBC_ADDONS_LIST=""
106.201 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
106.202 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
106.203 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
106.204 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
106.205
106.206 #
106.207 # Common C library options
106.208 @@ -308,27 +352,14 @@
106.209 # CT_THREADS_NONE is not set
106.210
106.211 #
106.212 -# glibc/eglibc common options
106.213 -#
106.214 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
106.215 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
106.216 -CT_LIBC_EXTRA_CC_ARGS=""
106.217 -CT_LIBC_GLIBC_USE_PORTS=y
106.218 -CT_LIBC_ADDONS_LIST=""
106.219 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
106.220 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
106.221 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
106.222 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
106.223 -
106.224 -#
106.225 # Tools facilities
106.226 #
106.227 CT_TOOL_libelf=y
106.228 CT_LIBELF_V_0_8_10=y
106.229 CT_LIBELF_VERSION="0.8.10"
106.230 CT_TOOL_sstrip=y
106.231 +CT_SSTRIP_BUILDROOT=y
106.232 # CT_SSTRIP_ELFKICKERS is not set
106.233 -CT_SSTRIP_BUILDROOT=y
106.234 CT_SSTRIP_FROM="buildroot"
106.235
106.236 #
106.237 @@ -364,13 +395,15 @@
106.238 CT_GDB_VERSION="6.8"
106.239
106.240 #
106.241 -# Native gdb needs the ncurses library on the target
106.242 +# Native gdb needs a native ncurses library
106.243 #
106.244 -CT_NCURSES_V_5_6=y
106.245 -CT_NCURSES_VERSION="5.6"
106.246 +# CT_NCURSES_V_5_6 is not set
106.247 +CT_NCURSES_V_5_7=y
106.248 +CT_NCURSES_VERSION="5.7"
106.249 CT_DEBUG_ltrace=y
106.250 # CT_LTRACE_V_0_4 is not set
106.251 CT_LTRACE_V_0_5=y
106.252 +# CT_LTRACE_V_0_5_1 is not set
106.253 CT_LTRACE_VERSION="0.5"
106.254 CT_DEBUG_strace=y
106.255 # CT_STRACE_V_4_5 is not set
107.1 --- a/samples/arm-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000
107.2 +++ b/samples/arm-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000
107.3 @@ -1,7 +1,7 @@
107.4 #
107.5 # Automatically generated make config: don't edit
107.6 -# crosstool-NG version: svn_trunk@1297M
107.7 -# Tue Jan 6 23:17:14 2009
107.8 +# crosstool-NG version: svn_trunk@1453
107.9 +# Sun Mar 29 11:59:23 2009
107.10 #
107.11
107.12 #
107.13 @@ -30,6 +30,7 @@
107.14 #
107.15 # Downloading
107.16 #
107.17 +# CT_FORBID_DOWNLOAD is not set
107.18 # CT_FORCE_DOWNLOAD is not set
107.19 # CT_USE_PROXY is not set
107.20 CT_PROXY_TYPE="none"
107.21 @@ -107,6 +108,7 @@
107.22 # CT_ARCH_ia64 is not set
107.23 # CT_ARCH_mips is not set
107.24 # CT_ARCH_powerpc is not set
107.25 +# CT_ARCH_powerpc64 is not set
107.26 # CT_ARCH_sh is not set
107.27 # CT_ARCH_x86 is not set
107.28 # CT_ARCH_x86_64 is not set
107.29 @@ -125,7 +127,12 @@
107.30 # General toolchain options
107.31 #
107.32 CT_USE_SYSROOT=y
107.33 +CT_SYSROOT_DIR_PREFIX=""
107.34 CT_SHARED_LIBS=y
107.35 +
107.36 +#
107.37 +# Tuple completion and aliasing
107.38 +#
107.39 CT_TARGET_VENDOR="unknown"
107.40 CT_TARGET_ALIAS_SED_EXPR=""
107.41 CT_TARGET_ALIAS=""
107.42 @@ -151,7 +158,7 @@
107.43 #
107.44 # CT_BARE_METAL is not set
107.45 CT_KERNEL="linux"
107.46 -CT_KERNEL_VERSION="2.6.26.8"
107.47 +CT_KERNEL_VERSION="2.6.29"
107.48 # CT_KERNEL_bare_metal is not set
107.49 CT_KERNEL_linux=y
107.50 CT_KERNEL_LINUX_INSTALL=y
107.51 @@ -164,15 +171,7 @@
107.52 # CT_KERNEL_V_2_6_23_17 is not set
107.53 # CT_KERNEL_V_2_6_24_7 is not set
107.54 # CT_KERNEL_V_2_6_25_20 is not set
107.55 -# CT_KERNEL_V_2_6_26 is not set
107.56 -# CT_KERNEL_V_2_6_26_1 is not set
107.57 -# CT_KERNEL_V_2_6_26_2 is not set
107.58 -# CT_KERNEL_V_2_6_26_3 is not set
107.59 -# CT_KERNEL_V_2_6_26_4 is not set
107.60 -# CT_KERNEL_V_2_6_26_5 is not set
107.61 -# CT_KERNEL_V_2_6_26_6 is not set
107.62 -# CT_KERNEL_V_2_6_26_7 is not set
107.63 -CT_KERNEL_V_2_6_26_8=y
107.64 +# CT_KERNEL_V_2_6_26_8 is not set
107.65 # CT_KERNEL_V_2_6_27 is not set
107.66 # CT_KERNEL_V_2_6_27_1 is not set
107.67 # CT_KERNEL_V_2_6_27_2 is not set
107.68 @@ -184,12 +183,33 @@
107.69 # CT_KERNEL_V_2_6_27_8 is not set
107.70 # CT_KERNEL_V_2_6_27_9 is not set
107.71 # CT_KERNEL_V_2_6_27_10 is not set
107.72 +# CT_KERNEL_V_2_6_27_11 is not set
107.73 +# CT_KERNEL_V_2_6_27_12 is not set
107.74 +# CT_KERNEL_V_2_6_27_13 is not set
107.75 +# CT_KERNEL_V_2_6_27_14 is not set
107.76 +# CT_KERNEL_V_2_6_27_15 is not set
107.77 +# CT_KERNEL_V_2_6_27_16 is not set
107.78 +# CT_KERNEL_V_2_6_27_17 is not set
107.79 +# CT_KERNEL_V_2_6_27_18 is not set
107.80 +# CT_KERNEL_V_2_6_27_19 is not set
107.81 +# CT_KERNEL_V_2_6_27_20 is not set
107.82 +# CT_KERNEL_V_2_6_27_21 is not set
107.83 # CT_KERNEL_V_2_6_28 is not set
107.84 +# CT_KERNEL_V_2_6_28_1 is not set
107.85 +# CT_KERNEL_V_2_6_28_2 is not set
107.86 +# CT_KERNEL_V_2_6_28_3 is not set
107.87 +# CT_KERNEL_V_2_6_28_4 is not set
107.88 +# CT_KERNEL_V_2_6_28_5 is not set
107.89 +# CT_KERNEL_V_2_6_28_6 is not set
107.90 +# CT_KERNEL_V_2_6_28_7 is not set
107.91 +# CT_KERNEL_V_2_6_28_8 is not set
107.92 +# CT_KERNEL_V_2_6_28_9 is not set
107.93 +CT_KERNEL_V_2_6_29=y
107.94 CT_KERNEL_LINUX_VERBOSITY_0=y
107.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
107.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
107.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
107.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
107.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
107.100
107.101 #
107.102 # GMP and MPFR
107.103 @@ -201,14 +221,16 @@
107.104 CT_GMP_VERSION="4.2.4"
107.105 CT_GMP_CHECK=y
107.106 # CT_MPFR_V_2_3_1 is not set
107.107 -CT_MPFR_V_2_3_2=y
107.108 -CT_MPFR_VERSION="2.3.2"
107.109 +# CT_MPFR_V_2_3_2 is not set
107.110 +# CT_MPFR_V_2_4_0 is not set
107.111 +CT_MPFR_V_2_4_1=y
107.112 +CT_MPFR_VERSION="2.4.1"
107.113 CT_MPFR_CHECK=y
107.114
107.115 #
107.116 # binutils
107.117 #
107.118 -CT_BINUTILS_VERSION="2.19"
107.119 +CT_BINUTILS_VERSION="2.19.1"
107.120 # CT_BINUTILS_V_2_14 is not set
107.121 # CT_BINUTILS_V_2_15 is not set
107.122 # CT_BINUTILS_V_2_16_1 is not set
107.123 @@ -223,8 +245,11 @@
107.124 # CT_BINUTILS_V_2_18_91 is not set
107.125 # CT_BINUTILS_V_2_18_92 is not set
107.126 # CT_BINUTILS_V_2_18_93 is not set
107.127 -CT_BINUTILS_V_2_19=y
107.128 +# CT_BINUTILS_V_2_19 is not set
107.129 +CT_BINUTILS_V_2_19_1=y
107.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
107.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
107.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
107.133 CT_BINUTILS_EXTRA_CONFIG=""
107.134 CT_BINUTILS_FOR_TARGET=y
107.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
107.136 @@ -255,7 +280,10 @@
107.137 # CT_CC_V_4_3_0 is not set
107.138 # CT_CC_V_4_3_1 is not set
107.139 CT_CC_V_4_3_2=y
107.140 +# CT_CC_V_4_3_3 is not set
107.141 +# CT_CC_V_4_4_0 is not set
107.142 CT_CC_GCC_4_3_or_later=y
107.143 +# CT_CC_GCC_4_4_snapshot is not set
107.144 CT_CC_CXA_ATEXIT=y
107.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
107.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
107.147 @@ -283,7 +311,7 @@
107.148 #
107.149 # C-library
107.150 #
107.151 -CT_LIBC_VERSION="0.9.30"
107.152 +CT_LIBC_VERSION="0.9.30.1"
107.153 # CT_LIBC_eglibc is not set
107.154 # CT_LIBC_glibc is not set
107.155 CT_LIBC_uClibc=y
107.156 @@ -292,7 +320,8 @@
107.157 # CT_LIBC_V_0_9_28_2 is not set
107.158 # CT_LIBC_V_0_9_28_3 is not set
107.159 # CT_LIBC_V_0_9_29 is not set
107.160 -CT_LIBC_V_0_9_30=y
107.161 +# CT_LIBC_V_0_9_30 is not set
107.162 +CT_LIBC_V_0_9_30_1=y
107.163 # CT_LIBC_V_snapshot is not set
107.164 # CT_LIBC_V_specific_date is not set
107.165 # CT_LIBC_UCLIBC_PARALLEL is not set
107.166 @@ -303,6 +332,7 @@
107.167 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
107.168 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
107.169 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
107.170 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
107.171 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
107.172 # CT_LIBC_UCLIBC_LOCALES is not set
107.173
107.174 @@ -323,8 +353,8 @@
107.175 CT_LIBELF_V_0_8_10=y
107.176 CT_LIBELF_VERSION="0.8.10"
107.177 CT_TOOL_sstrip=y
107.178 +CT_SSTRIP_BUILDROOT=y
107.179 # CT_SSTRIP_ELFKICKERS is not set
107.180 -CT_SSTRIP_BUILDROOT=y
107.181 CT_SSTRIP_FROM="buildroot"
107.182
107.183 #
107.184 @@ -360,13 +390,15 @@
107.185 CT_GDB_VERSION="6.8"
107.186
107.187 #
107.188 -# Native gdb needs the ncurses library on the target
107.189 +# Native gdb needs a native ncurses library
107.190 #
107.191 -CT_NCURSES_V_5_6=y
107.192 -CT_NCURSES_VERSION="5.6"
107.193 +# CT_NCURSES_V_5_6 is not set
107.194 +CT_NCURSES_V_5_7=y
107.195 +CT_NCURSES_VERSION="5.7"
107.196 CT_DEBUG_ltrace=y
107.197 # CT_LTRACE_V_0_4 is not set
107.198 CT_LTRACE_V_0_5=y
107.199 +# CT_LTRACE_V_0_5_1 is not set
107.200 CT_LTRACE_VERSION="0.5"
107.201 CT_DEBUG_strace=y
107.202 # CT_STRACE_V_4_5 is not set
108.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
108.2 +++ b/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000
108.3 @@ -0,0 +1,253 @@
108.4 +#
108.5 +# Automatically generated make config: don't edit
108.6 +# Version: 0.9.30
108.7 +# Mon Nov 17 10:32:53 2008
108.8 +#
108.9 +# TARGET_alpha is not set
108.10 +TARGET_arm=y
108.11 +# TARGET_avr32 is not set
108.12 +# TARGET_bfin is not set
108.13 +# TARGET_cris is not set
108.14 +# TARGET_e1 is not set
108.15 +# TARGET_frv is not set
108.16 +# TARGET_h8300 is not set
108.17 +# TARGET_hppa is not set
108.18 +# TARGET_i386 is not set
108.19 +# TARGET_i960 is not set
108.20 +# TARGET_ia64 is not set
108.21 +# TARGET_m68k is not set
108.22 +# TARGET_microblaze is not set
108.23 +# TARGET_mips is not set
108.24 +# TARGET_nios is not set
108.25 +# TARGET_nios2 is not set
108.26 +# TARGET_powerpc is not set
108.27 +# TARGET_sh is not set
108.28 +# TARGET_sh64 is not set
108.29 +# TARGET_sparc is not set
108.30 +# TARGET_v850 is not set
108.31 +# TARGET_vax is not set
108.32 +# TARGET_x86_64 is not set
108.33 +# TARGET_xtensa is not set
108.34 +
108.35 +#
108.36 +# Target Architecture Features and Options
108.37 +#
108.38 +TARGET_ARCH="arm"
108.39 +FORCE_OPTIONS_FOR_ARCH=y
108.40 +CONFIG_ARM_OABI=y
108.41 +# CONFIG_ARM_EABI is not set
108.42 +CONFIG_GENERIC_ARM=y
108.43 +# CONFIG_ARM610 is not set
108.44 +# CONFIG_ARM710 is not set
108.45 +# CONFIG_ARM7TDMI is not set
108.46 +# CONFIG_ARM720T is not set
108.47 +# CONFIG_ARM920T is not set
108.48 +# CONFIG_ARM922T is not set
108.49 +# CONFIG_ARM926T is not set
108.50 +# CONFIG_ARM10T is not set
108.51 +# CONFIG_ARM1136JF_S is not set
108.52 +# CONFIG_ARM1176JZ_S is not set
108.53 +# CONFIG_ARM1176JZF_S is not set
108.54 +# CONFIG_ARM_CORTEX_M3 is not set
108.55 +# CONFIG_ARM_CORTEX_M1 is not set
108.56 +# CONFIG_ARM_SA110 is not set
108.57 +# CONFIG_ARM_SA1100 is not set
108.58 +# CONFIG_ARM_XSCALE is not set
108.59 +# CONFIG_ARM_IWMMXT is not set
108.60 +# CONFIG_MIPS_O32_ABI is not set
108.61 +# CONFIG_MIPS_N32_ABI is not set
108.62 +# CONFIG_MIPS_N64_ABI is not set
108.63 +# CONFIG_MIPS_ISA_1 is not set
108.64 +# CONFIG_MIPS_ISA_2 is not set
108.65 +# CONFIG_MIPS_ISA_3 is not set
108.66 +# CONFIG_MIPS_ISA_4 is not set
108.67 +# CONFIG_MIPS_ISA_MIPS32 is not set
108.68 +# CONFIG_MIPS_ISA_MIPS32R2 is not set
108.69 +# CONFIG_MIPS_ISA_MIPS64 is not set
108.70 +TARGET_SUBARCH=""
108.71 +
108.72 +#
108.73 +# Using ELF file format
108.74 +#
108.75 +ARCH_ANY_ENDIAN=y
108.76 +ARCH_BIG_ENDIAN=y
108.77 +ARCH_WANTS_BIG_ENDIAN=y
108.78 +# ARCH_WANTS_LITTLE_ENDIAN is not set
108.79 +ARCH_HAS_MMU=y
108.80 +ARCH_USE_MMU=y
108.81 +UCLIBC_HAS_FLOATS=y
108.82 +# UCLIBC_HAS_FPU is not set
108.83 +UCLIBC_HAS_SOFT_FLOAT=y
108.84 +DO_C99_MATH=y
108.85 +UCLIBC_HAS_FENV=y
108.86 +KERNEL_HEADERS="/usr/include"
108.87 +HAVE_DOT_CONFIG=y
108.88 +
108.89 +#
108.90 +# General Library Settings
108.91 +#
108.92 +# HAVE_NO_PIC is not set
108.93 +DOPIC=y
108.94 +# ARCH_HAS_NO_SHARED is not set
108.95 +# ARCH_HAS_NO_LDSO is not set
108.96 +HAVE_SHARED=y
108.97 +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
108.98 +LDSO_LDD_SUPPORT=y
108.99 +LDSO_CACHE_SUPPORT=y
108.100 +# LDSO_PRELOAD_FILE_SUPPORT is not set
108.101 +LDSO_BASE_FILENAME="ld.so"
108.102 +UCLIBC_STATIC_LDCONFIG=y
108.103 +# LDSO_RUNPATH is not set
108.104 +UCLIBC_CTOR_DTOR=y
108.105 +# LDSO_GNU_HASH_SUPPORT is not set
108.106 +# HAS_NO_THREADS is not set
108.107 +UCLIBC_HAS_THREADS=y
108.108 +# PTHREADS_DEBUG_SUPPORT is not set
108.109 +LINUXTHREADS_OLD=y
108.110 +UCLIBC_HAS_SYSLOG=y
108.111 +UCLIBC_HAS_LFS=y
108.112 +# MALLOC is not set
108.113 +# MALLOC_SIMPLE is not set
108.114 +MALLOC_STANDARD=y
108.115 +# MALLOC_GLIBC_COMPAT is not set
108.116 +UCLIBC_DYNAMIC_ATEXIT=y
108.117 +# COMPAT_ATEXIT is not set
108.118 +# UCLIBC_SUSV3_LEGACY is not set
108.119 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
108.120 +# UCLIBC_HAS_STUBS is not set
108.121 +UCLIBC_HAS_SHADOW=y
108.122 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
108.123 +UCLIBC_HAS_PTY=y
108.124 +ASSUME_DEVPTS=y
108.125 +UNIX98PTY_ONLY=y
108.126 +# UCLIBC_HAS_GETPT is not set
108.127 +UCLIBC_HAS_TM_EXTENSIONS=y
108.128 +UCLIBC_HAS_TZ_CACHING=y
108.129 +UCLIBC_HAS_TZ_FILE=y
108.130 +UCLIBC_HAS_TZ_FILE_READ_MANY=y
108.131 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
108.132 +
108.133 +#
108.134 +# Advanced Library Settings
108.135 +#
108.136 +UCLIBC_PWD_BUFFER_SIZE=256
108.137 +UCLIBC_GRP_BUFFER_SIZE=256
108.138 +
108.139 +#
108.140 +# Support various families of functions
108.141 +#
108.142 +UCLIBC_LINUX_MODULE_24=y
108.143 +UCLIBC_LINUX_SPECIFIC=y
108.144 +UCLIBC_HAS_GNU_ERROR=y
108.145 +# UCLIBC_BSD_SPECIFIC is not set
108.146 +UCLIBC_HAS_BSD_ERR=y
108.147 +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
108.148 +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
108.149 +# UCLIBC_NTP_LEGACY is not set
108.150 +# UCLIBC_SV4_DEPRECATED is not set
108.151 +UCLIBC_HAS_REALTIME=y
108.152 +UCLIBC_HAS_ADVANCED_REALTIME=y
108.153 +UCLIBC_HAS_EPOLL=y
108.154 +UCLIBC_HAS_XATTR=y
108.155 +UCLIBC_HAS_PROFILING=y
108.156 +UCLIBC_HAS_CRYPT_IMPL=y
108.157 +UCLIBC_HAS_CRYPT=y
108.158 +UCLIBC_HAS_NETWORK_SUPPORT=y
108.159 +UCLIBC_HAS_SOCKET=y
108.160 +UCLIBC_HAS_IPV4=y
108.161 +# UCLIBC_HAS_IPV6 is not set
108.162 +UCLIBC_HAS_RPC=y
108.163 +UCLIBC_HAS_FULL_RPC=y
108.164 +UCLIBC_HAS_REENTRANT_RPC=y
108.165 +UCLIBC_USE_NETLINK=y
108.166 +UCLIBC_SUPPORT_AI_ADDRCONFIG=y
108.167 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
108.168 +
108.169 +#
108.170 +# String and Stdio Support
108.171 +#
108.172 +UCLIBC_HAS_STRING_GENERIC_OPT=y
108.173 +UCLIBC_HAS_STRING_ARCH_OPT=y
108.174 +UCLIBC_HAS_CTYPE_TABLES=y
108.175 +UCLIBC_HAS_CTYPE_SIGNED=y
108.176 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
108.177 +# UCLIBC_HAS_CTYPE_CHECKED is not set
108.178 +UCLIBC_HAS_CTYPE_ENFORCED=y
108.179 +# UCLIBC_HAS_WCHAR is not set
108.180 +# UCLIBC_HAS_LOCALE is not set
108.181 +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
108.182 +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
108.183 +# USE_OLD_VFPRINTF is not set
108.184 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
108.185 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
108.186 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
108.187 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
108.188 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
108.189 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
108.190 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
108.191 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
108.192 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
108.193 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
108.194 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
108.195 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
108.196 +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
108.197 +UCLIBC_HAS_STDIO_GETC_MACRO=y
108.198 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
108.199 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
108.200 +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
108.201 +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
108.202 +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
108.203 +UCLIBC_HAS_PRINTF_M_SPEC=y
108.204 +UCLIBC_HAS_ERRNO_MESSAGES=y
108.205 +# UCLIBC_HAS_SYS_ERRLIST is not set
108.206 +UCLIBC_HAS_SIGNUM_MESSAGES=y
108.207 +# UCLIBC_HAS_SYS_SIGLIST is not set
108.208 +UCLIBC_HAS_GNU_GETOPT=y
108.209 +UCLIBC_HAS_GNU_GETSUBOPT=y
108.210 +
108.211 +#
108.212 +# Big and Tall
108.213 +#
108.214 +UCLIBC_HAS_REGEX=y
108.215 +UCLIBC_HAS_REGEX_OLD=y
108.216 +UCLIBC_HAS_FNMATCH=y
108.217 +UCLIBC_HAS_FNMATCH_OLD=y
108.218 +# UCLIBC_HAS_WORDEXP is not set
108.219 +# UCLIBC_HAS_FTW is not set
108.220 +UCLIBC_HAS_GLOB=y
108.221 +UCLIBC_HAS_GNU_GLOB=y
108.222 +
108.223 +#
108.224 +# Library Installation Options
108.225 +#
108.226 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
108.227 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
108.228 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
108.229 +
108.230 +#
108.231 +# Security options
108.232 +#
108.233 +# UCLIBC_BUILD_PIE is not set
108.234 +# UCLIBC_HAS_ARC4RANDOM is not set
108.235 +# HAVE_NO_SSP is not set
108.236 +# UCLIBC_HAS_SSP is not set
108.237 +UCLIBC_BUILD_RELRO=y
108.238 +# UCLIBC_BUILD_NOW is not set
108.239 +UCLIBC_BUILD_NOEXECSTACK=y
108.240 +
108.241 +#
108.242 +# uClibc development/debugging options
108.243 +#
108.244 +CROSS_COMPILER_PREFIX=""
108.245 +UCLIBC_EXTRA_CFLAGS=""
108.246 +# DODEBUG is not set
108.247 +# DODEBUG_PT is not set
108.248 +# DOSTRIP is not set
108.249 +# DOASSERTS is not set
108.250 +# SUPPORT_LD_DEBUG is not set
108.251 +# SUPPORT_LD_DEBUG_EARLY is not set
108.252 +# UCLIBC_MALLOC_DEBUGGING is not set
108.253 +WARNINGS="-Wall"
108.254 +# EXTRA_WARNINGS is not set
108.255 +# DOMULTI is not set
108.256 +# UCLIBC_MJN3_ONLY is not set
109.1 --- a/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000
109.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
109.3 @@ -1,253 +0,0 @@
109.4 -#
109.5 -# Automatically generated make config: don't edit
109.6 -# Version: 0.9.30
109.7 -# Mon Nov 17 10:32:53 2008
109.8 -#
109.9 -# TARGET_alpha is not set
109.10 -TARGET_arm=y
109.11 -# TARGET_avr32 is not set
109.12 -# TARGET_bfin is not set
109.13 -# TARGET_cris is not set
109.14 -# TARGET_e1 is not set
109.15 -# TARGET_frv is not set
109.16 -# TARGET_h8300 is not set
109.17 -# TARGET_hppa is not set
109.18 -# TARGET_i386 is not set
109.19 -# TARGET_i960 is not set
109.20 -# TARGET_ia64 is not set
109.21 -# TARGET_m68k is not set
109.22 -# TARGET_microblaze is not set
109.23 -# TARGET_mips is not set
109.24 -# TARGET_nios is not set
109.25 -# TARGET_nios2 is not set
109.26 -# TARGET_powerpc is not set
109.27 -# TARGET_sh is not set
109.28 -# TARGET_sh64 is not set
109.29 -# TARGET_sparc is not set
109.30 -# TARGET_v850 is not set
109.31 -# TARGET_vax is not set
109.32 -# TARGET_x86_64 is not set
109.33 -# TARGET_xtensa is not set
109.34 -
109.35 -#
109.36 -# Target Architecture Features and Options
109.37 -#
109.38 -TARGET_ARCH="arm"
109.39 -FORCE_OPTIONS_FOR_ARCH=y
109.40 -CONFIG_ARM_OABI=y
109.41 -# CONFIG_ARM_EABI is not set
109.42 -CONFIG_GENERIC_ARM=y
109.43 -# CONFIG_ARM610 is not set
109.44 -# CONFIG_ARM710 is not set
109.45 -# CONFIG_ARM7TDMI is not set
109.46 -# CONFIG_ARM720T is not set
109.47 -# CONFIG_ARM920T is not set
109.48 -# CONFIG_ARM922T is not set
109.49 -# CONFIG_ARM926T is not set
109.50 -# CONFIG_ARM10T is not set
109.51 -# CONFIG_ARM1136JF_S is not set
109.52 -# CONFIG_ARM1176JZ_S is not set
109.53 -# CONFIG_ARM1176JZF_S is not set
109.54 -# CONFIG_ARM_CORTEX_M3 is not set
109.55 -# CONFIG_ARM_CORTEX_M1 is not set
109.56 -# CONFIG_ARM_SA110 is not set
109.57 -# CONFIG_ARM_SA1100 is not set
109.58 -# CONFIG_ARM_XSCALE is not set
109.59 -# CONFIG_ARM_IWMMXT is not set
109.60 -# CONFIG_MIPS_O32_ABI is not set
109.61 -# CONFIG_MIPS_N32_ABI is not set
109.62 -# CONFIG_MIPS_N64_ABI is not set
109.63 -# CONFIG_MIPS_ISA_1 is not set
109.64 -# CONFIG_MIPS_ISA_2 is not set
109.65 -# CONFIG_MIPS_ISA_3 is not set
109.66 -# CONFIG_MIPS_ISA_4 is not set
109.67 -# CONFIG_MIPS_ISA_MIPS32 is not set
109.68 -# CONFIG_MIPS_ISA_MIPS32R2 is not set
109.69 -# CONFIG_MIPS_ISA_MIPS64 is not set
109.70 -TARGET_SUBARCH=""
109.71 -
109.72 -#
109.73 -# Using ELF file format
109.74 -#
109.75 -ARCH_ANY_ENDIAN=y
109.76 -ARCH_BIG_ENDIAN=y
109.77 -ARCH_WANTS_BIG_ENDIAN=y
109.78 -# ARCH_WANTS_LITTLE_ENDIAN is not set
109.79 -ARCH_HAS_MMU=y
109.80 -ARCH_USE_MMU=y
109.81 -UCLIBC_HAS_FLOATS=y
109.82 -# UCLIBC_HAS_FPU is not set
109.83 -UCLIBC_HAS_SOFT_FLOAT=y
109.84 -DO_C99_MATH=y
109.85 -UCLIBC_HAS_FENV=y
109.86 -KERNEL_HEADERS="/usr/include"
109.87 -HAVE_DOT_CONFIG=y
109.88 -
109.89 -#
109.90 -# General Library Settings
109.91 -#
109.92 -# HAVE_NO_PIC is not set
109.93 -DOPIC=y
109.94 -# ARCH_HAS_NO_SHARED is not set
109.95 -# ARCH_HAS_NO_LDSO is not set
109.96 -HAVE_SHARED=y
109.97 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
109.98 -LDSO_LDD_SUPPORT=y
109.99 -LDSO_CACHE_SUPPORT=y
109.100 -# LDSO_PRELOAD_FILE_SUPPORT is not set
109.101 -LDSO_BASE_FILENAME="ld.so"
109.102 -UCLIBC_STATIC_LDCONFIG=y
109.103 -# LDSO_RUNPATH is not set
109.104 -UCLIBC_CTOR_DTOR=y
109.105 -# LDSO_GNU_HASH_SUPPORT is not set
109.106 -# HAS_NO_THREADS is not set
109.107 -UCLIBC_HAS_THREADS=y
109.108 -# PTHREADS_DEBUG_SUPPORT is not set
109.109 -LINUXTHREADS_OLD=y
109.110 -UCLIBC_HAS_SYSLOG=y
109.111 -UCLIBC_HAS_LFS=y
109.112 -# MALLOC is not set
109.113 -# MALLOC_SIMPLE is not set
109.114 -MALLOC_STANDARD=y
109.115 -# MALLOC_GLIBC_COMPAT is not set
109.116 -UCLIBC_DYNAMIC_ATEXIT=y
109.117 -# COMPAT_ATEXIT is not set
109.118 -# UCLIBC_SUSV3_LEGACY is not set
109.119 -# UCLIBC_SUSV3_LEGACY_MACROS is not set
109.120 -# UCLIBC_HAS_STUBS is not set
109.121 -UCLIBC_HAS_SHADOW=y
109.122 -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
109.123 -UCLIBC_HAS_PTY=y
109.124 -ASSUME_DEVPTS=y
109.125 -UNIX98PTY_ONLY=y
109.126 -# UCLIBC_HAS_GETPT is not set
109.127 -UCLIBC_HAS_TM_EXTENSIONS=y
109.128 -UCLIBC_HAS_TZ_CACHING=y
109.129 -UCLIBC_HAS_TZ_FILE=y
109.130 -UCLIBC_HAS_TZ_FILE_READ_MANY=y
109.131 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
109.132 -
109.133 -#
109.134 -# Advanced Library Settings
109.135 -#
109.136 -UCLIBC_PWD_BUFFER_SIZE=256
109.137 -UCLIBC_GRP_BUFFER_SIZE=256
109.138 -
109.139 -#
109.140 -# Support various families of functions
109.141 -#
109.142 -UCLIBC_LINUX_MODULE_24=y
109.143 -UCLIBC_LINUX_SPECIFIC=y
109.144 -UCLIBC_HAS_GNU_ERROR=y
109.145 -# UCLIBC_BSD_SPECIFIC is not set
109.146 -UCLIBC_HAS_BSD_ERR=y
109.147 -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
109.148 -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
109.149 -# UCLIBC_NTP_LEGACY is not set
109.150 -# UCLIBC_SV4_DEPRECATED is not set
109.151 -UCLIBC_HAS_REALTIME=y
109.152 -UCLIBC_HAS_ADVANCED_REALTIME=y
109.153 -UCLIBC_HAS_EPOLL=y
109.154 -UCLIBC_HAS_XATTR=y
109.155 -UCLIBC_HAS_PROFILING=y
109.156 -UCLIBC_HAS_CRYPT_IMPL=y
109.157 -UCLIBC_HAS_CRYPT=y
109.158 -UCLIBC_HAS_NETWORK_SUPPORT=y
109.159 -UCLIBC_HAS_SOCKET=y
109.160 -UCLIBC_HAS_IPV4=y
109.161 -# UCLIBC_HAS_IPV6 is not set
109.162 -UCLIBC_HAS_RPC=y
109.163 -UCLIBC_HAS_FULL_RPC=y
109.164 -UCLIBC_HAS_REENTRANT_RPC=y
109.165 -UCLIBC_USE_NETLINK=y
109.166 -UCLIBC_SUPPORT_AI_ADDRCONFIG=y
109.167 -# UCLIBC_HAS_BSD_RES_CLOSE is not set
109.168 -
109.169 -#
109.170 -# String and Stdio Support
109.171 -#
109.172 -UCLIBC_HAS_STRING_GENERIC_OPT=y
109.173 -UCLIBC_HAS_STRING_ARCH_OPT=y
109.174 -UCLIBC_HAS_CTYPE_TABLES=y
109.175 -UCLIBC_HAS_CTYPE_SIGNED=y
109.176 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
109.177 -# UCLIBC_HAS_CTYPE_CHECKED is not set
109.178 -UCLIBC_HAS_CTYPE_ENFORCED=y
109.179 -# UCLIBC_HAS_WCHAR is not set
109.180 -# UCLIBC_HAS_LOCALE is not set
109.181 -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
109.182 -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
109.183 -# USE_OLD_VFPRINTF is not set
109.184 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
109.185 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
109.186 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
109.187 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
109.188 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
109.189 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
109.190 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
109.191 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
109.192 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
109.193 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
109.194 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
109.195 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
109.196 -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
109.197 -UCLIBC_HAS_STDIO_GETC_MACRO=y
109.198 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
109.199 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
109.200 -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
109.201 -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
109.202 -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
109.203 -UCLIBC_HAS_PRINTF_M_SPEC=y
109.204 -UCLIBC_HAS_ERRNO_MESSAGES=y
109.205 -# UCLIBC_HAS_SYS_ERRLIST is not set
109.206 -UCLIBC_HAS_SIGNUM_MESSAGES=y
109.207 -# UCLIBC_HAS_SYS_SIGLIST is not set
109.208 -UCLIBC_HAS_GNU_GETOPT=y
109.209 -UCLIBC_HAS_GNU_GETSUBOPT=y
109.210 -
109.211 -#
109.212 -# Big and Tall
109.213 -#
109.214 -UCLIBC_HAS_REGEX=y
109.215 -UCLIBC_HAS_REGEX_OLD=y
109.216 -UCLIBC_HAS_FNMATCH=y
109.217 -UCLIBC_HAS_FNMATCH_OLD=y
109.218 -# UCLIBC_HAS_WORDEXP is not set
109.219 -# UCLIBC_HAS_FTW is not set
109.220 -UCLIBC_HAS_GLOB=y
109.221 -UCLIBC_HAS_GNU_GLOB=y
109.222 -
109.223 -#
109.224 -# Library Installation Options
109.225 -#
109.226 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
109.227 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
109.228 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
109.229 -
109.230 -#
109.231 -# Security options
109.232 -#
109.233 -# UCLIBC_BUILD_PIE is not set
109.234 -# UCLIBC_HAS_ARC4RANDOM is not set
109.235 -# HAVE_NO_SSP is not set
109.236 -# UCLIBC_HAS_SSP is not set
109.237 -UCLIBC_BUILD_RELRO=y
109.238 -# UCLIBC_BUILD_NOW is not set
109.239 -UCLIBC_BUILD_NOEXECSTACK=y
109.240 -
109.241 -#
109.242 -# uClibc development/debugging options
109.243 -#
109.244 -CROSS_COMPILER_PREFIX=""
109.245 -UCLIBC_EXTRA_CFLAGS=""
109.246 -# DODEBUG is not set
109.247 -# DODEBUG_PT is not set
109.248 -# DOSTRIP is not set
109.249 -# DOASSERTS is not set
109.250 -# SUPPORT_LD_DEBUG is not set
109.251 -# SUPPORT_LD_DEBUG_EARLY is not set
109.252 -# UCLIBC_MALLOC_DEBUGGING is not set
109.253 -WARNINGS="-Wall"
109.254 -# EXTRA_WARNINGS is not set
109.255 -# DOMULTI is not set
109.256 -# UCLIBC_MJN3_ONLY is not set
110.1 --- a/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000
110.2 +++ b/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000
110.3 @@ -1,7 +1,7 @@
110.4 #
110.5 # Automatically generated make config: don't edit
110.6 -# crosstool-NG version: svn_trunk@1297M
110.7 -# Tue Jan 6 23:17:17 2009
110.8 +# crosstool-NG version: svn_trunk@1453
110.9 +# Sun Mar 29 11:58:41 2009
110.10 #
110.11
110.12 #
110.13 @@ -30,6 +30,7 @@
110.14 #
110.15 # Downloading
110.16 #
110.17 +# CT_FORBID_DOWNLOAD is not set
110.18 # CT_FORCE_DOWNLOAD is not set
110.19 # CT_USE_PROXY is not set
110.20 CT_PROXY_TYPE="none"
110.21 @@ -106,6 +107,7 @@
110.22 # CT_ARCH_ia64 is not set
110.23 # CT_ARCH_mips is not set
110.24 # CT_ARCH_powerpc is not set
110.25 +# CT_ARCH_powerpc64 is not set
110.26 # CT_ARCH_sh is not set
110.27 # CT_ARCH_x86 is not set
110.28 # CT_ARCH_x86_64 is not set
110.29 @@ -123,7 +125,12 @@
110.30 # General toolchain options
110.31 #
110.32 CT_USE_SYSROOT=y
110.33 +CT_SYSROOT_DIR_PREFIX=""
110.34 CT_SHARED_LIBS=y
110.35 +
110.36 +#
110.37 +# Tuple completion and aliasing
110.38 +#
110.39 CT_TARGET_VENDOR="unknown"
110.40 CT_TARGET_ALIAS_SED_EXPR=""
110.41 CT_TARGET_ALIAS=""
110.42 @@ -149,7 +156,7 @@
110.43 #
110.44 # CT_BARE_METAL is not set
110.45 CT_KERNEL="linux"
110.46 -CT_KERNEL_VERSION="2.6.26.8"
110.47 +CT_KERNEL_VERSION="2.6.29"
110.48 # CT_KERNEL_bare_metal is not set
110.49 CT_KERNEL_linux=y
110.50 CT_KERNEL_LINUX_INSTALL=y
110.51 @@ -162,15 +169,7 @@
110.52 # CT_KERNEL_V_2_6_23_17 is not set
110.53 # CT_KERNEL_V_2_6_24_7 is not set
110.54 # CT_KERNEL_V_2_6_25_20 is not set
110.55 -# CT_KERNEL_V_2_6_26 is not set
110.56 -# CT_KERNEL_V_2_6_26_1 is not set
110.57 -# CT_KERNEL_V_2_6_26_2 is not set
110.58 -# CT_KERNEL_V_2_6_26_3 is not set
110.59 -# CT_KERNEL_V_2_6_26_4 is not set
110.60 -# CT_KERNEL_V_2_6_26_5 is not set
110.61 -# CT_KERNEL_V_2_6_26_6 is not set
110.62 -# CT_KERNEL_V_2_6_26_7 is not set
110.63 -CT_KERNEL_V_2_6_26_8=y
110.64 +# CT_KERNEL_V_2_6_26_8 is not set
110.65 # CT_KERNEL_V_2_6_27 is not set
110.66 # CT_KERNEL_V_2_6_27_1 is not set
110.67 # CT_KERNEL_V_2_6_27_2 is not set
110.68 @@ -182,12 +181,33 @@
110.69 # CT_KERNEL_V_2_6_27_8 is not set
110.70 # CT_KERNEL_V_2_6_27_9 is not set
110.71 # CT_KERNEL_V_2_6_27_10 is not set
110.72 +# CT_KERNEL_V_2_6_27_11 is not set
110.73 +# CT_KERNEL_V_2_6_27_12 is not set
110.74 +# CT_KERNEL_V_2_6_27_13 is not set
110.75 +# CT_KERNEL_V_2_6_27_14 is not set
110.76 +# CT_KERNEL_V_2_6_27_15 is not set
110.77 +# CT_KERNEL_V_2_6_27_16 is not set
110.78 +# CT_KERNEL_V_2_6_27_17 is not set
110.79 +# CT_KERNEL_V_2_6_27_18 is not set
110.80 +# CT_KERNEL_V_2_6_27_19 is not set
110.81 +# CT_KERNEL_V_2_6_27_20 is not set
110.82 +# CT_KERNEL_V_2_6_27_21 is not set
110.83 # CT_KERNEL_V_2_6_28 is not set
110.84 +# CT_KERNEL_V_2_6_28_1 is not set
110.85 +# CT_KERNEL_V_2_6_28_2 is not set
110.86 +# CT_KERNEL_V_2_6_28_3 is not set
110.87 +# CT_KERNEL_V_2_6_28_4 is not set
110.88 +# CT_KERNEL_V_2_6_28_5 is not set
110.89 +# CT_KERNEL_V_2_6_28_6 is not set
110.90 +# CT_KERNEL_V_2_6_28_7 is not set
110.91 +# CT_KERNEL_V_2_6_28_8 is not set
110.92 +# CT_KERNEL_V_2_6_28_9 is not set
110.93 +CT_KERNEL_V_2_6_29=y
110.94 CT_KERNEL_LINUX_VERBOSITY_0=y
110.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
110.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
110.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
110.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
110.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
110.100
110.101 #
110.102 # GMP and MPFR
110.103 @@ -199,14 +219,16 @@
110.104 CT_GMP_VERSION="4.2.4"
110.105 CT_GMP_CHECK=y
110.106 # CT_MPFR_V_2_3_1 is not set
110.107 -CT_MPFR_V_2_3_2=y
110.108 -CT_MPFR_VERSION="2.3.2"
110.109 +# CT_MPFR_V_2_3_2 is not set
110.110 +# CT_MPFR_V_2_4_0 is not set
110.111 +CT_MPFR_V_2_4_1=y
110.112 +CT_MPFR_VERSION="2.4.1"
110.113 CT_MPFR_CHECK=y
110.114
110.115 #
110.116 # binutils
110.117 #
110.118 -CT_BINUTILS_VERSION="2.19"
110.119 +CT_BINUTILS_VERSION="2.19.1"
110.120 # CT_BINUTILS_V_2_14 is not set
110.121 # CT_BINUTILS_V_2_15 is not set
110.122 # CT_BINUTILS_V_2_16_1 is not set
110.123 @@ -221,8 +243,11 @@
110.124 # CT_BINUTILS_V_2_18_91 is not set
110.125 # CT_BINUTILS_V_2_18_92 is not set
110.126 # CT_BINUTILS_V_2_18_93 is not set
110.127 -CT_BINUTILS_V_2_19=y
110.128 +# CT_BINUTILS_V_2_19 is not set
110.129 +CT_BINUTILS_V_2_19_1=y
110.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
110.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
110.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
110.133 CT_BINUTILS_EXTRA_CONFIG=""
110.134 CT_BINUTILS_FOR_TARGET=y
110.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
110.136 @@ -253,7 +278,10 @@
110.137 # CT_CC_V_4_3_0 is not set
110.138 # CT_CC_V_4_3_1 is not set
110.139 CT_CC_V_4_3_2=y
110.140 +# CT_CC_V_4_3_3 is not set
110.141 +# CT_CC_V_4_4_0 is not set
110.142 CT_CC_GCC_4_3_or_later=y
110.143 +# CT_CC_GCC_4_4_snapshot is not set
110.144 CT_CC_CXA_ATEXIT=y
110.145 # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
110.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
110.147 @@ -281,7 +309,7 @@
110.148 #
110.149 # C-library
110.150 #
110.151 -CT_LIBC_VERSION="0.9.30"
110.152 +CT_LIBC_VERSION="0.9.30.1"
110.153 # CT_LIBC_eglibc is not set
110.154 # CT_LIBC_glibc is not set
110.155 CT_LIBC_uClibc=y
110.156 @@ -290,7 +318,8 @@
110.157 # CT_LIBC_V_0_9_28_2 is not set
110.158 # CT_LIBC_V_0_9_28_3 is not set
110.159 # CT_LIBC_V_0_9_29 is not set
110.160 -CT_LIBC_V_0_9_30=y
110.161 +# CT_LIBC_V_0_9_30 is not set
110.162 +CT_LIBC_V_0_9_30_1=y
110.163 # CT_LIBC_V_snapshot is not set
110.164 # CT_LIBC_V_specific_date is not set
110.165 # CT_LIBC_UCLIBC_PARALLEL is not set
110.166 @@ -301,6 +330,7 @@
110.167 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
110.168 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
110.169 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
110.170 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
110.171 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
110.172 # CT_LIBC_UCLIBC_LOCALES is not set
110.173
110.174 @@ -321,8 +351,8 @@
110.175 CT_LIBELF_V_0_8_10=y
110.176 CT_LIBELF_VERSION="0.8.10"
110.177 CT_TOOL_sstrip=y
110.178 +CT_SSTRIP_BUILDROOT=y
110.179 # CT_SSTRIP_ELFKICKERS is not set
110.180 -CT_SSTRIP_BUILDROOT=y
110.181 CT_SSTRIP_FROM="buildroot"
110.182
110.183 #
110.184 @@ -358,13 +388,15 @@
110.185 CT_GDB_VERSION="6.8"
110.186
110.187 #
110.188 -# Native gdb needs the ncurses library on the target
110.189 +# Native gdb needs a native ncurses library
110.190 #
110.191 -CT_NCURSES_V_5_6=y
110.192 -CT_NCURSES_VERSION="5.6"
110.193 +# CT_NCURSES_V_5_6 is not set
110.194 +CT_NCURSES_V_5_7=y
110.195 +CT_NCURSES_VERSION="5.7"
110.196 CT_DEBUG_ltrace=y
110.197 # CT_LTRACE_V_0_4 is not set
110.198 CT_LTRACE_V_0_5=y
110.199 +# CT_LTRACE_V_0_5_1 is not set
110.200 CT_LTRACE_VERSION="0.5"
110.201 CT_DEBUG_strace=y
110.202 # CT_STRACE_V_4_5 is not set
111.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
111.2 +++ b/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000
111.3 @@ -0,0 +1,253 @@
111.4 +#
111.5 +# Automatically generated make config: don't edit
111.6 +# Version: 0.9.30
111.7 +# Mon Nov 17 10:32:53 2008
111.8 +#
111.9 +# TARGET_alpha is not set
111.10 +TARGET_arm=y
111.11 +# TARGET_avr32 is not set
111.12 +# TARGET_bfin is not set
111.13 +# TARGET_cris is not set
111.14 +# TARGET_e1 is not set
111.15 +# TARGET_frv is not set
111.16 +# TARGET_h8300 is not set
111.17 +# TARGET_hppa is not set
111.18 +# TARGET_i386 is not set
111.19 +# TARGET_i960 is not set
111.20 +# TARGET_ia64 is not set
111.21 +# TARGET_m68k is not set
111.22 +# TARGET_microblaze is not set
111.23 +# TARGET_mips is not set
111.24 +# TARGET_nios is not set
111.25 +# TARGET_nios2 is not set
111.26 +# TARGET_powerpc is not set
111.27 +# TARGET_sh is not set
111.28 +# TARGET_sh64 is not set
111.29 +# TARGET_sparc is not set
111.30 +# TARGET_v850 is not set
111.31 +# TARGET_vax is not set
111.32 +# TARGET_x86_64 is not set
111.33 +# TARGET_xtensa is not set
111.34 +
111.35 +#
111.36 +# Target Architecture Features and Options
111.37 +#
111.38 +TARGET_ARCH="arm"
111.39 +FORCE_OPTIONS_FOR_ARCH=y
111.40 +CONFIG_ARM_OABI=y
111.41 +# CONFIG_ARM_EABI is not set
111.42 +CONFIG_GENERIC_ARM=y
111.43 +# CONFIG_ARM610 is not set
111.44 +# CONFIG_ARM710 is not set
111.45 +# CONFIG_ARM7TDMI is not set
111.46 +# CONFIG_ARM720T is not set
111.47 +# CONFIG_ARM920T is not set
111.48 +# CONFIG_ARM922T is not set
111.49 +# CONFIG_ARM926T is not set
111.50 +# CONFIG_ARM10T is not set
111.51 +# CONFIG_ARM1136JF_S is not set
111.52 +# CONFIG_ARM1176JZ_S is not set
111.53 +# CONFIG_ARM1176JZF_S is not set
111.54 +# CONFIG_ARM_CORTEX_M3 is not set
111.55 +# CONFIG_ARM_CORTEX_M1 is not set
111.56 +# CONFIG_ARM_SA110 is not set
111.57 +# CONFIG_ARM_SA1100 is not set
111.58 +# CONFIG_ARM_XSCALE is not set
111.59 +# CONFIG_ARM_IWMMXT is not set
111.60 +# CONFIG_MIPS_O32_ABI is not set
111.61 +# CONFIG_MIPS_N32_ABI is not set
111.62 +# CONFIG_MIPS_N64_ABI is not set
111.63 +# CONFIG_MIPS_ISA_1 is not set
111.64 +# CONFIG_MIPS_ISA_2 is not set
111.65 +# CONFIG_MIPS_ISA_3 is not set
111.66 +# CONFIG_MIPS_ISA_4 is not set
111.67 +# CONFIG_MIPS_ISA_MIPS32 is not set
111.68 +# CONFIG_MIPS_ISA_MIPS32R2 is not set
111.69 +# CONFIG_MIPS_ISA_MIPS64 is not set
111.70 +TARGET_SUBARCH=""
111.71 +
111.72 +#
111.73 +# Using ELF file format
111.74 +#
111.75 +ARCH_ANY_ENDIAN=y
111.76 +ARCH_BIG_ENDIAN=y
111.77 +ARCH_WANTS_BIG_ENDIAN=y
111.78 +# ARCH_WANTS_LITTLE_ENDIAN is not set
111.79 +ARCH_HAS_MMU=y
111.80 +ARCH_USE_MMU=y
111.81 +UCLIBC_HAS_FLOATS=y
111.82 +# UCLIBC_HAS_FPU is not set
111.83 +UCLIBC_HAS_SOFT_FLOAT=y
111.84 +DO_C99_MATH=y
111.85 +UCLIBC_HAS_FENV=y
111.86 +KERNEL_HEADERS="/usr/include"
111.87 +HAVE_DOT_CONFIG=y
111.88 +
111.89 +#
111.90 +# General Library Settings
111.91 +#
111.92 +# HAVE_NO_PIC is not set
111.93 +DOPIC=y
111.94 +# ARCH_HAS_NO_SHARED is not set
111.95 +# ARCH_HAS_NO_LDSO is not set
111.96 +HAVE_SHARED=y
111.97 +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
111.98 +LDSO_LDD_SUPPORT=y
111.99 +LDSO_CACHE_SUPPORT=y
111.100 +# LDSO_PRELOAD_FILE_SUPPORT is not set
111.101 +LDSO_BASE_FILENAME="ld.so"
111.102 +UCLIBC_STATIC_LDCONFIG=y
111.103 +# LDSO_RUNPATH is not set
111.104 +UCLIBC_CTOR_DTOR=y
111.105 +# LDSO_GNU_HASH_SUPPORT is not set
111.106 +# HAS_NO_THREADS is not set
111.107 +UCLIBC_HAS_THREADS=y
111.108 +# PTHREADS_DEBUG_SUPPORT is not set
111.109 +LINUXTHREADS_OLD=y
111.110 +UCLIBC_HAS_SYSLOG=y
111.111 +UCLIBC_HAS_LFS=y
111.112 +# MALLOC is not set
111.113 +# MALLOC_SIMPLE is not set
111.114 +MALLOC_STANDARD=y
111.115 +# MALLOC_GLIBC_COMPAT is not set
111.116 +UCLIBC_DYNAMIC_ATEXIT=y
111.117 +# COMPAT_ATEXIT is not set
111.118 +# UCLIBC_SUSV3_LEGACY is not set
111.119 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
111.120 +# UCLIBC_HAS_STUBS is not set
111.121 +UCLIBC_HAS_SHADOW=y
111.122 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
111.123 +UCLIBC_HAS_PTY=y
111.124 +ASSUME_DEVPTS=y
111.125 +UNIX98PTY_ONLY=y
111.126 +# UCLIBC_HAS_GETPT is not set
111.127 +UCLIBC_HAS_TM_EXTENSIONS=y
111.128 +UCLIBC_HAS_TZ_CACHING=y
111.129 +UCLIBC_HAS_TZ_FILE=y
111.130 +UCLIBC_HAS_TZ_FILE_READ_MANY=y
111.131 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
111.132 +
111.133 +#
111.134 +# Advanced Library Settings
111.135 +#
111.136 +UCLIBC_PWD_BUFFER_SIZE=256
111.137 +UCLIBC_GRP_BUFFER_SIZE=256
111.138 +
111.139 +#
111.140 +# Support various families of functions
111.141 +#
111.142 +UCLIBC_LINUX_MODULE_24=y
111.143 +UCLIBC_LINUX_SPECIFIC=y
111.144 +UCLIBC_HAS_GNU_ERROR=y
111.145 +# UCLIBC_BSD_SPECIFIC is not set
111.146 +UCLIBC_HAS_BSD_ERR=y
111.147 +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
111.148 +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
111.149 +# UCLIBC_NTP_LEGACY is not set
111.150 +# UCLIBC_SV4_DEPRECATED is not set
111.151 +UCLIBC_HAS_REALTIME=y
111.152 +UCLIBC_HAS_ADVANCED_REALTIME=y
111.153 +UCLIBC_HAS_EPOLL=y
111.154 +UCLIBC_HAS_XATTR=y
111.155 +UCLIBC_HAS_PROFILING=y
111.156 +UCLIBC_HAS_CRYPT_IMPL=y
111.157 +UCLIBC_HAS_CRYPT=y
111.158 +UCLIBC_HAS_NETWORK_SUPPORT=y
111.159 +UCLIBC_HAS_SOCKET=y
111.160 +UCLIBC_HAS_IPV4=y
111.161 +# UCLIBC_HAS_IPV6 is not set
111.162 +UCLIBC_HAS_RPC=y
111.163 +UCLIBC_HAS_FULL_RPC=y
111.164 +UCLIBC_HAS_REENTRANT_RPC=y
111.165 +UCLIBC_USE_NETLINK=y
111.166 +UCLIBC_SUPPORT_AI_ADDRCONFIG=y
111.167 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
111.168 +
111.169 +#
111.170 +# String and Stdio Support
111.171 +#
111.172 +UCLIBC_HAS_STRING_GENERIC_OPT=y
111.173 +UCLIBC_HAS_STRING_ARCH_OPT=y
111.174 +UCLIBC_HAS_CTYPE_TABLES=y
111.175 +UCLIBC_HAS_CTYPE_SIGNED=y
111.176 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
111.177 +# UCLIBC_HAS_CTYPE_CHECKED is not set
111.178 +UCLIBC_HAS_CTYPE_ENFORCED=y
111.179 +# UCLIBC_HAS_WCHAR is not set
111.180 +# UCLIBC_HAS_LOCALE is not set
111.181 +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
111.182 +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
111.183 +# USE_OLD_VFPRINTF is not set
111.184 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
111.185 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
111.186 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
111.187 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
111.188 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
111.189 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
111.190 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
111.191 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
111.192 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
111.193 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
111.194 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
111.195 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
111.196 +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
111.197 +UCLIBC_HAS_STDIO_GETC_MACRO=y
111.198 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
111.199 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
111.200 +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
111.201 +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
111.202 +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
111.203 +UCLIBC_HAS_PRINTF_M_SPEC=y
111.204 +UCLIBC_HAS_ERRNO_MESSAGES=y
111.205 +# UCLIBC_HAS_SYS_ERRLIST is not set
111.206 +UCLIBC_HAS_SIGNUM_MESSAGES=y
111.207 +# UCLIBC_HAS_SYS_SIGLIST is not set
111.208 +UCLIBC_HAS_GNU_GETOPT=y
111.209 +UCLIBC_HAS_GNU_GETSUBOPT=y
111.210 +
111.211 +#
111.212 +# Big and Tall
111.213 +#
111.214 +UCLIBC_HAS_REGEX=y
111.215 +UCLIBC_HAS_REGEX_OLD=y
111.216 +UCLIBC_HAS_FNMATCH=y
111.217 +UCLIBC_HAS_FNMATCH_OLD=y
111.218 +# UCLIBC_HAS_WORDEXP is not set
111.219 +# UCLIBC_HAS_FTW is not set
111.220 +UCLIBC_HAS_GLOB=y
111.221 +UCLIBC_HAS_GNU_GLOB=y
111.222 +
111.223 +#
111.224 +# Library Installation Options
111.225 +#
111.226 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
111.227 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
111.228 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
111.229 +
111.230 +#
111.231 +# Security options
111.232 +#
111.233 +# UCLIBC_BUILD_PIE is not set
111.234 +# UCLIBC_HAS_ARC4RANDOM is not set
111.235 +# HAVE_NO_SSP is not set
111.236 +# UCLIBC_HAS_SSP is not set
111.237 +UCLIBC_BUILD_RELRO=y
111.238 +# UCLIBC_BUILD_NOW is not set
111.239 +UCLIBC_BUILD_NOEXECSTACK=y
111.240 +
111.241 +#
111.242 +# uClibc development/debugging options
111.243 +#
111.244 +CROSS_COMPILER_PREFIX=""
111.245 +UCLIBC_EXTRA_CFLAGS=""
111.246 +# DODEBUG is not set
111.247 +# DODEBUG_PT is not set
111.248 +# DOSTRIP is not set
111.249 +# DOASSERTS is not set
111.250 +# SUPPORT_LD_DEBUG is not set
111.251 +# SUPPORT_LD_DEBUG_EARLY is not set
111.252 +# UCLIBC_MALLOC_DEBUGGING is not set
111.253 +WARNINGS="-Wall"
111.254 +# EXTRA_WARNINGS is not set
111.255 +# DOMULTI is not set
111.256 +# UCLIBC_MJN3_ONLY is not set
112.1 --- a/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000
112.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
112.3 @@ -1,253 +0,0 @@
112.4 -#
112.5 -# Automatically generated make config: don't edit
112.6 -# Version: 0.9.30
112.7 -# Mon Nov 17 10:32:53 2008
112.8 -#
112.9 -# TARGET_alpha is not set
112.10 -TARGET_arm=y
112.11 -# TARGET_avr32 is not set
112.12 -# TARGET_bfin is not set
112.13 -# TARGET_cris is not set
112.14 -# TARGET_e1 is not set
112.15 -# TARGET_frv is not set
112.16 -# TARGET_h8300 is not set
112.17 -# TARGET_hppa is not set
112.18 -# TARGET_i386 is not set
112.19 -# TARGET_i960 is not set
112.20 -# TARGET_ia64 is not set
112.21 -# TARGET_m68k is not set
112.22 -# TARGET_microblaze is not set
112.23 -# TARGET_mips is not set
112.24 -# TARGET_nios is not set
112.25 -# TARGET_nios2 is not set
112.26 -# TARGET_powerpc is not set
112.27 -# TARGET_sh is not set
112.28 -# TARGET_sh64 is not set
112.29 -# TARGET_sparc is not set
112.30 -# TARGET_v850 is not set
112.31 -# TARGET_vax is not set
112.32 -# TARGET_x86_64 is not set
112.33 -# TARGET_xtensa is not set
112.34 -
112.35 -#
112.36 -# Target Architecture Features and Options
112.37 -#
112.38 -TARGET_ARCH="arm"
112.39 -FORCE_OPTIONS_FOR_ARCH=y
112.40 -CONFIG_ARM_OABI=y
112.41 -# CONFIG_ARM_EABI is not set
112.42 -CONFIG_GENERIC_ARM=y
112.43 -# CONFIG_ARM610 is not set
112.44 -# CONFIG_ARM710 is not set
112.45 -# CONFIG_ARM7TDMI is not set
112.46 -# CONFIG_ARM720T is not set
112.47 -# CONFIG_ARM920T is not set
112.48 -# CONFIG_ARM922T is not set
112.49 -# CONFIG_ARM926T is not set
112.50 -# CONFIG_ARM10T is not set
112.51 -# CONFIG_ARM1136JF_S is not set
112.52 -# CONFIG_ARM1176JZ_S is not set
112.53 -# CONFIG_ARM1176JZF_S is not set
112.54 -# CONFIG_ARM_CORTEX_M3 is not set
112.55 -# CONFIG_ARM_CORTEX_M1 is not set
112.56 -# CONFIG_ARM_SA110 is not set
112.57 -# CONFIG_ARM_SA1100 is not set
112.58 -# CONFIG_ARM_XSCALE is not set
112.59 -# CONFIG_ARM_IWMMXT is not set
112.60 -# CONFIG_MIPS_O32_ABI is not set
112.61 -# CONFIG_MIPS_N32_ABI is not set
112.62 -# CONFIG_MIPS_N64_ABI is not set
112.63 -# CONFIG_MIPS_ISA_1 is not set
112.64 -# CONFIG_MIPS_ISA_2 is not set
112.65 -# CONFIG_MIPS_ISA_3 is not set
112.66 -# CONFIG_MIPS_ISA_4 is not set
112.67 -# CONFIG_MIPS_ISA_MIPS32 is not set
112.68 -# CONFIG_MIPS_ISA_MIPS32R2 is not set
112.69 -# CONFIG_MIPS_ISA_MIPS64 is not set
112.70 -TARGET_SUBARCH=""
112.71 -
112.72 -#
112.73 -# Using ELF file format
112.74 -#
112.75 -ARCH_ANY_ENDIAN=y
112.76 -ARCH_BIG_ENDIAN=y
112.77 -ARCH_WANTS_BIG_ENDIAN=y
112.78 -# ARCH_WANTS_LITTLE_ENDIAN is not set
112.79 -ARCH_HAS_MMU=y
112.80 -ARCH_USE_MMU=y
112.81 -UCLIBC_HAS_FLOATS=y
112.82 -# UCLIBC_HAS_FPU is not set
112.83 -UCLIBC_HAS_SOFT_FLOAT=y
112.84 -DO_C99_MATH=y
112.85 -UCLIBC_HAS_FENV=y
112.86 -KERNEL_HEADERS="/usr/include"
112.87 -HAVE_DOT_CONFIG=y
112.88 -
112.89 -#
112.90 -# General Library Settings
112.91 -#
112.92 -# HAVE_NO_PIC is not set
112.93 -DOPIC=y
112.94 -# ARCH_HAS_NO_SHARED is not set
112.95 -# ARCH_HAS_NO_LDSO is not set
112.96 -HAVE_SHARED=y
112.97 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
112.98 -LDSO_LDD_SUPPORT=y
112.99 -LDSO_CACHE_SUPPORT=y
112.100 -# LDSO_PRELOAD_FILE_SUPPORT is not set
112.101 -LDSO_BASE_FILENAME="ld.so"
112.102 -UCLIBC_STATIC_LDCONFIG=y
112.103 -# LDSO_RUNPATH is not set
112.104 -UCLIBC_CTOR_DTOR=y
112.105 -# LDSO_GNU_HASH_SUPPORT is not set
112.106 -# HAS_NO_THREADS is not set
112.107 -UCLIBC_HAS_THREADS=y
112.108 -# PTHREADS_DEBUG_SUPPORT is not set
112.109 -LINUXTHREADS_OLD=y
112.110 -UCLIBC_HAS_SYSLOG=y
112.111 -UCLIBC_HAS_LFS=y
112.112 -# MALLOC is not set
112.113 -# MALLOC_SIMPLE is not set
112.114 -MALLOC_STANDARD=y
112.115 -# MALLOC_GLIBC_COMPAT is not set
112.116 -UCLIBC_DYNAMIC_ATEXIT=y
112.117 -# COMPAT_ATEXIT is not set
112.118 -# UCLIBC_SUSV3_LEGACY is not set
112.119 -# UCLIBC_SUSV3_LEGACY_MACROS is not set
112.120 -# UCLIBC_HAS_STUBS is not set
112.121 -UCLIBC_HAS_SHADOW=y
112.122 -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
112.123 -UCLIBC_HAS_PTY=y
112.124 -ASSUME_DEVPTS=y
112.125 -UNIX98PTY_ONLY=y
112.126 -# UCLIBC_HAS_GETPT is not set
112.127 -UCLIBC_HAS_TM_EXTENSIONS=y
112.128 -UCLIBC_HAS_TZ_CACHING=y
112.129 -UCLIBC_HAS_TZ_FILE=y
112.130 -UCLIBC_HAS_TZ_FILE_READ_MANY=y
112.131 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
112.132 -
112.133 -#
112.134 -# Advanced Library Settings
112.135 -#
112.136 -UCLIBC_PWD_BUFFER_SIZE=256
112.137 -UCLIBC_GRP_BUFFER_SIZE=256
112.138 -
112.139 -#
112.140 -# Support various families of functions
112.141 -#
112.142 -UCLIBC_LINUX_MODULE_24=y
112.143 -UCLIBC_LINUX_SPECIFIC=y
112.144 -UCLIBC_HAS_GNU_ERROR=y
112.145 -# UCLIBC_BSD_SPECIFIC is not set
112.146 -UCLIBC_HAS_BSD_ERR=y
112.147 -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
112.148 -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
112.149 -# UCLIBC_NTP_LEGACY is not set
112.150 -# UCLIBC_SV4_DEPRECATED is not set
112.151 -UCLIBC_HAS_REALTIME=y
112.152 -UCLIBC_HAS_ADVANCED_REALTIME=y
112.153 -UCLIBC_HAS_EPOLL=y
112.154 -UCLIBC_HAS_XATTR=y
112.155 -UCLIBC_HAS_PROFILING=y
112.156 -UCLIBC_HAS_CRYPT_IMPL=y
112.157 -UCLIBC_HAS_CRYPT=y
112.158 -UCLIBC_HAS_NETWORK_SUPPORT=y
112.159 -UCLIBC_HAS_SOCKET=y
112.160 -UCLIBC_HAS_IPV4=y
112.161 -# UCLIBC_HAS_IPV6 is not set
112.162 -UCLIBC_HAS_RPC=y
112.163 -UCLIBC_HAS_FULL_RPC=y
112.164 -UCLIBC_HAS_REENTRANT_RPC=y
112.165 -UCLIBC_USE_NETLINK=y
112.166 -UCLIBC_SUPPORT_AI_ADDRCONFIG=y
112.167 -# UCLIBC_HAS_BSD_RES_CLOSE is not set
112.168 -
112.169 -#
112.170 -# String and Stdio Support
112.171 -#
112.172 -UCLIBC_HAS_STRING_GENERIC_OPT=y
112.173 -UCLIBC_HAS_STRING_ARCH_OPT=y
112.174 -UCLIBC_HAS_CTYPE_TABLES=y
112.175 -UCLIBC_HAS_CTYPE_SIGNED=y
112.176 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
112.177 -# UCLIBC_HAS_CTYPE_CHECKED is not set
112.178 -UCLIBC_HAS_CTYPE_ENFORCED=y
112.179 -# UCLIBC_HAS_WCHAR is not set
112.180 -# UCLIBC_HAS_LOCALE is not set
112.181 -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
112.182 -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
112.183 -# USE_OLD_VFPRINTF is not set
112.184 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
112.185 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
112.186 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
112.187 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
112.188 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
112.189 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
112.190 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
112.191 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
112.192 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
112.193 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
112.194 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
112.195 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
112.196 -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
112.197 -UCLIBC_HAS_STDIO_GETC_MACRO=y
112.198 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
112.199 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
112.200 -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
112.201 -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
112.202 -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
112.203 -UCLIBC_HAS_PRINTF_M_SPEC=y
112.204 -UCLIBC_HAS_ERRNO_MESSAGES=y
112.205 -# UCLIBC_HAS_SYS_ERRLIST is not set
112.206 -UCLIBC_HAS_SIGNUM_MESSAGES=y
112.207 -# UCLIBC_HAS_SYS_SIGLIST is not set
112.208 -UCLIBC_HAS_GNU_GETOPT=y
112.209 -UCLIBC_HAS_GNU_GETSUBOPT=y
112.210 -
112.211 -#
112.212 -# Big and Tall
112.213 -#
112.214 -UCLIBC_HAS_REGEX=y
112.215 -UCLIBC_HAS_REGEX_OLD=y
112.216 -UCLIBC_HAS_FNMATCH=y
112.217 -UCLIBC_HAS_FNMATCH_OLD=y
112.218 -# UCLIBC_HAS_WORDEXP is not set
112.219 -# UCLIBC_HAS_FTW is not set
112.220 -UCLIBC_HAS_GLOB=y
112.221 -UCLIBC_HAS_GNU_GLOB=y
112.222 -
112.223 -#
112.224 -# Library Installation Options
112.225 -#
112.226 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
112.227 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
112.228 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
112.229 -
112.230 -#
112.231 -# Security options
112.232 -#
112.233 -# UCLIBC_BUILD_PIE is not set
112.234 -# UCLIBC_HAS_ARC4RANDOM is not set
112.235 -# HAVE_NO_SSP is not set
112.236 -# UCLIBC_HAS_SSP is not set
112.237 -UCLIBC_BUILD_RELRO=y
112.238 -# UCLIBC_BUILD_NOW is not set
112.239 -UCLIBC_BUILD_NOEXECSTACK=y
112.240 -
112.241 -#
112.242 -# uClibc development/debugging options
112.243 -#
112.244 -CROSS_COMPILER_PREFIX=""
112.245 -UCLIBC_EXTRA_CFLAGS=""
112.246 -# DODEBUG is not set
112.247 -# DODEBUG_PT is not set
112.248 -# DOSTRIP is not set
112.249 -# DOASSERTS is not set
112.250 -# SUPPORT_LD_DEBUG is not set
112.251 -# SUPPORT_LD_DEBUG_EARLY is not set
112.252 -# UCLIBC_MALLOC_DEBUGGING is not set
112.253 -WARNINGS="-Wall"
112.254 -# EXTRA_WARNINGS is not set
112.255 -# DOMULTI is not set
112.256 -# UCLIBC_MJN3_ONLY is not set
113.1 --- a/samples/armeb-unknown-eabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000
113.2 +++ b/samples/armeb-unknown-eabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000
113.3 @@ -1,7 +1,7 @@
113.4 #
113.5 # Automatically generated make config: don't edit
113.6 -# crosstool-NG version: svn_trunk@1291M
113.7 -# Sun Jan 4 23:53:53 2009
113.8 +# crosstool-NG version: svn_trunk@1453
113.9 +# Sun Mar 29 12:27:22 2009
113.10 #
113.11
113.12 #
113.13 @@ -30,6 +30,7 @@
113.14 #
113.15 # Downloading
113.16 #
113.17 +# CT_FORBID_DOWNLOAD is not set
113.18 # CT_FORCE_DOWNLOAD is not set
113.19 # CT_USE_PROXY is not set
113.20 CT_PROXY_TYPE="none"
113.21 @@ -100,6 +101,7 @@
113.22 # CT_ARCH_ia64 is not set
113.23 # CT_ARCH_mips is not set
113.24 # CT_ARCH_powerpc is not set
113.25 +# CT_ARCH_powerpc64 is not set
113.26 # CT_ARCH_sh is not set
113.27 # CT_ARCH_x86 is not set
113.28 # CT_ARCH_x86_64 is not set
113.29 @@ -117,6 +119,11 @@
113.30 # General toolchain options
113.31 #
113.32 CT_USE_SYSROOT=y
113.33 +CT_SYSROOT_DIR_PREFIX=""
113.34 +
113.35 +#
113.36 +# Tuple completion and aliasing
113.37 +#
113.38 CT_TARGET_VENDOR="unknown"
113.39 CT_TARGET_ALIAS_SED_EXPR=""
113.40 CT_TARGET_ALIAS=""
113.41 @@ -154,14 +161,16 @@
113.42 CT_GMP_VERSION="4.2.4"
113.43 CT_GMP_CHECK=y
113.44 # CT_MPFR_V_2_3_1 is not set
113.45 -CT_MPFR_V_2_3_2=y
113.46 -CT_MPFR_VERSION="2.3.2"
113.47 +# CT_MPFR_V_2_3_2 is not set
113.48 +# CT_MPFR_V_2_4_0 is not set
113.49 +CT_MPFR_V_2_4_1=y
113.50 +CT_MPFR_VERSION="2.4.1"
113.51 CT_MPFR_CHECK=y
113.52
113.53 #
113.54 # binutils
113.55 #
113.56 -CT_BINUTILS_VERSION="2.19"
113.57 +CT_BINUTILS_VERSION="2.19.1"
113.58 # CT_BINUTILS_V_2_14 is not set
113.59 # CT_BINUTILS_V_2_15 is not set
113.60 # CT_BINUTILS_V_2_16_1 is not set
113.61 @@ -176,8 +185,11 @@
113.62 # CT_BINUTILS_V_2_18_91 is not set
113.63 # CT_BINUTILS_V_2_18_92 is not set
113.64 # CT_BINUTILS_V_2_18_93 is not set
113.65 -CT_BINUTILS_V_2_19=y
113.66 +# CT_BINUTILS_V_2_19 is not set
113.67 +CT_BINUTILS_V_2_19_1=y
113.68 # CT_BINUTILS_V_2_19_50_0_1 is not set
113.69 +# CT_BINUTILS_V_2_19_51_0_1 is not set
113.70 +# CT_BINUTILS_V_2_19_51_0_2 is not set
113.71 CT_BINUTILS_EXTRA_CONFIG=""
113.72
113.73 #
113.74 @@ -205,7 +217,10 @@
113.75 # CT_CC_V_4_3_0 is not set
113.76 # CT_CC_V_4_3_1 is not set
113.77 CT_CC_V_4_3_2=y
113.78 +# CT_CC_V_4_3_3 is not set
113.79 +# CT_CC_V_4_4_0 is not set
113.80 CT_CC_GCC_4_3_or_later=y
113.81 +# CT_CC_GCC_4_4_snapshot is not set
113.82 CT_CC_CORE_EXTRA_CONFIG=""
113.83 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
113.84 CT_CC_BUGURL=""
113.85 @@ -219,10 +234,27 @@
113.86 #
113.87 # Additional supported languages:
113.88 #
113.89 -# CT_CC_LANG_CXX is not set
113.90 +CT_CC_LANG_CXX=y
113.91 CT_LIBC="none"
113.92
113.93 #
113.94 +# C-library
113.95 +#
113.96 +# CT_LIBC_eglibc is not set
113.97 +# CT_LIBC_glibc is not set
113.98 +# CT_LIBC_uClibc is not set
113.99 +
113.100 +#
113.101 +# Common C library options
113.102 +#
113.103 +# CT_LIBC_SUPPORT_NPTL is not set
113.104 +# CT_LIBC_SUPPORT_LINUXTHREADS is not set
113.105 +CT_THREADS="none"
113.106 +# CT_THREADS_NPTL is not set
113.107 +# CT_THREADS_LINUXTHREADS is not set
113.108 +CT_THREADS_NONE=y
113.109 +
113.110 +#
113.111 # Tools facilities
113.112 #
113.113 # CT_TOOL_libelf is not set
113.114 @@ -236,6 +268,14 @@
113.115 CT_DEBUG_gdb=y
113.116 CT_GDB_CROSS=y
113.117 # CT_GDB_CROSS_STATIC is not set
113.118 +
113.119 +#
113.120 +# In bare-metal, you'll need to
113.121 +#
113.122 +
113.123 +#
113.124 +# provide your own gdbserver stub.
113.125 +#
113.126 # CT_GDB_V_6_4 is not set
113.127 # CT_GDB_V_6_5 is not set
113.128 # CT_GDB_V_6_6 is not set
114.1 --- a/samples/armeb-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
114.2 +++ b/samples/armeb-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
114.3 @@ -1,7 +1,7 @@
114.4 #
114.5 # Automatically generated make config: don't edit
114.6 -# crosstool-NG version: svn_trunk@1297M
114.7 -# Tue Jan 6 23:17:21 2009
114.8 +# crosstool-NG version: svn_trunk@1453
114.9 +# Sun Mar 29 12:03:44 2009
114.10 #
114.11
114.12 #
114.13 @@ -30,6 +30,7 @@
114.14 #
114.15 # Downloading
114.16 #
114.17 +# CT_FORBID_DOWNLOAD is not set
114.18 # CT_FORCE_DOWNLOAD is not set
114.19 # CT_USE_PROXY is not set
114.20 CT_PROXY_TYPE="none"
114.21 @@ -107,6 +108,7 @@
114.22 # CT_ARCH_ia64 is not set
114.23 # CT_ARCH_mips is not set
114.24 # CT_ARCH_powerpc is not set
114.25 +# CT_ARCH_powerpc64 is not set
114.26 # CT_ARCH_sh is not set
114.27 # CT_ARCH_x86 is not set
114.28 # CT_ARCH_x86_64 is not set
114.29 @@ -125,7 +127,12 @@
114.30 # General toolchain options
114.31 #
114.32 CT_USE_SYSROOT=y
114.33 +CT_SYSROOT_DIR_PREFIX=""
114.34 CT_SHARED_LIBS=y
114.35 +
114.36 +#
114.37 +# Tuple completion and aliasing
114.38 +#
114.39 CT_TARGET_VENDOR="unknown"
114.40 CT_TARGET_ALIAS_SED_EXPR=""
114.41 CT_TARGET_ALIAS=""
114.42 @@ -151,7 +158,7 @@
114.43 #
114.44 # CT_BARE_METAL is not set
114.45 CT_KERNEL="linux"
114.46 -CT_KERNEL_VERSION="2.6.26.8"
114.47 +CT_KERNEL_VERSION="2.6.29"
114.48 # CT_KERNEL_bare_metal is not set
114.49 CT_KERNEL_linux=y
114.50 CT_KERNEL_LINUX_INSTALL=y
114.51 @@ -164,15 +171,7 @@
114.52 # CT_KERNEL_V_2_6_23_17 is not set
114.53 # CT_KERNEL_V_2_6_24_7 is not set
114.54 # CT_KERNEL_V_2_6_25_20 is not set
114.55 -# CT_KERNEL_V_2_6_26 is not set
114.56 -# CT_KERNEL_V_2_6_26_1 is not set
114.57 -# CT_KERNEL_V_2_6_26_2 is not set
114.58 -# CT_KERNEL_V_2_6_26_3 is not set
114.59 -# CT_KERNEL_V_2_6_26_4 is not set
114.60 -# CT_KERNEL_V_2_6_26_5 is not set
114.61 -# CT_KERNEL_V_2_6_26_6 is not set
114.62 -# CT_KERNEL_V_2_6_26_7 is not set
114.63 -CT_KERNEL_V_2_6_26_8=y
114.64 +# CT_KERNEL_V_2_6_26_8 is not set
114.65 # CT_KERNEL_V_2_6_27 is not set
114.66 # CT_KERNEL_V_2_6_27_1 is not set
114.67 # CT_KERNEL_V_2_6_27_2 is not set
114.68 @@ -184,12 +183,33 @@
114.69 # CT_KERNEL_V_2_6_27_8 is not set
114.70 # CT_KERNEL_V_2_6_27_9 is not set
114.71 # CT_KERNEL_V_2_6_27_10 is not set
114.72 +# CT_KERNEL_V_2_6_27_11 is not set
114.73 +# CT_KERNEL_V_2_6_27_12 is not set
114.74 +# CT_KERNEL_V_2_6_27_13 is not set
114.75 +# CT_KERNEL_V_2_6_27_14 is not set
114.76 +# CT_KERNEL_V_2_6_27_15 is not set
114.77 +# CT_KERNEL_V_2_6_27_16 is not set
114.78 +# CT_KERNEL_V_2_6_27_17 is not set
114.79 +# CT_KERNEL_V_2_6_27_18 is not set
114.80 +# CT_KERNEL_V_2_6_27_19 is not set
114.81 +# CT_KERNEL_V_2_6_27_20 is not set
114.82 +# CT_KERNEL_V_2_6_27_21 is not set
114.83 # CT_KERNEL_V_2_6_28 is not set
114.84 +# CT_KERNEL_V_2_6_28_1 is not set
114.85 +# CT_KERNEL_V_2_6_28_2 is not set
114.86 +# CT_KERNEL_V_2_6_28_3 is not set
114.87 +# CT_KERNEL_V_2_6_28_4 is not set
114.88 +# CT_KERNEL_V_2_6_28_5 is not set
114.89 +# CT_KERNEL_V_2_6_28_6 is not set
114.90 +# CT_KERNEL_V_2_6_28_7 is not set
114.91 +# CT_KERNEL_V_2_6_28_8 is not set
114.92 +# CT_KERNEL_V_2_6_28_9 is not set
114.93 +CT_KERNEL_V_2_6_29=y
114.94 CT_KERNEL_LINUX_VERBOSITY_0=y
114.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
114.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
114.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
114.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
114.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
114.100
114.101 #
114.102 # GMP and MPFR
114.103 @@ -201,14 +221,16 @@
114.104 CT_GMP_VERSION="4.2.4"
114.105 CT_GMP_CHECK=y
114.106 # CT_MPFR_V_2_3_1 is not set
114.107 -CT_MPFR_V_2_3_2=y
114.108 -CT_MPFR_VERSION="2.3.2"
114.109 +# CT_MPFR_V_2_3_2 is not set
114.110 +# CT_MPFR_V_2_4_0 is not set
114.111 +CT_MPFR_V_2_4_1=y
114.112 +CT_MPFR_VERSION="2.4.1"
114.113 CT_MPFR_CHECK=y
114.114
114.115 #
114.116 # binutils
114.117 #
114.118 -CT_BINUTILS_VERSION="2.19"
114.119 +CT_BINUTILS_VERSION="2.19.1"
114.120 # CT_BINUTILS_V_2_14 is not set
114.121 # CT_BINUTILS_V_2_15 is not set
114.122 # CT_BINUTILS_V_2_16_1 is not set
114.123 @@ -223,8 +245,11 @@
114.124 # CT_BINUTILS_V_2_18_91 is not set
114.125 # CT_BINUTILS_V_2_18_92 is not set
114.126 # CT_BINUTILS_V_2_18_93 is not set
114.127 -CT_BINUTILS_V_2_19=y
114.128 +# CT_BINUTILS_V_2_19 is not set
114.129 +CT_BINUTILS_V_2_19_1=y
114.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
114.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
114.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
114.133 CT_BINUTILS_EXTRA_CONFIG=""
114.134 CT_BINUTILS_FOR_TARGET=y
114.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
114.136 @@ -255,7 +280,10 @@
114.137 # CT_CC_V_4_3_0 is not set
114.138 # CT_CC_V_4_3_1 is not set
114.139 CT_CC_V_4_3_2=y
114.140 +# CT_CC_V_4_3_3 is not set
114.141 +# CT_CC_V_4_4_0 is not set
114.142 CT_CC_GCC_4_3_or_later=y
114.143 +# CT_CC_GCC_4_4_snapshot is not set
114.144 CT_CC_CXA_ATEXIT=y
114.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
114.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
114.147 @@ -283,7 +311,7 @@
114.148 #
114.149 # C-library
114.150 #
114.151 -CT_LIBC_VERSION="2.7"
114.152 +CT_LIBC_VERSION="2.9"
114.153 # CT_LIBC_eglibc is not set
114.154 CT_LIBC_glibc=y
114.155 # CT_LIBC_uClibc is not set
114.156 @@ -292,12 +320,28 @@
114.157 # CT_LIBC_V_2_5_1 is not set
114.158 # CT_LIBC_V_2_6 is not set
114.159 # CT_LIBC_V_2_6_1 is not set
114.160 -CT_LIBC_V_2_7=y
114.161 +# CT_LIBC_V_2_7 is not set
114.162 # CT_LIBC_V_2_8 is not set
114.163 -# CT_LIBC_V_2_9 is not set
114.164 +CT_LIBC_V_2_9=y
114.165 # CT_LIBC_V_LATEST is not set
114.166 # CT_LIBC_V_date is not set
114.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
114.168 +# CT_LIBC_GLIBC_TARBALL is not set
114.169 +CT_LIBC_GLIBC_CVS=y
114.170 +CT_LIBC_GLIBC_CVS_date="2009-03-29"
114.171 +
114.172 +#
114.173 +# glibc/eglibc common options
114.174 +#
114.175 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
114.176 +CT_LIBC_GLIBC_CONFIGPARMS=""
114.177 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
114.178 +CT_LIBC_EXTRA_CC_ARGS=""
114.179 +CT_LIBC_GLIBC_USE_PORTS=y
114.180 +CT_LIBC_ADDONS_LIST=""
114.181 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
114.182 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
114.183 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
114.184 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
114.185
114.186 #
114.187 # Common C library options
114.188 @@ -310,27 +354,14 @@
114.189 # CT_THREADS_NONE is not set
114.190
114.191 #
114.192 -# glibc/eglibc common options
114.193 -#
114.194 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
114.195 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
114.196 -CT_LIBC_EXTRA_CC_ARGS=""
114.197 -CT_LIBC_GLIBC_USE_PORTS=y
114.198 -CT_LIBC_ADDONS_LIST=""
114.199 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
114.200 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
114.201 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
114.202 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
114.203 -
114.204 -#
114.205 # Tools facilities
114.206 #
114.207 CT_TOOL_libelf=y
114.208 CT_LIBELF_V_0_8_10=y
114.209 CT_LIBELF_VERSION="0.8.10"
114.210 CT_TOOL_sstrip=y
114.211 +CT_SSTRIP_BUILDROOT=y
114.212 # CT_SSTRIP_ELFKICKERS is not set
114.213 -CT_SSTRIP_BUILDROOT=y
114.214 CT_SSTRIP_FROM="buildroot"
114.215
114.216 #
114.217 @@ -366,13 +397,15 @@
114.218 CT_GDB_VERSION="6.8"
114.219
114.220 #
114.221 -# Native gdb needs the ncurses library on the target
114.222 +# Native gdb needs a native ncurses library
114.223 #
114.224 -CT_NCURSES_V_5_6=y
114.225 -CT_NCURSES_VERSION="5.6"
114.226 +# CT_NCURSES_V_5_6 is not set
114.227 +CT_NCURSES_V_5_7=y
114.228 +CT_NCURSES_VERSION="5.7"
114.229 CT_DEBUG_ltrace=y
114.230 # CT_LTRACE_V_0_4 is not set
114.231 CT_LTRACE_V_0_5=y
114.232 +# CT_LTRACE_V_0_5_1 is not set
114.233 CT_LTRACE_VERSION="0.5"
114.234 CT_DEBUG_strace=y
114.235 # CT_STRACE_V_4_5 is not set
115.1 --- a/samples/armeb-unknown-linux-gnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000
115.2 +++ b/samples/armeb-unknown-linux-gnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000
115.3 @@ -1,7 +1,7 @@
115.4 #
115.5 # Automatically generated make config: don't edit
115.6 -# crosstool-NG version: svn_trunk@1297M
115.7 -# Tue Jan 6 23:17:27 2009
115.8 +# crosstool-NG version: svn_trunk@1453
115.9 +# Sun Mar 29 12:06:40 2009
115.10 #
115.11
115.12 #
115.13 @@ -30,6 +30,7 @@
115.14 #
115.15 # Downloading
115.16 #
115.17 +# CT_FORBID_DOWNLOAD is not set
115.18 # CT_FORCE_DOWNLOAD is not set
115.19 # CT_USE_PROXY is not set
115.20 CT_PROXY_TYPE="none"
115.21 @@ -106,6 +107,7 @@
115.22 # CT_ARCH_ia64 is not set
115.23 # CT_ARCH_mips is not set
115.24 # CT_ARCH_powerpc is not set
115.25 +# CT_ARCH_powerpc64 is not set
115.26 # CT_ARCH_sh is not set
115.27 # CT_ARCH_x86 is not set
115.28 # CT_ARCH_x86_64 is not set
115.29 @@ -123,7 +125,12 @@
115.30 # General toolchain options
115.31 #
115.32 CT_USE_SYSROOT=y
115.33 +CT_SYSROOT_DIR_PREFIX=""
115.34 CT_SHARED_LIBS=y
115.35 +
115.36 +#
115.37 +# Tuple completion and aliasing
115.38 +#
115.39 CT_TARGET_VENDOR="unknown"
115.40 CT_TARGET_ALIAS_SED_EXPR=""
115.41 CT_TARGET_ALIAS=""
115.42 @@ -149,7 +156,7 @@
115.43 #
115.44 # CT_BARE_METAL is not set
115.45 CT_KERNEL="linux"
115.46 -CT_KERNEL_VERSION="2.6.26.8"
115.47 +CT_KERNEL_VERSION="2.6.29"
115.48 # CT_KERNEL_bare_metal is not set
115.49 CT_KERNEL_linux=y
115.50 CT_KERNEL_LINUX_INSTALL=y
115.51 @@ -162,15 +169,7 @@
115.52 # CT_KERNEL_V_2_6_23_17 is not set
115.53 # CT_KERNEL_V_2_6_24_7 is not set
115.54 # CT_KERNEL_V_2_6_25_20 is not set
115.55 -# CT_KERNEL_V_2_6_26 is not set
115.56 -# CT_KERNEL_V_2_6_26_1 is not set
115.57 -# CT_KERNEL_V_2_6_26_2 is not set
115.58 -# CT_KERNEL_V_2_6_26_3 is not set
115.59 -# CT_KERNEL_V_2_6_26_4 is not set
115.60 -# CT_KERNEL_V_2_6_26_5 is not set
115.61 -# CT_KERNEL_V_2_6_26_6 is not set
115.62 -# CT_KERNEL_V_2_6_26_7 is not set
115.63 -CT_KERNEL_V_2_6_26_8=y
115.64 +# CT_KERNEL_V_2_6_26_8 is not set
115.65 # CT_KERNEL_V_2_6_27 is not set
115.66 # CT_KERNEL_V_2_6_27_1 is not set
115.67 # CT_KERNEL_V_2_6_27_2 is not set
115.68 @@ -182,12 +181,33 @@
115.69 # CT_KERNEL_V_2_6_27_8 is not set
115.70 # CT_KERNEL_V_2_6_27_9 is not set
115.71 # CT_KERNEL_V_2_6_27_10 is not set
115.72 +# CT_KERNEL_V_2_6_27_11 is not set
115.73 +# CT_KERNEL_V_2_6_27_12 is not set
115.74 +# CT_KERNEL_V_2_6_27_13 is not set
115.75 +# CT_KERNEL_V_2_6_27_14 is not set
115.76 +# CT_KERNEL_V_2_6_27_15 is not set
115.77 +# CT_KERNEL_V_2_6_27_16 is not set
115.78 +# CT_KERNEL_V_2_6_27_17 is not set
115.79 +# CT_KERNEL_V_2_6_27_18 is not set
115.80 +# CT_KERNEL_V_2_6_27_19 is not set
115.81 +# CT_KERNEL_V_2_6_27_20 is not set
115.82 +# CT_KERNEL_V_2_6_27_21 is not set
115.83 # CT_KERNEL_V_2_6_28 is not set
115.84 +# CT_KERNEL_V_2_6_28_1 is not set
115.85 +# CT_KERNEL_V_2_6_28_2 is not set
115.86 +# CT_KERNEL_V_2_6_28_3 is not set
115.87 +# CT_KERNEL_V_2_6_28_4 is not set
115.88 +# CT_KERNEL_V_2_6_28_5 is not set
115.89 +# CT_KERNEL_V_2_6_28_6 is not set
115.90 +# CT_KERNEL_V_2_6_28_7 is not set
115.91 +# CT_KERNEL_V_2_6_28_8 is not set
115.92 +# CT_KERNEL_V_2_6_28_9 is not set
115.93 +CT_KERNEL_V_2_6_29=y
115.94 CT_KERNEL_LINUX_VERBOSITY_0=y
115.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
115.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
115.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
115.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
115.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
115.100
115.101 #
115.102 # GMP and MPFR
115.103 @@ -199,14 +219,16 @@
115.104 CT_GMP_VERSION="4.2.4"
115.105 CT_GMP_CHECK=y
115.106 # CT_MPFR_V_2_3_1 is not set
115.107 -CT_MPFR_V_2_3_2=y
115.108 -CT_MPFR_VERSION="2.3.2"
115.109 +# CT_MPFR_V_2_3_2 is not set
115.110 +# CT_MPFR_V_2_4_0 is not set
115.111 +CT_MPFR_V_2_4_1=y
115.112 +CT_MPFR_VERSION="2.4.1"
115.113 CT_MPFR_CHECK=y
115.114
115.115 #
115.116 # binutils
115.117 #
115.118 -CT_BINUTILS_VERSION="2.19"
115.119 +CT_BINUTILS_VERSION="2.19.1"
115.120 # CT_BINUTILS_V_2_14 is not set
115.121 # CT_BINUTILS_V_2_15 is not set
115.122 # CT_BINUTILS_V_2_16_1 is not set
115.123 @@ -221,8 +243,11 @@
115.124 # CT_BINUTILS_V_2_18_91 is not set
115.125 # CT_BINUTILS_V_2_18_92 is not set
115.126 # CT_BINUTILS_V_2_18_93 is not set
115.127 -CT_BINUTILS_V_2_19=y
115.128 +# CT_BINUTILS_V_2_19 is not set
115.129 +CT_BINUTILS_V_2_19_1=y
115.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
115.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
115.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
115.133 CT_BINUTILS_EXTRA_CONFIG=""
115.134 CT_BINUTILS_FOR_TARGET=y
115.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
115.136 @@ -253,7 +278,10 @@
115.137 # CT_CC_V_4_3_0 is not set
115.138 # CT_CC_V_4_3_1 is not set
115.139 CT_CC_V_4_3_2=y
115.140 +# CT_CC_V_4_3_3 is not set
115.141 +# CT_CC_V_4_4_0 is not set
115.142 CT_CC_GCC_4_3_or_later=y
115.143 +# CT_CC_GCC_4_4_snapshot is not set
115.144 CT_CC_CXA_ATEXIT=y
115.145 # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
115.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
115.147 @@ -281,7 +309,7 @@
115.148 #
115.149 # C-library
115.150 #
115.151 -CT_LIBC_VERSION="2.7"
115.152 +CT_LIBC_VERSION="2.9"
115.153 # CT_LIBC_eglibc is not set
115.154 CT_LIBC_glibc=y
115.155 # CT_LIBC_uClibc is not set
115.156 @@ -290,12 +318,28 @@
115.157 # CT_LIBC_V_2_5_1 is not set
115.158 # CT_LIBC_V_2_6 is not set
115.159 # CT_LIBC_V_2_6_1 is not set
115.160 -CT_LIBC_V_2_7=y
115.161 +# CT_LIBC_V_2_7 is not set
115.162 # CT_LIBC_V_2_8 is not set
115.163 -# CT_LIBC_V_2_9 is not set
115.164 +CT_LIBC_V_2_9=y
115.165 # CT_LIBC_V_LATEST is not set
115.166 # CT_LIBC_V_date is not set
115.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
115.168 +# CT_LIBC_GLIBC_TARBALL is not set
115.169 +CT_LIBC_GLIBC_CVS=y
115.170 +CT_LIBC_GLIBC_CVS_date="2009-03-29"
115.171 +
115.172 +#
115.173 +# glibc/eglibc common options
115.174 +#
115.175 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
115.176 +CT_LIBC_GLIBC_CONFIGPARMS=""
115.177 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
115.178 +CT_LIBC_EXTRA_CC_ARGS=""
115.179 +CT_LIBC_GLIBC_USE_PORTS=y
115.180 +CT_LIBC_ADDONS_LIST=""
115.181 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
115.182 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
115.183 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
115.184 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
115.185
115.186 #
115.187 # Common C library options
115.188 @@ -308,27 +352,14 @@
115.189 # CT_THREADS_NONE is not set
115.190
115.191 #
115.192 -# glibc/eglibc common options
115.193 -#
115.194 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
115.195 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
115.196 -CT_LIBC_EXTRA_CC_ARGS=""
115.197 -CT_LIBC_GLIBC_USE_PORTS=y
115.198 -CT_LIBC_ADDONS_LIST=""
115.199 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
115.200 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
115.201 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
115.202 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
115.203 -
115.204 -#
115.205 # Tools facilities
115.206 #
115.207 CT_TOOL_libelf=y
115.208 CT_LIBELF_V_0_8_10=y
115.209 CT_LIBELF_VERSION="0.8.10"
115.210 CT_TOOL_sstrip=y
115.211 +CT_SSTRIP_BUILDROOT=y
115.212 # CT_SSTRIP_ELFKICKERS is not set
115.213 -CT_SSTRIP_BUILDROOT=y
115.214 CT_SSTRIP_FROM="buildroot"
115.215
115.216 #
115.217 @@ -364,13 +395,15 @@
115.218 CT_GDB_VERSION="6.8"
115.219
115.220 #
115.221 -# Native gdb needs the ncurses library on the target
115.222 +# Native gdb needs a native ncurses library
115.223 #
115.224 -CT_NCURSES_V_5_6=y
115.225 -CT_NCURSES_VERSION="5.6"
115.226 +# CT_NCURSES_V_5_6 is not set
115.227 +CT_NCURSES_V_5_7=y
115.228 +CT_NCURSES_VERSION="5.7"
115.229 CT_DEBUG_ltrace=y
115.230 # CT_LTRACE_V_0_4 is not set
115.231 CT_LTRACE_V_0_5=y
115.232 +# CT_LTRACE_V_0_5_1 is not set
115.233 CT_LTRACE_VERSION="0.5"
115.234 CT_DEBUG_strace=y
115.235 # CT_STRACE_V_4_5 is not set
116.1 --- a/samples/armeb-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000
116.2 +++ b/samples/armeb-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000
116.3 @@ -1,7 +1,7 @@
116.4 #
116.5 # Automatically generated make config: don't edit
116.6 -# crosstool-NG version: svn_trunk@1291M
116.7 -# Sun Jan 4 23:54:20 2009
116.8 +# crosstool-NG version: svn_trunk@1453
116.9 +# Sun Mar 29 12:08:21 2009
116.10 #
116.11
116.12 #
116.13 @@ -30,6 +30,7 @@
116.14 #
116.15 # Downloading
116.16 #
116.17 +# CT_FORBID_DOWNLOAD is not set
116.18 # CT_FORCE_DOWNLOAD is not set
116.19 # CT_USE_PROXY is not set
116.20 CT_PROXY_TYPE="none"
116.21 @@ -107,6 +108,7 @@
116.22 # CT_ARCH_ia64 is not set
116.23 # CT_ARCH_mips is not set
116.24 # CT_ARCH_powerpc is not set
116.25 +# CT_ARCH_powerpc64 is not set
116.26 # CT_ARCH_sh is not set
116.27 # CT_ARCH_x86 is not set
116.28 # CT_ARCH_x86_64 is not set
116.29 @@ -125,7 +127,12 @@
116.30 # General toolchain options
116.31 #
116.32 CT_USE_SYSROOT=y
116.33 +CT_SYSROOT_DIR_PREFIX=""
116.34 CT_SHARED_LIBS=y
116.35 +
116.36 +#
116.37 +# Tuple completion and aliasing
116.38 +#
116.39 CT_TARGET_VENDOR="unknown"
116.40 CT_TARGET_ALIAS_SED_EXPR=""
116.41 CT_TARGET_ALIAS=""
116.42 @@ -151,7 +158,7 @@
116.43 #
116.44 # CT_BARE_METAL is not set
116.45 CT_KERNEL="linux"
116.46 -CT_KERNEL_VERSION="2.6.26.8"
116.47 +CT_KERNEL_VERSION="2.6.29"
116.48 # CT_KERNEL_bare_metal is not set
116.49 CT_KERNEL_linux=y
116.50 CT_KERNEL_LINUX_INSTALL=y
116.51 @@ -164,15 +171,7 @@
116.52 # CT_KERNEL_V_2_6_23_17 is not set
116.53 # CT_KERNEL_V_2_6_24_7 is not set
116.54 # CT_KERNEL_V_2_6_25_20 is not set
116.55 -# CT_KERNEL_V_2_6_26 is not set
116.56 -# CT_KERNEL_V_2_6_26_1 is not set
116.57 -# CT_KERNEL_V_2_6_26_2 is not set
116.58 -# CT_KERNEL_V_2_6_26_3 is not set
116.59 -# CT_KERNEL_V_2_6_26_4 is not set
116.60 -# CT_KERNEL_V_2_6_26_5 is not set
116.61 -# CT_KERNEL_V_2_6_26_6 is not set
116.62 -# CT_KERNEL_V_2_6_26_7 is not set
116.63 -CT_KERNEL_V_2_6_26_8=y
116.64 +# CT_KERNEL_V_2_6_26_8 is not set
116.65 # CT_KERNEL_V_2_6_27 is not set
116.66 # CT_KERNEL_V_2_6_27_1 is not set
116.67 # CT_KERNEL_V_2_6_27_2 is not set
116.68 @@ -184,12 +183,33 @@
116.69 # CT_KERNEL_V_2_6_27_8 is not set
116.70 # CT_KERNEL_V_2_6_27_9 is not set
116.71 # CT_KERNEL_V_2_6_27_10 is not set
116.72 +# CT_KERNEL_V_2_6_27_11 is not set
116.73 +# CT_KERNEL_V_2_6_27_12 is not set
116.74 +# CT_KERNEL_V_2_6_27_13 is not set
116.75 +# CT_KERNEL_V_2_6_27_14 is not set
116.76 +# CT_KERNEL_V_2_6_27_15 is not set
116.77 +# CT_KERNEL_V_2_6_27_16 is not set
116.78 +# CT_KERNEL_V_2_6_27_17 is not set
116.79 +# CT_KERNEL_V_2_6_27_18 is not set
116.80 +# CT_KERNEL_V_2_6_27_19 is not set
116.81 +# CT_KERNEL_V_2_6_27_20 is not set
116.82 +# CT_KERNEL_V_2_6_27_21 is not set
116.83 # CT_KERNEL_V_2_6_28 is not set
116.84 +# CT_KERNEL_V_2_6_28_1 is not set
116.85 +# CT_KERNEL_V_2_6_28_2 is not set
116.86 +# CT_KERNEL_V_2_6_28_3 is not set
116.87 +# CT_KERNEL_V_2_6_28_4 is not set
116.88 +# CT_KERNEL_V_2_6_28_5 is not set
116.89 +# CT_KERNEL_V_2_6_28_6 is not set
116.90 +# CT_KERNEL_V_2_6_28_7 is not set
116.91 +# CT_KERNEL_V_2_6_28_8 is not set
116.92 +# CT_KERNEL_V_2_6_28_9 is not set
116.93 +CT_KERNEL_V_2_6_29=y
116.94 CT_KERNEL_LINUX_VERBOSITY_0=y
116.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
116.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
116.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
116.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
116.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
116.100
116.101 #
116.102 # GMP and MPFR
116.103 @@ -201,14 +221,16 @@
116.104 CT_GMP_VERSION="4.2.4"
116.105 CT_GMP_CHECK=y
116.106 # CT_MPFR_V_2_3_1 is not set
116.107 -CT_MPFR_V_2_3_2=y
116.108 -CT_MPFR_VERSION="2.3.2"
116.109 +# CT_MPFR_V_2_3_2 is not set
116.110 +# CT_MPFR_V_2_4_0 is not set
116.111 +CT_MPFR_V_2_4_1=y
116.112 +CT_MPFR_VERSION="2.4.1"
116.113 CT_MPFR_CHECK=y
116.114
116.115 #
116.116 # binutils
116.117 #
116.118 -CT_BINUTILS_VERSION="2.19"
116.119 +CT_BINUTILS_VERSION="2.19.1"
116.120 # CT_BINUTILS_V_2_14 is not set
116.121 # CT_BINUTILS_V_2_15 is not set
116.122 # CT_BINUTILS_V_2_16_1 is not set
116.123 @@ -223,8 +245,11 @@
116.124 # CT_BINUTILS_V_2_18_91 is not set
116.125 # CT_BINUTILS_V_2_18_92 is not set
116.126 # CT_BINUTILS_V_2_18_93 is not set
116.127 -CT_BINUTILS_V_2_19=y
116.128 +# CT_BINUTILS_V_2_19 is not set
116.129 +CT_BINUTILS_V_2_19_1=y
116.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
116.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
116.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
116.133 CT_BINUTILS_EXTRA_CONFIG=""
116.134 CT_BINUTILS_FOR_TARGET=y
116.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
116.136 @@ -255,7 +280,10 @@
116.137 # CT_CC_V_4_3_0 is not set
116.138 # CT_CC_V_4_3_1 is not set
116.139 CT_CC_V_4_3_2=y
116.140 +# CT_CC_V_4_3_3 is not set
116.141 +# CT_CC_V_4_4_0 is not set
116.142 CT_CC_GCC_4_3_or_later=y
116.143 +# CT_CC_GCC_4_4_snapshot is not set
116.144 CT_CC_CXA_ATEXIT=y
116.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
116.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
116.147 @@ -282,7 +310,7 @@
116.148 #
116.149 # C-library
116.150 #
116.151 -CT_LIBC_VERSION="0.9.30"
116.152 +CT_LIBC_VERSION="0.9.30.1"
116.153 # CT_LIBC_eglibc is not set
116.154 # CT_LIBC_glibc is not set
116.155 CT_LIBC_uClibc=y
116.156 @@ -291,7 +319,8 @@
116.157 # CT_LIBC_V_0_9_28_2 is not set
116.158 # CT_LIBC_V_0_9_28_3 is not set
116.159 # CT_LIBC_V_0_9_29 is not set
116.160 -CT_LIBC_V_0_9_30=y
116.161 +# CT_LIBC_V_0_9_30 is not set
116.162 +CT_LIBC_V_0_9_30_1=y
116.163 # CT_LIBC_V_snapshot is not set
116.164 # CT_LIBC_V_specific_date is not set
116.165 # CT_LIBC_UCLIBC_PARALLEL is not set
116.166 @@ -302,6 +331,7 @@
116.167 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
116.168 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
116.169 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
116.170 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
116.171 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
116.172 # CT_LIBC_UCLIBC_LOCALES is not set
116.173
116.174 @@ -322,8 +352,8 @@
116.175 CT_LIBELF_V_0_8_10=y
116.176 CT_LIBELF_VERSION="0.8.10"
116.177 CT_TOOL_sstrip=y
116.178 +CT_SSTRIP_BUILDROOT=y
116.179 # CT_SSTRIP_ELFKICKERS is not set
116.180 -CT_SSTRIP_BUILDROOT=y
116.181 CT_SSTRIP_FROM="buildroot"
116.182
116.183 #
116.184 @@ -359,13 +389,15 @@
116.185 CT_GDB_VERSION="6.8"
116.186
116.187 #
116.188 -# Native gdb needs the ncurses library on the target
116.189 +# Native gdb needs a native ncurses library
116.190 #
116.191 -CT_NCURSES_V_5_6=y
116.192 -CT_NCURSES_VERSION="5.6"
116.193 +# CT_NCURSES_V_5_6 is not set
116.194 +CT_NCURSES_V_5_7=y
116.195 +CT_NCURSES_VERSION="5.7"
116.196 CT_DEBUG_ltrace=y
116.197 # CT_LTRACE_V_0_4 is not set
116.198 CT_LTRACE_V_0_5=y
116.199 +# CT_LTRACE_V_0_5_1 is not set
116.200 CT_LTRACE_VERSION="0.5"
116.201 CT_DEBUG_strace=y
116.202 # CT_STRACE_V_4_5 is not set
117.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
117.2 +++ b/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000
117.3 @@ -0,0 +1,243 @@
117.4 +#
117.5 +# Automatically generated make config: don't edit
117.6 +# Version: 0.9.30
117.7 +# Fri Nov 14 08:58:56 2008
117.8 +#
117.9 +# TARGET_alpha is not set
117.10 +TARGET_arm=y
117.11 +# TARGET_avr32 is not set
117.12 +# TARGET_bfin is not set
117.13 +# TARGET_cris is not set
117.14 +# TARGET_e1 is not set
117.15 +# TARGET_frv is not set
117.16 +# TARGET_h8300 is not set
117.17 +# TARGET_hppa is not set
117.18 +# TARGET_i386 is not set
117.19 +# TARGET_i960 is not set
117.20 +# TARGET_ia64 is not set
117.21 +# TARGET_m68k is not set
117.22 +# TARGET_microblaze is not set
117.23 +# TARGET_mips is not set
117.24 +# TARGET_nios is not set
117.25 +# TARGET_nios2 is not set
117.26 +# TARGET_powerpc is not set
117.27 +# TARGET_sh is not set
117.28 +# TARGET_sh64 is not set
117.29 +# TARGET_sparc is not set
117.30 +# TARGET_v850 is not set
117.31 +# TARGET_vax is not set
117.32 +# TARGET_x86_64 is not set
117.33 +# TARGET_xtensa is not set
117.34 +
117.35 +#
117.36 +# Target Architecture Features and Options
117.37 +#
117.38 +TARGET_ARCH="arm"
117.39 +FORCE_OPTIONS_FOR_ARCH=y
117.40 +CONFIG_ARM_OABI=y
117.41 +# CONFIG_ARM_EABI is not set
117.42 +CONFIG_GENERIC_ARM=y
117.43 +# CONFIG_ARM610 is not set
117.44 +# CONFIG_ARM710 is not set
117.45 +# CONFIG_ARM7TDMI is not set
117.46 +# CONFIG_ARM720T is not set
117.47 +# CONFIG_ARM920T is not set
117.48 +# CONFIG_ARM922T is not set
117.49 +# CONFIG_ARM926T is not set
117.50 +# CONFIG_ARM10T is not set
117.51 +# CONFIG_ARM1136JF_S is not set
117.52 +# CONFIG_ARM1176JZ_S is not set
117.53 +# CONFIG_ARM1176JZF_S is not set
117.54 +# CONFIG_ARM_CORTEX_M3 is not set
117.55 +# CONFIG_ARM_CORTEX_M1 is not set
117.56 +# CONFIG_ARM_SA110 is not set
117.57 +# CONFIG_ARM_SA1100 is not set
117.58 +# CONFIG_ARM_XSCALE is not set
117.59 +# CONFIG_ARM_IWMMXT is not set
117.60 +TARGET_SUBARCH=""
117.61 +
117.62 +#
117.63 +# Using ELF file format
117.64 +#
117.65 +ARCH_ANY_ENDIAN=y
117.66 +ARCH_BIG_ENDIAN=y
117.67 +ARCH_WANTS_BIG_ENDIAN=y
117.68 +# ARCH_WANTS_LITTLE_ENDIAN is not set
117.69 +ARCH_HAS_MMU=y
117.70 +ARCH_USE_MMU=y
117.71 +UCLIBC_HAS_FLOATS=y
117.72 +# UCLIBC_HAS_FPU is not set
117.73 +UCLIBC_HAS_SOFT_FLOAT=y
117.74 +DO_C99_MATH=y
117.75 +UCLIBC_HAS_FENV=y
117.76 +KERNEL_HEADERS="/usr/include"
117.77 +HAVE_DOT_CONFIG=y
117.78 +
117.79 +#
117.80 +# General Library Settings
117.81 +#
117.82 +# HAVE_NO_PIC is not set
117.83 +DOPIC=y
117.84 +# ARCH_HAS_NO_SHARED is not set
117.85 +# ARCH_HAS_NO_LDSO is not set
117.86 +HAVE_SHARED=y
117.87 +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
117.88 +LDSO_LDD_SUPPORT=y
117.89 +LDSO_CACHE_SUPPORT=y
117.90 +# LDSO_PRELOAD_FILE_SUPPORT is not set
117.91 +LDSO_BASE_FILENAME="ld.so"
117.92 +UCLIBC_STATIC_LDCONFIG=y
117.93 +# LDSO_RUNPATH is not set
117.94 +UCLIBC_CTOR_DTOR=y
117.95 +# LDSO_GNU_HASH_SUPPORT is not set
117.96 +# HAS_NO_THREADS is not set
117.97 +UCLIBC_HAS_THREADS=y
117.98 +# PTHREADS_DEBUG_SUPPORT is not set
117.99 +LINUXTHREADS_OLD=y
117.100 +UCLIBC_HAS_SYSLOG=y
117.101 +UCLIBC_HAS_LFS=y
117.102 +# MALLOC is not set
117.103 +# MALLOC_SIMPLE is not set
117.104 +MALLOC_STANDARD=y
117.105 +# MALLOC_GLIBC_COMPAT is not set
117.106 +UCLIBC_DYNAMIC_ATEXIT=y
117.107 +# COMPAT_ATEXIT is not set
117.108 +# UCLIBC_SUSV3_LEGACY is not set
117.109 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
117.110 +# UCLIBC_HAS_STUBS is not set
117.111 +UCLIBC_HAS_SHADOW=y
117.112 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
117.113 +UCLIBC_HAS_PTY=y
117.114 +ASSUME_DEVPTS=y
117.115 +UNIX98PTY_ONLY=y
117.116 +# UCLIBC_HAS_GETPT is not set
117.117 +UCLIBC_HAS_TM_EXTENSIONS=y
117.118 +UCLIBC_HAS_TZ_CACHING=y
117.119 +UCLIBC_HAS_TZ_FILE=y
117.120 +UCLIBC_HAS_TZ_FILE_READ_MANY=y
117.121 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
117.122 +
117.123 +#
117.124 +# Advanced Library Settings
117.125 +#
117.126 +UCLIBC_PWD_BUFFER_SIZE=256
117.127 +UCLIBC_GRP_BUFFER_SIZE=256
117.128 +
117.129 +#
117.130 +# Support various families of functions
117.131 +#
117.132 +UCLIBC_LINUX_MODULE_24=y
117.133 +UCLIBC_LINUX_SPECIFIC=y
117.134 +UCLIBC_HAS_GNU_ERROR=y
117.135 +# UCLIBC_BSD_SPECIFIC is not set
117.136 +UCLIBC_HAS_BSD_ERR=y
117.137 +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
117.138 +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
117.139 +# UCLIBC_NTP_LEGACY is not set
117.140 +# UCLIBC_SV4_DEPRECATED is not set
117.141 +UCLIBC_HAS_REALTIME=y
117.142 +UCLIBC_HAS_ADVANCED_REALTIME=y
117.143 +UCLIBC_HAS_EPOLL=y
117.144 +UCLIBC_HAS_XATTR=y
117.145 +UCLIBC_HAS_PROFILING=y
117.146 +UCLIBC_HAS_CRYPT_IMPL=y
117.147 +UCLIBC_HAS_CRYPT=y
117.148 +UCLIBC_HAS_NETWORK_SUPPORT=y
117.149 +UCLIBC_HAS_SOCKET=y
117.150 +UCLIBC_HAS_IPV4=y
117.151 +# UCLIBC_HAS_IPV6 is not set
117.152 +UCLIBC_HAS_RPC=y
117.153 +UCLIBC_HAS_FULL_RPC=y
117.154 +UCLIBC_HAS_REENTRANT_RPC=y
117.155 +UCLIBC_USE_NETLINK=y
117.156 +UCLIBC_SUPPORT_AI_ADDRCONFIG=y
117.157 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
117.158 +
117.159 +#
117.160 +# String and Stdio Support
117.161 +#
117.162 +UCLIBC_HAS_STRING_GENERIC_OPT=y
117.163 +UCLIBC_HAS_STRING_ARCH_OPT=y
117.164 +UCLIBC_HAS_CTYPE_TABLES=y
117.165 +UCLIBC_HAS_CTYPE_SIGNED=y
117.166 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
117.167 +# UCLIBC_HAS_CTYPE_CHECKED is not set
117.168 +UCLIBC_HAS_CTYPE_ENFORCED=y
117.169 +# UCLIBC_HAS_WCHAR is not set
117.170 +# UCLIBC_HAS_LOCALE is not set
117.171 +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
117.172 +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
117.173 +# USE_OLD_VFPRINTF is not set
117.174 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
117.175 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
117.176 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
117.177 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
117.178 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
117.179 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
117.180 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
117.181 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
117.182 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
117.183 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
117.184 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
117.185 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
117.186 +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
117.187 +UCLIBC_HAS_STDIO_GETC_MACRO=y
117.188 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
117.189 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
117.190 +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
117.191 +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
117.192 +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
117.193 +UCLIBC_HAS_PRINTF_M_SPEC=y
117.194 +UCLIBC_HAS_ERRNO_MESSAGES=y
117.195 +# UCLIBC_HAS_SYS_ERRLIST is not set
117.196 +UCLIBC_HAS_SIGNUM_MESSAGES=y
117.197 +# UCLIBC_HAS_SYS_SIGLIST is not set
117.198 +UCLIBC_HAS_GNU_GETOPT=y
117.199 +UCLIBC_HAS_GNU_GETSUBOPT=y
117.200 +
117.201 +#
117.202 +# Big and Tall
117.203 +#
117.204 +UCLIBC_HAS_REGEX=y
117.205 +UCLIBC_HAS_REGEX_OLD=y
117.206 +UCLIBC_HAS_FNMATCH=y
117.207 +UCLIBC_HAS_FNMATCH_OLD=y
117.208 +# UCLIBC_HAS_WORDEXP is not set
117.209 +# UCLIBC_HAS_FTW is not set
117.210 +UCLIBC_HAS_GLOB=y
117.211 +UCLIBC_HAS_GNU_GLOB=y
117.212 +
117.213 +#
117.214 +# Library Installation Options
117.215 +#
117.216 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
117.217 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
117.218 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
117.219 +
117.220 +#
117.221 +# Security options
117.222 +#
117.223 +# UCLIBC_BUILD_PIE is not set
117.224 +# UCLIBC_HAS_ARC4RANDOM is not set
117.225 +# HAVE_NO_SSP is not set
117.226 +# UCLIBC_HAS_SSP is not set
117.227 +UCLIBC_BUILD_RELRO=y
117.228 +# UCLIBC_BUILD_NOW is not set
117.229 +UCLIBC_BUILD_NOEXECSTACK=y
117.230 +
117.231 +#
117.232 +# uClibc development/debugging options
117.233 +#
117.234 +CROSS_COMPILER_PREFIX=""
117.235 +UCLIBC_EXTRA_CFLAGS=""
117.236 +# DODEBUG is not set
117.237 +# DODEBUG_PT is not set
117.238 +# DOSTRIP is not set
117.239 +# DOASSERTS is not set
117.240 +# SUPPORT_LD_DEBUG is not set
117.241 +# SUPPORT_LD_DEBUG_EARLY is not set
117.242 +# UCLIBC_MALLOC_DEBUGGING is not set
117.243 +WARNINGS="-Wall"
117.244 +# EXTRA_WARNINGS is not set
117.245 +# DOMULTI is not set
117.246 +# UCLIBC_MJN3_ONLY is not set
118.1 --- a/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000
118.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
118.3 @@ -1,243 +0,0 @@
118.4 -#
118.5 -# Automatically generated make config: don't edit
118.6 -# Version: 0.9.30
118.7 -# Fri Nov 14 08:58:56 2008
118.8 -#
118.9 -# TARGET_alpha is not set
118.10 -TARGET_arm=y
118.11 -# TARGET_avr32 is not set
118.12 -# TARGET_bfin is not set
118.13 -# TARGET_cris is not set
118.14 -# TARGET_e1 is not set
118.15 -# TARGET_frv is not set
118.16 -# TARGET_h8300 is not set
118.17 -# TARGET_hppa is not set
118.18 -# TARGET_i386 is not set
118.19 -# TARGET_i960 is not set
118.20 -# TARGET_ia64 is not set
118.21 -# TARGET_m68k is not set
118.22 -# TARGET_microblaze is not set
118.23 -# TARGET_mips is not set
118.24 -# TARGET_nios is not set
118.25 -# TARGET_nios2 is not set
118.26 -# TARGET_powerpc is not set
118.27 -# TARGET_sh is not set
118.28 -# TARGET_sh64 is not set
118.29 -# TARGET_sparc is not set
118.30 -# TARGET_v850 is not set
118.31 -# TARGET_vax is not set
118.32 -# TARGET_x86_64 is not set
118.33 -# TARGET_xtensa is not set
118.34 -
118.35 -#
118.36 -# Target Architecture Features and Options
118.37 -#
118.38 -TARGET_ARCH="arm"
118.39 -FORCE_OPTIONS_FOR_ARCH=y
118.40 -CONFIG_ARM_OABI=y
118.41 -# CONFIG_ARM_EABI is not set
118.42 -CONFIG_GENERIC_ARM=y
118.43 -# CONFIG_ARM610 is not set
118.44 -# CONFIG_ARM710 is not set
118.45 -# CONFIG_ARM7TDMI is not set
118.46 -# CONFIG_ARM720T is not set
118.47 -# CONFIG_ARM920T is not set
118.48 -# CONFIG_ARM922T is not set
118.49 -# CONFIG_ARM926T is not set
118.50 -# CONFIG_ARM10T is not set
118.51 -# CONFIG_ARM1136JF_S is not set
118.52 -# CONFIG_ARM1176JZ_S is not set
118.53 -# CONFIG_ARM1176JZF_S is not set
118.54 -# CONFIG_ARM_CORTEX_M3 is not set
118.55 -# CONFIG_ARM_CORTEX_M1 is not set
118.56 -# CONFIG_ARM_SA110 is not set
118.57 -# CONFIG_ARM_SA1100 is not set
118.58 -# CONFIG_ARM_XSCALE is not set
118.59 -# CONFIG_ARM_IWMMXT is not set
118.60 -TARGET_SUBARCH=""
118.61 -
118.62 -#
118.63 -# Using ELF file format
118.64 -#
118.65 -ARCH_ANY_ENDIAN=y
118.66 -ARCH_BIG_ENDIAN=y
118.67 -ARCH_WANTS_BIG_ENDIAN=y
118.68 -# ARCH_WANTS_LITTLE_ENDIAN is not set
118.69 -ARCH_HAS_MMU=y
118.70 -ARCH_USE_MMU=y
118.71 -UCLIBC_HAS_FLOATS=y
118.72 -# UCLIBC_HAS_FPU is not set
118.73 -UCLIBC_HAS_SOFT_FLOAT=y
118.74 -DO_C99_MATH=y
118.75 -UCLIBC_HAS_FENV=y
118.76 -KERNEL_HEADERS="/usr/include"
118.77 -HAVE_DOT_CONFIG=y
118.78 -
118.79 -#
118.80 -# General Library Settings
118.81 -#
118.82 -# HAVE_NO_PIC is not set
118.83 -DOPIC=y
118.84 -# ARCH_HAS_NO_SHARED is not set
118.85 -# ARCH_HAS_NO_LDSO is not set
118.86 -HAVE_SHARED=y
118.87 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
118.88 -LDSO_LDD_SUPPORT=y
118.89 -LDSO_CACHE_SUPPORT=y
118.90 -# LDSO_PRELOAD_FILE_SUPPORT is not set
118.91 -LDSO_BASE_FILENAME="ld.so"
118.92 -UCLIBC_STATIC_LDCONFIG=y
118.93 -# LDSO_RUNPATH is not set
118.94 -UCLIBC_CTOR_DTOR=y
118.95 -# LDSO_GNU_HASH_SUPPORT is not set
118.96 -# HAS_NO_THREADS is not set
118.97 -UCLIBC_HAS_THREADS=y
118.98 -# PTHREADS_DEBUG_SUPPORT is not set
118.99 -LINUXTHREADS_OLD=y
118.100 -UCLIBC_HAS_SYSLOG=y
118.101 -UCLIBC_HAS_LFS=y
118.102 -# MALLOC is not set
118.103 -# MALLOC_SIMPLE is not set
118.104 -MALLOC_STANDARD=y
118.105 -# MALLOC_GLIBC_COMPAT is not set
118.106 -UCLIBC_DYNAMIC_ATEXIT=y
118.107 -# COMPAT_ATEXIT is not set
118.108 -# UCLIBC_SUSV3_LEGACY is not set
118.109 -# UCLIBC_SUSV3_LEGACY_MACROS is not set
118.110 -# UCLIBC_HAS_STUBS is not set
118.111 -UCLIBC_HAS_SHADOW=y
118.112 -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
118.113 -UCLIBC_HAS_PTY=y
118.114 -ASSUME_DEVPTS=y
118.115 -UNIX98PTY_ONLY=y
118.116 -# UCLIBC_HAS_GETPT is not set
118.117 -UCLIBC_HAS_TM_EXTENSIONS=y
118.118 -UCLIBC_HAS_TZ_CACHING=y
118.119 -UCLIBC_HAS_TZ_FILE=y
118.120 -UCLIBC_HAS_TZ_FILE_READ_MANY=y
118.121 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
118.122 -
118.123 -#
118.124 -# Advanced Library Settings
118.125 -#
118.126 -UCLIBC_PWD_BUFFER_SIZE=256
118.127 -UCLIBC_GRP_BUFFER_SIZE=256
118.128 -
118.129 -#
118.130 -# Support various families of functions
118.131 -#
118.132 -UCLIBC_LINUX_MODULE_24=y
118.133 -UCLIBC_LINUX_SPECIFIC=y
118.134 -UCLIBC_HAS_GNU_ERROR=y
118.135 -# UCLIBC_BSD_SPECIFIC is not set
118.136 -UCLIBC_HAS_BSD_ERR=y
118.137 -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
118.138 -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
118.139 -# UCLIBC_NTP_LEGACY is not set
118.140 -# UCLIBC_SV4_DEPRECATED is not set
118.141 -UCLIBC_HAS_REALTIME=y
118.142 -UCLIBC_HAS_ADVANCED_REALTIME=y
118.143 -UCLIBC_HAS_EPOLL=y
118.144 -UCLIBC_HAS_XATTR=y
118.145 -UCLIBC_HAS_PROFILING=y
118.146 -UCLIBC_HAS_CRYPT_IMPL=y
118.147 -UCLIBC_HAS_CRYPT=y
118.148 -UCLIBC_HAS_NETWORK_SUPPORT=y
118.149 -UCLIBC_HAS_SOCKET=y
118.150 -UCLIBC_HAS_IPV4=y
118.151 -# UCLIBC_HAS_IPV6 is not set
118.152 -UCLIBC_HAS_RPC=y
118.153 -UCLIBC_HAS_FULL_RPC=y
118.154 -UCLIBC_HAS_REENTRANT_RPC=y
118.155 -UCLIBC_USE_NETLINK=y
118.156 -UCLIBC_SUPPORT_AI_ADDRCONFIG=y
118.157 -# UCLIBC_HAS_BSD_RES_CLOSE is not set
118.158 -
118.159 -#
118.160 -# String and Stdio Support
118.161 -#
118.162 -UCLIBC_HAS_STRING_GENERIC_OPT=y
118.163 -UCLIBC_HAS_STRING_ARCH_OPT=y
118.164 -UCLIBC_HAS_CTYPE_TABLES=y
118.165 -UCLIBC_HAS_CTYPE_SIGNED=y
118.166 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
118.167 -# UCLIBC_HAS_CTYPE_CHECKED is not set
118.168 -UCLIBC_HAS_CTYPE_ENFORCED=y
118.169 -# UCLIBC_HAS_WCHAR is not set
118.170 -# UCLIBC_HAS_LOCALE is not set
118.171 -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
118.172 -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
118.173 -# USE_OLD_VFPRINTF is not set
118.174 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
118.175 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
118.176 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
118.177 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
118.178 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
118.179 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
118.180 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
118.181 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
118.182 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
118.183 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
118.184 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
118.185 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
118.186 -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
118.187 -UCLIBC_HAS_STDIO_GETC_MACRO=y
118.188 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
118.189 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
118.190 -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
118.191 -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
118.192 -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
118.193 -UCLIBC_HAS_PRINTF_M_SPEC=y
118.194 -UCLIBC_HAS_ERRNO_MESSAGES=y
118.195 -# UCLIBC_HAS_SYS_ERRLIST is not set
118.196 -UCLIBC_HAS_SIGNUM_MESSAGES=y
118.197 -# UCLIBC_HAS_SYS_SIGLIST is not set
118.198 -UCLIBC_HAS_GNU_GETOPT=y
118.199 -UCLIBC_HAS_GNU_GETSUBOPT=y
118.200 -
118.201 -#
118.202 -# Big and Tall
118.203 -#
118.204 -UCLIBC_HAS_REGEX=y
118.205 -UCLIBC_HAS_REGEX_OLD=y
118.206 -UCLIBC_HAS_FNMATCH=y
118.207 -UCLIBC_HAS_FNMATCH_OLD=y
118.208 -# UCLIBC_HAS_WORDEXP is not set
118.209 -# UCLIBC_HAS_FTW is not set
118.210 -UCLIBC_HAS_GLOB=y
118.211 -UCLIBC_HAS_GNU_GLOB=y
118.212 -
118.213 -#
118.214 -# Library Installation Options
118.215 -#
118.216 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
118.217 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
118.218 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
118.219 -
118.220 -#
118.221 -# Security options
118.222 -#
118.223 -# UCLIBC_BUILD_PIE is not set
118.224 -# UCLIBC_HAS_ARC4RANDOM is not set
118.225 -# HAVE_NO_SSP is not set
118.226 -# UCLIBC_HAS_SSP is not set
118.227 -UCLIBC_BUILD_RELRO=y
118.228 -# UCLIBC_BUILD_NOW is not set
118.229 -UCLIBC_BUILD_NOEXECSTACK=y
118.230 -
118.231 -#
118.232 -# uClibc development/debugging options
118.233 -#
118.234 -CROSS_COMPILER_PREFIX=""
118.235 -UCLIBC_EXTRA_CFLAGS=""
118.236 -# DODEBUG is not set
118.237 -# DODEBUG_PT is not set
118.238 -# DOSTRIP is not set
118.239 -# DOASSERTS is not set
118.240 -# SUPPORT_LD_DEBUG is not set
118.241 -# SUPPORT_LD_DEBUG_EARLY is not set
118.242 -# UCLIBC_MALLOC_DEBUGGING is not set
118.243 -WARNINGS="-Wall"
118.244 -# EXTRA_WARNINGS is not set
118.245 -# DOMULTI is not set
118.246 -# UCLIBC_MJN3_ONLY is not set
119.1 --- a/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config Sat Apr 11 19:03:02 2009 +0000
119.2 +++ b/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config Sun Apr 19 16:17:11 2009 +0000
119.3 @@ -1,7 +1,7 @@
119.4 #
119.5 # Automatically generated make config: don't edit
119.6 -# crosstool-NG version: svn_trunk@1417M
119.7 -# Sun Mar 8 18:47:50 2009
119.8 +# crosstool-NG version: svn_trunk@1453
119.9 +# Sun Mar 29 12:10:07 2009
119.10 #
119.11
119.12 #
119.13 @@ -125,6 +125,7 @@
119.14 # General toolchain options
119.15 #
119.16 CT_USE_SYSROOT=y
119.17 +CT_SYSROOT_DIR_PREFIX=""
119.18 CT_SHARED_LIBS=y
119.19
119.20 #
119.21 @@ -155,7 +156,7 @@
119.22 #
119.23 # CT_BARE_METAL is not set
119.24 CT_KERNEL="linux"
119.25 -CT_KERNEL_VERSION="2.6.28.7"
119.26 +CT_KERNEL_VERSION="2.6.29"
119.27 # CT_KERNEL_bare_metal is not set
119.28 CT_KERNEL_linux=y
119.29 CT_KERNEL_LINUX_INSTALL=y
119.30 @@ -168,14 +169,6 @@
119.31 # CT_KERNEL_V_2_6_23_17 is not set
119.32 # CT_KERNEL_V_2_6_24_7 is not set
119.33 # CT_KERNEL_V_2_6_25_20 is not set
119.34 -# CT_KERNEL_V_2_6_26 is not set
119.35 -# CT_KERNEL_V_2_6_26_1 is not set
119.36 -# CT_KERNEL_V_2_6_26_2 is not set
119.37 -# CT_KERNEL_V_2_6_26_3 is not set
119.38 -# CT_KERNEL_V_2_6_26_4 is not set
119.39 -# CT_KERNEL_V_2_6_26_5 is not set
119.40 -# CT_KERNEL_V_2_6_26_6 is not set
119.41 -# CT_KERNEL_V_2_6_26_7 is not set
119.42 # CT_KERNEL_V_2_6_26_8 is not set
119.43 # CT_KERNEL_V_2_6_27 is not set
119.44 # CT_KERNEL_V_2_6_27_1 is not set
119.45 @@ -197,6 +190,8 @@
119.46 # CT_KERNEL_V_2_6_27_17 is not set
119.47 # CT_KERNEL_V_2_6_27_18 is not set
119.48 # CT_KERNEL_V_2_6_27_19 is not set
119.49 +# CT_KERNEL_V_2_6_27_20 is not set
119.50 +# CT_KERNEL_V_2_6_27_21 is not set
119.51 # CT_KERNEL_V_2_6_28 is not set
119.52 # CT_KERNEL_V_2_6_28_1 is not set
119.53 # CT_KERNEL_V_2_6_28_2 is not set
119.54 @@ -204,7 +199,10 @@
119.55 # CT_KERNEL_V_2_6_28_4 is not set
119.56 # CT_KERNEL_V_2_6_28_5 is not set
119.57 # CT_KERNEL_V_2_6_28_6 is not set
119.58 -CT_KERNEL_V_2_6_28_7=y
119.59 +# CT_KERNEL_V_2_6_28_7 is not set
119.60 +# CT_KERNEL_V_2_6_28_8 is not set
119.61 +# CT_KERNEL_V_2_6_28_9 is not set
119.62 +CT_KERNEL_V_2_6_29=y
119.63 CT_KERNEL_LINUX_VERBOSITY_0=y
119.64 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
119.65 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
119.66 @@ -281,7 +279,9 @@
119.67 # CT_CC_V_4_3_1 is not set
119.68 CT_CC_V_4_3_2=y
119.69 # CT_CC_V_4_3_3 is not set
119.70 +# CT_CC_V_4_4_0 is not set
119.71 CT_CC_GCC_4_3_or_later=y
119.72 +# CT_CC_GCC_4_4_snapshot is not set
119.73 CT_CC_CXA_ATEXIT=y
119.74 # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
119.75 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
119.76 @@ -388,7 +388,7 @@
119.77 CT_GDB_VERSION="6.8"
119.78
119.79 #
119.80 -# Native gdb needs the ncurses library on the target
119.81 +# Native gdb needs a native ncurses library
119.82 #
119.83 # CT_NCURSES_V_5_6 is not set
119.84 CT_NCURSES_V_5_7=y
120.1 --- a/samples/i586-geode-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000
120.2 +++ b/samples/i586-geode-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000
120.3 @@ -1,7 +1,7 @@
120.4 #
120.5 # Automatically generated make config: don't edit
120.6 -# crosstool-NG version: svn_trunk@1297M
120.7 -# Tue Jan 6 23:17:32 2009
120.8 +# crosstool-NG version: svn_trunk@1453
120.9 +# Sun Mar 29 12:10:58 2009
120.10 #
120.11
120.12 #
120.13 @@ -30,6 +30,7 @@
120.14 #
120.15 # Downloading
120.16 #
120.17 +# CT_FORBID_DOWNLOAD is not set
120.18 # CT_FORCE_DOWNLOAD is not set
120.19 # CT_USE_PROXY is not set
120.20 CT_PROXY_TYPE="none"
120.21 @@ -103,6 +104,7 @@
120.22 # CT_ARCH_ia64 is not set
120.23 # CT_ARCH_mips is not set
120.24 # CT_ARCH_powerpc is not set
120.25 +# CT_ARCH_powerpc64 is not set
120.26 # CT_ARCH_sh is not set
120.27 CT_ARCH_x86=y
120.28 # CT_ARCH_x86_64 is not set
120.29 @@ -119,7 +121,12 @@
120.30 # General toolchain options
120.31 #
120.32 CT_USE_SYSROOT=y
120.33 +CT_SYSROOT_DIR_PREFIX=""
120.34 CT_SHARED_LIBS=y
120.35 +
120.36 +#
120.37 +# Tuple completion and aliasing
120.38 +#
120.39 CT_TARGET_VENDOR="geode"
120.40 CT_TARGET_ALIAS_SED_EXPR=""
120.41 CT_TARGET_ALIAS=""
120.42 @@ -145,7 +152,7 @@
120.43 #
120.44 # CT_BARE_METAL is not set
120.45 CT_KERNEL="linux"
120.46 -CT_KERNEL_VERSION="2.6.26.8"
120.47 +CT_KERNEL_VERSION="2.6.29"
120.48 # CT_KERNEL_bare_metal is not set
120.49 CT_KERNEL_linux=y
120.50 CT_KERNEL_LINUX_INSTALL=y
120.51 @@ -158,15 +165,7 @@
120.52 # CT_KERNEL_V_2_6_23_17 is not set
120.53 # CT_KERNEL_V_2_6_24_7 is not set
120.54 # CT_KERNEL_V_2_6_25_20 is not set
120.55 -# CT_KERNEL_V_2_6_26 is not set
120.56 -# CT_KERNEL_V_2_6_26_1 is not set
120.57 -# CT_KERNEL_V_2_6_26_2 is not set
120.58 -# CT_KERNEL_V_2_6_26_3 is not set
120.59 -# CT_KERNEL_V_2_6_26_4 is not set
120.60 -# CT_KERNEL_V_2_6_26_5 is not set
120.61 -# CT_KERNEL_V_2_6_26_6 is not set
120.62 -# CT_KERNEL_V_2_6_26_7 is not set
120.63 -CT_KERNEL_V_2_6_26_8=y
120.64 +# CT_KERNEL_V_2_6_26_8 is not set
120.65 # CT_KERNEL_V_2_6_27 is not set
120.66 # CT_KERNEL_V_2_6_27_1 is not set
120.67 # CT_KERNEL_V_2_6_27_2 is not set
120.68 @@ -178,12 +177,33 @@
120.69 # CT_KERNEL_V_2_6_27_8 is not set
120.70 # CT_KERNEL_V_2_6_27_9 is not set
120.71 # CT_KERNEL_V_2_6_27_10 is not set
120.72 +# CT_KERNEL_V_2_6_27_11 is not set
120.73 +# CT_KERNEL_V_2_6_27_12 is not set
120.74 +# CT_KERNEL_V_2_6_27_13 is not set
120.75 +# CT_KERNEL_V_2_6_27_14 is not set
120.76 +# CT_KERNEL_V_2_6_27_15 is not set
120.77 +# CT_KERNEL_V_2_6_27_16 is not set
120.78 +# CT_KERNEL_V_2_6_27_17 is not set
120.79 +# CT_KERNEL_V_2_6_27_18 is not set
120.80 +# CT_KERNEL_V_2_6_27_19 is not set
120.81 +# CT_KERNEL_V_2_6_27_20 is not set
120.82 +# CT_KERNEL_V_2_6_27_21 is not set
120.83 # CT_KERNEL_V_2_6_28 is not set
120.84 +# CT_KERNEL_V_2_6_28_1 is not set
120.85 +# CT_KERNEL_V_2_6_28_2 is not set
120.86 +# CT_KERNEL_V_2_6_28_3 is not set
120.87 +# CT_KERNEL_V_2_6_28_4 is not set
120.88 +# CT_KERNEL_V_2_6_28_5 is not set
120.89 +# CT_KERNEL_V_2_6_28_6 is not set
120.90 +# CT_KERNEL_V_2_6_28_7 is not set
120.91 +# CT_KERNEL_V_2_6_28_8 is not set
120.92 +# CT_KERNEL_V_2_6_28_9 is not set
120.93 +CT_KERNEL_V_2_6_29=y
120.94 CT_KERNEL_LINUX_VERBOSITY_0=y
120.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
120.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
120.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
120.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
120.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
120.100
120.101 #
120.102 # GMP and MPFR
120.103 @@ -195,14 +215,16 @@
120.104 CT_GMP_VERSION="4.2.4"
120.105 CT_GMP_CHECK=y
120.106 # CT_MPFR_V_2_3_1 is not set
120.107 -CT_MPFR_V_2_3_2=y
120.108 -CT_MPFR_VERSION="2.3.2"
120.109 +# CT_MPFR_V_2_3_2 is not set
120.110 +# CT_MPFR_V_2_4_0 is not set
120.111 +CT_MPFR_V_2_4_1=y
120.112 +CT_MPFR_VERSION="2.4.1"
120.113 CT_MPFR_CHECK=y
120.114
120.115 #
120.116 # binutils
120.117 #
120.118 -CT_BINUTILS_VERSION="2.19"
120.119 +CT_BINUTILS_VERSION="2.19.1"
120.120 # CT_BINUTILS_V_2_14 is not set
120.121 # CT_BINUTILS_V_2_15 is not set
120.122 # CT_BINUTILS_V_2_16_1 is not set
120.123 @@ -217,8 +239,11 @@
120.124 # CT_BINUTILS_V_2_18_91 is not set
120.125 # CT_BINUTILS_V_2_18_92 is not set
120.126 # CT_BINUTILS_V_2_18_93 is not set
120.127 -CT_BINUTILS_V_2_19=y
120.128 +# CT_BINUTILS_V_2_19 is not set
120.129 +CT_BINUTILS_V_2_19_1=y
120.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
120.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
120.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
120.133 CT_BINUTILS_EXTRA_CONFIG=""
120.134 CT_BINUTILS_FOR_TARGET=y
120.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
120.136 @@ -249,7 +274,10 @@
120.137 # CT_CC_V_4_3_0 is not set
120.138 # CT_CC_V_4_3_1 is not set
120.139 CT_CC_V_4_3_2=y
120.140 +# CT_CC_V_4_3_3 is not set
120.141 +# CT_CC_V_4_4_0 is not set
120.142 CT_CC_GCC_4_3_or_later=y
120.143 +# CT_CC_GCC_4_4_snapshot is not set
120.144 CT_CC_CXA_ATEXIT=y
120.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
120.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
120.147 @@ -277,7 +305,7 @@
120.148 #
120.149 # C-library
120.150 #
120.151 -CT_LIBC_VERSION="0.9.30"
120.152 +CT_LIBC_VERSION="0.9.30.1"
120.153 # CT_LIBC_eglibc is not set
120.154 # CT_LIBC_glibc is not set
120.155 CT_LIBC_uClibc=y
120.156 @@ -286,7 +314,8 @@
120.157 # CT_LIBC_V_0_9_28_2 is not set
120.158 # CT_LIBC_V_0_9_28_3 is not set
120.159 # CT_LIBC_V_0_9_29 is not set
120.160 -CT_LIBC_V_0_9_30=y
120.161 +# CT_LIBC_V_0_9_30 is not set
120.162 +CT_LIBC_V_0_9_30_1=y
120.163 # CT_LIBC_V_snapshot is not set
120.164 # CT_LIBC_V_specific_date is not set
120.165 # CT_LIBC_UCLIBC_PARALLEL is not set
120.166 @@ -297,6 +326,7 @@
120.167 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
120.168 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
120.169 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
120.170 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
120.171 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
120.172 # CT_LIBC_UCLIBC_LOCALES is not set
120.173
120.174 @@ -317,8 +347,8 @@
120.175 CT_LIBELF_V_0_8_10=y
120.176 CT_LIBELF_VERSION="0.8.10"
120.177 CT_TOOL_sstrip=y
120.178 +CT_SSTRIP_BUILDROOT=y
120.179 # CT_SSTRIP_ELFKICKERS is not set
120.180 -CT_SSTRIP_BUILDROOT=y
120.181 CT_SSTRIP_FROM="buildroot"
120.182
120.183 #
120.184 @@ -354,13 +384,15 @@
120.185 CT_GDB_VERSION="6.8"
120.186
120.187 #
120.188 -# Native gdb needs the ncurses library on the target
120.189 +# Native gdb needs a native ncurses library
120.190 #
120.191 -CT_NCURSES_V_5_6=y
120.192 -CT_NCURSES_VERSION="5.6"
120.193 +# CT_NCURSES_V_5_6 is not set
120.194 +CT_NCURSES_V_5_7=y
120.195 +CT_NCURSES_VERSION="5.7"
120.196 CT_DEBUG_ltrace=y
120.197 # CT_LTRACE_V_0_4 is not set
120.198 CT_LTRACE_V_0_5=y
120.199 +# CT_LTRACE_V_0_5_1 is not set
120.200 CT_LTRACE_VERSION="0.5"
120.201 CT_DEBUG_strace=y
120.202 # CT_STRACE_V_4_5 is not set
121.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
121.2 +++ b/samples/i586-geode-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000
121.3 @@ -0,0 +1,263 @@
121.4 +#
121.5 +# Automatically generated make config: don't edit
121.6 +# Version: 0.9.30
121.7 +# Tue Nov 18 09:05:26 2008
121.8 +#
121.9 +# TARGET_alpha is not set
121.10 +# TARGET_arm is not set
121.11 +# TARGET_avr32 is not set
121.12 +# TARGET_bfin is not set
121.13 +# TARGET_cris is not set
121.14 +# TARGET_e1 is not set
121.15 +# TARGET_frv is not set
121.16 +# TARGET_h8300 is not set
121.17 +# TARGET_hppa is not set
121.18 +TARGET_i386=y
121.19 +# TARGET_i960 is not set
121.20 +# TARGET_ia64 is not set
121.21 +# TARGET_m68k is not set
121.22 +# TARGET_microblaze is not set
121.23 +# TARGET_mips is not set
121.24 +# TARGET_nios is not set
121.25 +# TARGET_nios2 is not set
121.26 +# TARGET_powerpc is not set
121.27 +# TARGET_sh is not set
121.28 +# TARGET_sh64 is not set
121.29 +# TARGET_sparc is not set
121.30 +# TARGET_v850 is not set
121.31 +# TARGET_vax is not set
121.32 +# TARGET_x86_64 is not set
121.33 +# TARGET_xtensa is not set
121.34 +
121.35 +#
121.36 +# Target Architecture Features and Options
121.37 +#
121.38 +TARGET_ARCH="i386"
121.39 +FORCE_OPTIONS_FOR_ARCH=y
121.40 +# CONFIG_ARM_OABI is not set
121.41 +# CONFIG_ARM_EABI is not set
121.42 +# CONFIG_GENERIC_ARM is not set
121.43 +# CONFIG_ARM610 is not set
121.44 +# CONFIG_ARM710 is not set
121.45 +# CONFIG_ARM7TDMI is not set
121.46 +# CONFIG_ARM720T is not set
121.47 +# CONFIG_ARM920T is not set
121.48 +# CONFIG_ARM922T is not set
121.49 +# CONFIG_ARM926T is not set
121.50 +# CONFIG_ARM10T is not set
121.51 +# CONFIG_ARM1136JF_S is not set
121.52 +# CONFIG_ARM1176JZ_S is not set
121.53 +# CONFIG_ARM1176JZF_S is not set
121.54 +# CONFIG_ARM_CORTEX_M3 is not set
121.55 +# CONFIG_ARM_CORTEX_M1 is not set
121.56 +# CONFIG_ARM_SA110 is not set
121.57 +# CONFIG_ARM_SA1100 is not set
121.58 +# CONFIG_ARM_XSCALE is not set
121.59 +# CONFIG_ARM_IWMMXT is not set
121.60 +# CONFIG_GENERIC_386 is not set
121.61 +# CONFIG_386 is not set
121.62 +# CONFIG_486 is not set
121.63 +CONFIG_586=y
121.64 +# CONFIG_586MMX is not set
121.65 +# CONFIG_686 is not set
121.66 +# CONFIG_PENTIUMII is not set
121.67 +# CONFIG_PENTIUMIII is not set
121.68 +# CONFIG_PENTIUM4 is not set
121.69 +# CONFIG_K6 is not set
121.70 +# CONFIG_K7 is not set
121.71 +# CONFIG_ELAN is not set
121.72 +# CONFIG_CRUSOE is not set
121.73 +# CONFIG_WINCHIPC6 is not set
121.74 +# CONFIG_WINCHIP2 is not set
121.75 +# CONFIG_CYRIXIII is not set
121.76 +# CONFIG_NEHEMIAH is not set
121.77 +TARGET_SUBARCH=""
121.78 +
121.79 +#
121.80 +# Using ELF file format
121.81 +#
121.82 +ARCH_LITTLE_ENDIAN=y
121.83 +# ARCH_WANTS_BIG_ENDIAN is not set
121.84 +# ARCH_WANTS_LITTLE_ENDIAN is not set
121.85 +
121.86 +#
121.87 +# Using Little Endian
121.88 +#
121.89 +ARCH_HAS_MMU=y
121.90 +ARCH_USE_MMU=y
121.91 +UCLIBC_HAS_FLOATS=y
121.92 +UCLIBC_HAS_FPU=y
121.93 +DO_C99_MATH=y
121.94 +UCLIBC_HAS_FENV=y
121.95 +UCLIBC_HAS_LONG_DOUBLE_MATH=y
121.96 +KERNEL_HEADERS="/usr/include"
121.97 +HAVE_DOT_CONFIG=y
121.98 +
121.99 +#
121.100 +# General Library Settings
121.101 +#
121.102 +# HAVE_NO_PIC is not set
121.103 +DOPIC=y
121.104 +# ARCH_HAS_NO_SHARED is not set
121.105 +# ARCH_HAS_NO_LDSO is not set
121.106 +HAVE_SHARED=y
121.107 +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
121.108 +LDSO_LDD_SUPPORT=y
121.109 +LDSO_CACHE_SUPPORT=y
121.110 +# LDSO_PRELOAD_FILE_SUPPORT is not set
121.111 +LDSO_BASE_FILENAME="ld.so"
121.112 +UCLIBC_STATIC_LDCONFIG=y
121.113 +# LDSO_RUNPATH is not set
121.114 +UCLIBC_CTOR_DTOR=y
121.115 +# LDSO_GNU_HASH_SUPPORT is not set
121.116 +# HAS_NO_THREADS is not set
121.117 +UCLIBC_HAS_THREADS=y
121.118 +# PTHREADS_DEBUG_SUPPORT is not set
121.119 +LINUXTHREADS_OLD=y
121.120 +UCLIBC_HAS_SYSLOG=y
121.121 +UCLIBC_HAS_LFS=y
121.122 +# MALLOC is not set
121.123 +# MALLOC_SIMPLE is not set
121.124 +MALLOC_STANDARD=y
121.125 +# MALLOC_GLIBC_COMPAT is not set
121.126 +UCLIBC_DYNAMIC_ATEXIT=y
121.127 +# COMPAT_ATEXIT is not set
121.128 +# UCLIBC_SUSV3_LEGACY is not set
121.129 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
121.130 +# UCLIBC_HAS_STUBS is not set
121.131 +UCLIBC_HAS_SHADOW=y
121.132 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
121.133 +UCLIBC_HAS_PTY=y
121.134 +ASSUME_DEVPTS=y
121.135 +UNIX98PTY_ONLY=y
121.136 +# UCLIBC_HAS_GETPT is not set
121.137 +UCLIBC_HAS_TM_EXTENSIONS=y
121.138 +UCLIBC_HAS_TZ_CACHING=y
121.139 +UCLIBC_HAS_TZ_FILE=y
121.140 +UCLIBC_HAS_TZ_FILE_READ_MANY=y
121.141 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
121.142 +
121.143 +#
121.144 +# Advanced Library Settings
121.145 +#
121.146 +UCLIBC_PWD_BUFFER_SIZE=256
121.147 +UCLIBC_GRP_BUFFER_SIZE=256
121.148 +
121.149 +#
121.150 +# Support various families of functions
121.151 +#
121.152 +UCLIBC_LINUX_MODULE_24=y
121.153 +UCLIBC_LINUX_SPECIFIC=y
121.154 +UCLIBC_HAS_GNU_ERROR=y
121.155 +# UCLIBC_BSD_SPECIFIC is not set
121.156 +UCLIBC_HAS_BSD_ERR=y
121.157 +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
121.158 +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
121.159 +# UCLIBC_NTP_LEGACY is not set
121.160 +# UCLIBC_SV4_DEPRECATED is not set
121.161 +UCLIBC_HAS_REALTIME=y
121.162 +UCLIBC_HAS_ADVANCED_REALTIME=y
121.163 +UCLIBC_HAS_EPOLL=y
121.164 +UCLIBC_HAS_XATTR=y
121.165 +UCLIBC_HAS_PROFILING=y
121.166 +UCLIBC_HAS_CRYPT_IMPL=y
121.167 +UCLIBC_HAS_CRYPT=y
121.168 +UCLIBC_HAS_NETWORK_SUPPORT=y
121.169 +UCLIBC_HAS_SOCKET=y
121.170 +UCLIBC_HAS_IPV4=y
121.171 +# UCLIBC_HAS_IPV6 is not set
121.172 +UCLIBC_HAS_RPC=y
121.173 +UCLIBC_HAS_FULL_RPC=y
121.174 +UCLIBC_HAS_REENTRANT_RPC=y
121.175 +UCLIBC_USE_NETLINK=y
121.176 +UCLIBC_SUPPORT_AI_ADDRCONFIG=y
121.177 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
121.178 +
121.179 +#
121.180 +# String and Stdio Support
121.181 +#
121.182 +UCLIBC_HAS_STRING_GENERIC_OPT=y
121.183 +UCLIBC_HAS_STRING_ARCH_OPT=y
121.184 +UCLIBC_HAS_CTYPE_TABLES=y
121.185 +UCLIBC_HAS_CTYPE_SIGNED=y
121.186 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
121.187 +# UCLIBC_HAS_CTYPE_CHECKED is not set
121.188 +UCLIBC_HAS_CTYPE_ENFORCED=y
121.189 +# UCLIBC_HAS_WCHAR is not set
121.190 +# UCLIBC_HAS_LOCALE is not set
121.191 +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
121.192 +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
121.193 +# USE_OLD_VFPRINTF is not set
121.194 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
121.195 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
121.196 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
121.197 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
121.198 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
121.199 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
121.200 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
121.201 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
121.202 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
121.203 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
121.204 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
121.205 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
121.206 +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
121.207 +UCLIBC_HAS_STDIO_GETC_MACRO=y
121.208 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
121.209 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
121.210 +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
121.211 +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
121.212 +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
121.213 +UCLIBC_HAS_PRINTF_M_SPEC=y
121.214 +UCLIBC_HAS_ERRNO_MESSAGES=y
121.215 +# UCLIBC_HAS_SYS_ERRLIST is not set
121.216 +UCLIBC_HAS_SIGNUM_MESSAGES=y
121.217 +# UCLIBC_HAS_SYS_SIGLIST is not set
121.218 +UCLIBC_HAS_GNU_GETOPT=y
121.219 +UCLIBC_HAS_GNU_GETSUBOPT=y
121.220 +
121.221 +#
121.222 +# Big and Tall
121.223 +#
121.224 +UCLIBC_HAS_REGEX=y
121.225 +UCLIBC_HAS_REGEX_OLD=y
121.226 +UCLIBC_HAS_FNMATCH=y
121.227 +UCLIBC_HAS_FNMATCH_OLD=y
121.228 +# UCLIBC_HAS_WORDEXP is not set
121.229 +# UCLIBC_HAS_FTW is not set
121.230 +UCLIBC_HAS_GLOB=y
121.231 +UCLIBC_HAS_GNU_GLOB=y
121.232 +
121.233 +#
121.234 +# Library Installation Options
121.235 +#
121.236 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
121.237 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
121.238 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
121.239 +
121.240 +#
121.241 +# Security options
121.242 +#
121.243 +# UCLIBC_BUILD_PIE is not set
121.244 +# UCLIBC_HAS_ARC4RANDOM is not set
121.245 +# HAVE_NO_SSP is not set
121.246 +# UCLIBC_HAS_SSP is not set
121.247 +UCLIBC_BUILD_RELRO=y
121.248 +# UCLIBC_BUILD_NOW is not set
121.249 +UCLIBC_BUILD_NOEXECSTACK=y
121.250 +
121.251 +#
121.252 +# uClibc development/debugging options
121.253 +#
121.254 +CROSS_COMPILER_PREFIX=""
121.255 +UCLIBC_EXTRA_CFLAGS=""
121.256 +# DODEBUG is not set
121.257 +# DODEBUG_PT is not set
121.258 +# DOSTRIP is not set
121.259 +# DOASSERTS is not set
121.260 +# SUPPORT_LD_DEBUG is not set
121.261 +# SUPPORT_LD_DEBUG_EARLY is not set
121.262 +# UCLIBC_MALLOC_DEBUGGING is not set
121.263 +WARNINGS="-Wall"
121.264 +# EXTRA_WARNINGS is not set
121.265 +# DOMULTI is not set
121.266 +# UCLIBC_MJN3_ONLY is not set
122.1 --- a/samples/i586-geode-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000
122.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
122.3 @@ -1,263 +0,0 @@
122.4 -#
122.5 -# Automatically generated make config: don't edit
122.6 -# Version: 0.9.30
122.7 -# Tue Nov 18 09:05:26 2008
122.8 -#
122.9 -# TARGET_alpha is not set
122.10 -# TARGET_arm is not set
122.11 -# TARGET_avr32 is not set
122.12 -# TARGET_bfin is not set
122.13 -# TARGET_cris is not set
122.14 -# TARGET_e1 is not set
122.15 -# TARGET_frv is not set
122.16 -# TARGET_h8300 is not set
122.17 -# TARGET_hppa is not set
122.18 -TARGET_i386=y
122.19 -# TARGET_i960 is not set
122.20 -# TARGET_ia64 is not set
122.21 -# TARGET_m68k is not set
122.22 -# TARGET_microblaze is not set
122.23 -# TARGET_mips is not set
122.24 -# TARGET_nios is not set
122.25 -# TARGET_nios2 is not set
122.26 -# TARGET_powerpc is not set
122.27 -# TARGET_sh is not set
122.28 -# TARGET_sh64 is not set
122.29 -# TARGET_sparc is not set
122.30 -# TARGET_v850 is not set
122.31 -# TARGET_vax is not set
122.32 -# TARGET_x86_64 is not set
122.33 -# TARGET_xtensa is not set
122.34 -
122.35 -#
122.36 -# Target Architecture Features and Options
122.37 -#
122.38 -TARGET_ARCH="i386"
122.39 -FORCE_OPTIONS_FOR_ARCH=y
122.40 -# CONFIG_ARM_OABI is not set
122.41 -# CONFIG_ARM_EABI is not set
122.42 -# CONFIG_GENERIC_ARM is not set
122.43 -# CONFIG_ARM610 is not set
122.44 -# CONFIG_ARM710 is not set
122.45 -# CONFIG_ARM7TDMI is not set
122.46 -# CONFIG_ARM720T is not set
122.47 -# CONFIG_ARM920T is not set
122.48 -# CONFIG_ARM922T is not set
122.49 -# CONFIG_ARM926T is not set
122.50 -# CONFIG_ARM10T is not set
122.51 -# CONFIG_ARM1136JF_S is not set
122.52 -# CONFIG_ARM1176JZ_S is not set
122.53 -# CONFIG_ARM1176JZF_S is not set
122.54 -# CONFIG_ARM_CORTEX_M3 is not set
122.55 -# CONFIG_ARM_CORTEX_M1 is not set
122.56 -# CONFIG_ARM_SA110 is not set
122.57 -# CONFIG_ARM_SA1100 is not set
122.58 -# CONFIG_ARM_XSCALE is not set
122.59 -# CONFIG_ARM_IWMMXT is not set
122.60 -# CONFIG_GENERIC_386 is not set
122.61 -# CONFIG_386 is not set
122.62 -# CONFIG_486 is not set
122.63 -CONFIG_586=y
122.64 -# CONFIG_586MMX is not set
122.65 -# CONFIG_686 is not set
122.66 -# CONFIG_PENTIUMII is not set
122.67 -# CONFIG_PENTIUMIII is not set
122.68 -# CONFIG_PENTIUM4 is not set
122.69 -# CONFIG_K6 is not set
122.70 -# CONFIG_K7 is not set
122.71 -# CONFIG_ELAN is not set
122.72 -# CONFIG_CRUSOE is not set
122.73 -# CONFIG_WINCHIPC6 is not set
122.74 -# CONFIG_WINCHIP2 is not set
122.75 -# CONFIG_CYRIXIII is not set
122.76 -# CONFIG_NEHEMIAH is not set
122.77 -TARGET_SUBARCH=""
122.78 -
122.79 -#
122.80 -# Using ELF file format
122.81 -#
122.82 -ARCH_LITTLE_ENDIAN=y
122.83 -# ARCH_WANTS_BIG_ENDIAN is not set
122.84 -# ARCH_WANTS_LITTLE_ENDIAN is not set
122.85 -
122.86 -#
122.87 -# Using Little Endian
122.88 -#
122.89 -ARCH_HAS_MMU=y
122.90 -ARCH_USE_MMU=y
122.91 -UCLIBC_HAS_FLOATS=y
122.92 -UCLIBC_HAS_FPU=y
122.93 -DO_C99_MATH=y
122.94 -UCLIBC_HAS_FENV=y
122.95 -UCLIBC_HAS_LONG_DOUBLE_MATH=y
122.96 -KERNEL_HEADERS="/usr/include"
122.97 -HAVE_DOT_CONFIG=y
122.98 -
122.99 -#
122.100 -# General Library Settings
122.101 -#
122.102 -# HAVE_NO_PIC is not set
122.103 -DOPIC=y
122.104 -# ARCH_HAS_NO_SHARED is not set
122.105 -# ARCH_HAS_NO_LDSO is not set
122.106 -HAVE_SHARED=y
122.107 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
122.108 -LDSO_LDD_SUPPORT=y
122.109 -LDSO_CACHE_SUPPORT=y
122.110 -# LDSO_PRELOAD_FILE_SUPPORT is not set
122.111 -LDSO_BASE_FILENAME="ld.so"
122.112 -UCLIBC_STATIC_LDCONFIG=y
122.113 -# LDSO_RUNPATH is not set
122.114 -UCLIBC_CTOR_DTOR=y
122.115 -# LDSO_GNU_HASH_SUPPORT is not set
122.116 -# HAS_NO_THREADS is not set
122.117 -UCLIBC_HAS_THREADS=y
122.118 -# PTHREADS_DEBUG_SUPPORT is not set
122.119 -LINUXTHREADS_OLD=y
122.120 -UCLIBC_HAS_SYSLOG=y
122.121 -UCLIBC_HAS_LFS=y
122.122 -# MALLOC is not set
122.123 -# MALLOC_SIMPLE is not set
122.124 -MALLOC_STANDARD=y
122.125 -# MALLOC_GLIBC_COMPAT is not set
122.126 -UCLIBC_DYNAMIC_ATEXIT=y
122.127 -# COMPAT_ATEXIT is not set
122.128 -# UCLIBC_SUSV3_LEGACY is not set
122.129 -# UCLIBC_SUSV3_LEGACY_MACROS is not set
122.130 -# UCLIBC_HAS_STUBS is not set
122.131 -UCLIBC_HAS_SHADOW=y
122.132 -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
122.133 -UCLIBC_HAS_PTY=y
122.134 -ASSUME_DEVPTS=y
122.135 -UNIX98PTY_ONLY=y
122.136 -# UCLIBC_HAS_GETPT is not set
122.137 -UCLIBC_HAS_TM_EXTENSIONS=y
122.138 -UCLIBC_HAS_TZ_CACHING=y
122.139 -UCLIBC_HAS_TZ_FILE=y
122.140 -UCLIBC_HAS_TZ_FILE_READ_MANY=y
122.141 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
122.142 -
122.143 -#
122.144 -# Advanced Library Settings
122.145 -#
122.146 -UCLIBC_PWD_BUFFER_SIZE=256
122.147 -UCLIBC_GRP_BUFFER_SIZE=256
122.148 -
122.149 -#
122.150 -# Support various families of functions
122.151 -#
122.152 -UCLIBC_LINUX_MODULE_24=y
122.153 -UCLIBC_LINUX_SPECIFIC=y
122.154 -UCLIBC_HAS_GNU_ERROR=y
122.155 -# UCLIBC_BSD_SPECIFIC is not set
122.156 -UCLIBC_HAS_BSD_ERR=y
122.157 -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
122.158 -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
122.159 -# UCLIBC_NTP_LEGACY is not set
122.160 -# UCLIBC_SV4_DEPRECATED is not set
122.161 -UCLIBC_HAS_REALTIME=y
122.162 -UCLIBC_HAS_ADVANCED_REALTIME=y
122.163 -UCLIBC_HAS_EPOLL=y
122.164 -UCLIBC_HAS_XATTR=y
122.165 -UCLIBC_HAS_PROFILING=y
122.166 -UCLIBC_HAS_CRYPT_IMPL=y
122.167 -UCLIBC_HAS_CRYPT=y
122.168 -UCLIBC_HAS_NETWORK_SUPPORT=y
122.169 -UCLIBC_HAS_SOCKET=y
122.170 -UCLIBC_HAS_IPV4=y
122.171 -# UCLIBC_HAS_IPV6 is not set
122.172 -UCLIBC_HAS_RPC=y
122.173 -UCLIBC_HAS_FULL_RPC=y
122.174 -UCLIBC_HAS_REENTRANT_RPC=y
122.175 -UCLIBC_USE_NETLINK=y
122.176 -UCLIBC_SUPPORT_AI_ADDRCONFIG=y
122.177 -# UCLIBC_HAS_BSD_RES_CLOSE is not set
122.178 -
122.179 -#
122.180 -# String and Stdio Support
122.181 -#
122.182 -UCLIBC_HAS_STRING_GENERIC_OPT=y
122.183 -UCLIBC_HAS_STRING_ARCH_OPT=y
122.184 -UCLIBC_HAS_CTYPE_TABLES=y
122.185 -UCLIBC_HAS_CTYPE_SIGNED=y
122.186 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
122.187 -# UCLIBC_HAS_CTYPE_CHECKED is not set
122.188 -UCLIBC_HAS_CTYPE_ENFORCED=y
122.189 -# UCLIBC_HAS_WCHAR is not set
122.190 -# UCLIBC_HAS_LOCALE is not set
122.191 -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
122.192 -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
122.193 -# USE_OLD_VFPRINTF is not set
122.194 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
122.195 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
122.196 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
122.197 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
122.198 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
122.199 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
122.200 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
122.201 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
122.202 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
122.203 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
122.204 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
122.205 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
122.206 -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
122.207 -UCLIBC_HAS_STDIO_GETC_MACRO=y
122.208 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
122.209 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
122.210 -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
122.211 -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
122.212 -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
122.213 -UCLIBC_HAS_PRINTF_M_SPEC=y
122.214 -UCLIBC_HAS_ERRNO_MESSAGES=y
122.215 -# UCLIBC_HAS_SYS_ERRLIST is not set
122.216 -UCLIBC_HAS_SIGNUM_MESSAGES=y
122.217 -# UCLIBC_HAS_SYS_SIGLIST is not set
122.218 -UCLIBC_HAS_GNU_GETOPT=y
122.219 -UCLIBC_HAS_GNU_GETSUBOPT=y
122.220 -
122.221 -#
122.222 -# Big and Tall
122.223 -#
122.224 -UCLIBC_HAS_REGEX=y
122.225 -UCLIBC_HAS_REGEX_OLD=y
122.226 -UCLIBC_HAS_FNMATCH=y
122.227 -UCLIBC_HAS_FNMATCH_OLD=y
122.228 -# UCLIBC_HAS_WORDEXP is not set
122.229 -# UCLIBC_HAS_FTW is not set
122.230 -UCLIBC_HAS_GLOB=y
122.231 -UCLIBC_HAS_GNU_GLOB=y
122.232 -
122.233 -#
122.234 -# Library Installation Options
122.235 -#
122.236 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
122.237 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
122.238 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
122.239 -
122.240 -#
122.241 -# Security options
122.242 -#
122.243 -# UCLIBC_BUILD_PIE is not set
122.244 -# UCLIBC_HAS_ARC4RANDOM is not set
122.245 -# HAVE_NO_SSP is not set
122.246 -# UCLIBC_HAS_SSP is not set
122.247 -UCLIBC_BUILD_RELRO=y
122.248 -# UCLIBC_BUILD_NOW is not set
122.249 -UCLIBC_BUILD_NOEXECSTACK=y
122.250 -
122.251 -#
122.252 -# uClibc development/debugging options
122.253 -#
122.254 -CROSS_COMPILER_PREFIX=""
122.255 -UCLIBC_EXTRA_CFLAGS=""
122.256 -# DODEBUG is not set
122.257 -# DODEBUG_PT is not set
122.258 -# DOSTRIP is not set
122.259 -# DOASSERTS is not set
122.260 -# SUPPORT_LD_DEBUG is not set
122.261 -# SUPPORT_LD_DEBUG_EARLY is not set
122.262 -# UCLIBC_MALLOC_DEBUGGING is not set
122.263 -WARNINGS="-Wall"
122.264 -# EXTRA_WARNINGS is not set
122.265 -# DOMULTI is not set
122.266 -# UCLIBC_MJN3_ONLY is not set
123.1 --- a/samples/i686-nptl-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
123.2 +++ b/samples/i686-nptl-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
123.3 @@ -1,7 +1,7 @@
123.4 #
123.5 # Automatically generated make config: don't edit
123.6 -# crosstool-NG version: svn_trunk@1360:1361
123.7 -# Mon Feb 2 18:34:27 2009
123.8 +# crosstool-NG version: svn_trunk@1453
123.9 +# Sun Mar 29 12:26:01 2009
123.10 #
123.11
123.12 #
123.13 @@ -121,7 +121,12 @@
123.14 # General toolchain options
123.15 #
123.16 CT_USE_SYSROOT=y
123.17 +CT_SYSROOT_DIR_PREFIX=""
123.18 CT_SHARED_LIBS=y
123.19 +
123.20 +#
123.21 +# Tuple completion and aliasing
123.22 +#
123.23 CT_TARGET_VENDOR="nptl"
123.24 CT_TARGET_ALIAS_SED_EXPR=""
123.25 CT_TARGET_ALIAS=""
123.26 @@ -147,7 +152,7 @@
123.27 #
123.28 # CT_BARE_METAL is not set
123.29 CT_KERNEL="linux"
123.30 -CT_KERNEL_VERSION="2.6.28.2"
123.31 +CT_KERNEL_VERSION="2.6.29"
123.32 # CT_KERNEL_bare_metal is not set
123.33 CT_KERNEL_linux=y
123.34 CT_KERNEL_LINUX_INSTALL=y
123.35 @@ -160,14 +165,6 @@
123.36 # CT_KERNEL_V_2_6_23_17 is not set
123.37 # CT_KERNEL_V_2_6_24_7 is not set
123.38 # CT_KERNEL_V_2_6_25_20 is not set
123.39 -# CT_KERNEL_V_2_6_26 is not set
123.40 -# CT_KERNEL_V_2_6_26_1 is not set
123.41 -# CT_KERNEL_V_2_6_26_2 is not set
123.42 -# CT_KERNEL_V_2_6_26_3 is not set
123.43 -# CT_KERNEL_V_2_6_26_4 is not set
123.44 -# CT_KERNEL_V_2_6_26_5 is not set
123.45 -# CT_KERNEL_V_2_6_26_6 is not set
123.46 -# CT_KERNEL_V_2_6_26_7 is not set
123.47 # CT_KERNEL_V_2_6_26_8 is not set
123.48 # CT_KERNEL_V_2_6_27 is not set
123.49 # CT_KERNEL_V_2_6_27_1 is not set
123.50 @@ -183,14 +180,30 @@
123.51 # CT_KERNEL_V_2_6_27_11 is not set
123.52 # CT_KERNEL_V_2_6_27_12 is not set
123.53 # CT_KERNEL_V_2_6_27_13 is not set
123.54 +# CT_KERNEL_V_2_6_27_14 is not set
123.55 +# CT_KERNEL_V_2_6_27_15 is not set
123.56 +# CT_KERNEL_V_2_6_27_16 is not set
123.57 +# CT_KERNEL_V_2_6_27_17 is not set
123.58 +# CT_KERNEL_V_2_6_27_18 is not set
123.59 +# CT_KERNEL_V_2_6_27_19 is not set
123.60 +# CT_KERNEL_V_2_6_27_20 is not set
123.61 +# CT_KERNEL_V_2_6_27_21 is not set
123.62 # CT_KERNEL_V_2_6_28 is not set
123.63 # CT_KERNEL_V_2_6_28_1 is not set
123.64 -CT_KERNEL_V_2_6_28_2=y
123.65 +# CT_KERNEL_V_2_6_28_2 is not set
123.66 +# CT_KERNEL_V_2_6_28_3 is not set
123.67 +# CT_KERNEL_V_2_6_28_4 is not set
123.68 +# CT_KERNEL_V_2_6_28_5 is not set
123.69 +# CT_KERNEL_V_2_6_28_6 is not set
123.70 +# CT_KERNEL_V_2_6_28_7 is not set
123.71 +# CT_KERNEL_V_2_6_28_8 is not set
123.72 +# CT_KERNEL_V_2_6_28_9 is not set
123.73 +CT_KERNEL_V_2_6_29=y
123.74 CT_KERNEL_LINUX_VERBOSITY_0=y
123.75 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
123.76 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
123.77 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
123.78 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
123.79 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
123.80
123.81 #
123.82 # GMP and MPFR
123.83 @@ -202,14 +215,16 @@
123.84 CT_GMP_VERSION="4.2.4"
123.85 CT_GMP_CHECK=y
123.86 # CT_MPFR_V_2_3_1 is not set
123.87 -CT_MPFR_V_2_3_2=y
123.88 -CT_MPFR_VERSION="2.3.2"
123.89 +# CT_MPFR_V_2_3_2 is not set
123.90 +# CT_MPFR_V_2_4_0 is not set
123.91 +CT_MPFR_V_2_4_1=y
123.92 +CT_MPFR_VERSION="2.4.1"
123.93 CT_MPFR_CHECK=y
123.94
123.95 #
123.96 # binutils
123.97 #
123.98 -CT_BINUTILS_VERSION="2.19"
123.99 +CT_BINUTILS_VERSION="2.19.1"
123.100 # CT_BINUTILS_V_2_14 is not set
123.101 # CT_BINUTILS_V_2_15 is not set
123.102 # CT_BINUTILS_V_2_16_1 is not set
123.103 @@ -224,8 +239,11 @@
123.104 # CT_BINUTILS_V_2_18_91 is not set
123.105 # CT_BINUTILS_V_2_18_92 is not set
123.106 # CT_BINUTILS_V_2_18_93 is not set
123.107 -CT_BINUTILS_V_2_19=y
123.108 +# CT_BINUTILS_V_2_19 is not set
123.109 +CT_BINUTILS_V_2_19_1=y
123.110 # CT_BINUTILS_V_2_19_50_0_1 is not set
123.111 +# CT_BINUTILS_V_2_19_51_0_1 is not set
123.112 +# CT_BINUTILS_V_2_19_51_0_2 is not set
123.113 CT_BINUTILS_EXTRA_CONFIG=""
123.114 CT_BINUTILS_FOR_TARGET=y
123.115 CT_BINUTILS_FOR_TARGET_IBERTY=y
123.116 @@ -257,7 +275,9 @@
123.117 # CT_CC_V_4_3_1 is not set
123.118 CT_CC_V_4_3_2=y
123.119 # CT_CC_V_4_3_3 is not set
123.120 +# CT_CC_V_4_4_0 is not set
123.121 CT_CC_GCC_4_3_or_later=y
123.122 +# CT_CC_GCC_4_4_snapshot is not set
123.123 CT_CC_CXA_ATEXIT=y
123.124 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
123.125 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
123.126 @@ -285,7 +305,7 @@
123.127 #
123.128 # C-library
123.129 #
123.130 -CT_LIBC_VERSION="2_9"
123.131 +CT_LIBC_VERSION="2.9"
123.132 # CT_LIBC_eglibc is not set
123.133 CT_LIBC_glibc=y
123.134 # CT_LIBC_uClibc is not set
123.135 @@ -299,18 +319,14 @@
123.136 CT_LIBC_V_2_9=y
123.137 # CT_LIBC_V_LATEST is not set
123.138 # CT_LIBC_V_date is not set
123.139 -CT_LIBC_GLIBC_2_8_or_later=y
123.140 -# CT_LIBC_GLIBC_latest_snapshot is not set
123.141 -
123.142 -#
123.143 -# Using CVS checkout
123.144 -#
123.145 -CT_LIBC_GLIBC_CVS_date="20081119"
123.146 +CT_LIBC_GLIBC_TARBALL=y
123.147 +# CT_LIBC_GLIBC_CVS is not set
123.148
123.149 #
123.150 # glibc/eglibc common options
123.151 #
123.152 CT_LIBC_GLIBC_EXTRA_CONFIG=""
123.153 +CT_LIBC_GLIBC_CONFIGPARMS=""
123.154 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
123.155 CT_LIBC_EXTRA_CC_ARGS=""
123.156 # CT_LIBC_GLIBC_USE_PORTS is not set
123.157 @@ -318,7 +334,7 @@
123.158 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
123.159 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
123.160 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
123.161 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.28.2"
123.162 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
123.163
123.164 #
123.165 # Common C library options
123.166 @@ -337,8 +353,8 @@
123.167 CT_LIBELF_V_0_8_10=y
123.168 CT_LIBELF_VERSION="0.8.10"
123.169 CT_TOOL_sstrip=y
123.170 +CT_SSTRIP_BUILDROOT=y
123.171 # CT_SSTRIP_ELFKICKERS is not set
123.172 -CT_SSTRIP_BUILDROOT=y
123.173 CT_SSTRIP_FROM="buildroot"
123.174
123.175 #
123.176 @@ -374,13 +390,15 @@
123.177 CT_GDB_VERSION="6.8"
123.178
123.179 #
123.180 -# Native gdb needs the ncurses library on the target
123.181 +# Native gdb needs a native ncurses library
123.182 #
123.183 -CT_NCURSES_V_5_6=y
123.184 -CT_NCURSES_VERSION="5.6"
123.185 +# CT_NCURSES_V_5_6 is not set
123.186 +CT_NCURSES_V_5_7=y
123.187 +CT_NCURSES_VERSION="5.7"
123.188 CT_DEBUG_ltrace=y
123.189 # CT_LTRACE_V_0_4 is not set
123.190 CT_LTRACE_V_0_5=y
123.191 +# CT_LTRACE_V_0_5_1 is not set
123.192 CT_LTRACE_VERSION="0.5"
123.193 CT_DEBUG_strace=y
123.194 # CT_STRACE_V_4_5 is not set
124.1 --- a/samples/ia64-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
124.2 +++ b/samples/ia64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
124.3 @@ -1,7 +1,7 @@
124.4 #
124.5 # Automatically generated make config: don't edit
124.6 -# crosstool-NG version: svn_trunk@1291M
124.7 -# Sun Jan 4 23:55:22 2009
124.8 +# crosstool-NG version: svn_trunk@1453M
124.9 +# Sun Mar 29 12:40:00 2009
124.10 #
124.11
124.12 #
124.13 @@ -30,6 +30,7 @@
124.14 #
124.15 # Downloading
124.16 #
124.17 +# CT_FORBID_DOWNLOAD is not set
124.18 # CT_FORCE_DOWNLOAD is not set
124.19 # CT_USE_PROXY is not set
124.20 CT_PROXY_TYPE="none"
124.21 @@ -103,6 +104,7 @@
124.22 CT_ARCH_ia64=y
124.23 # CT_ARCH_mips is not set
124.24 # CT_ARCH_powerpc is not set
124.25 +# CT_ARCH_powerpc64 is not set
124.26 # CT_ARCH_sh is not set
124.27 # CT_ARCH_x86 is not set
124.28 # CT_ARCH_x86_64 is not set
124.29 @@ -119,7 +121,12 @@
124.30 # General toolchain options
124.31 #
124.32 CT_USE_SYSROOT=y
124.33 +CT_SYSROOT_DIR_PREFIX=""
124.34 CT_SHARED_LIBS=y
124.35 +
124.36 +#
124.37 +# Tuple completion and aliasing
124.38 +#
124.39 CT_TARGET_VENDOR="unknown"
124.40 CT_TARGET_ALIAS_SED_EXPR=""
124.41 CT_TARGET_ALIAS=""
124.42 @@ -158,14 +165,6 @@
124.43 # CT_KERNEL_V_2_6_23_17 is not set
124.44 # CT_KERNEL_V_2_6_24_7 is not set
124.45 # CT_KERNEL_V_2_6_25_20 is not set
124.46 -# CT_KERNEL_V_2_6_26 is not set
124.47 -# CT_KERNEL_V_2_6_26_1 is not set
124.48 -# CT_KERNEL_V_2_6_26_2 is not set
124.49 -# CT_KERNEL_V_2_6_26_3 is not set
124.50 -# CT_KERNEL_V_2_6_26_4 is not set
124.51 -# CT_KERNEL_V_2_6_26_5 is not set
124.52 -# CT_KERNEL_V_2_6_26_6 is not set
124.53 -# CT_KERNEL_V_2_6_26_7 is not set
124.54 CT_KERNEL_V_2_6_26_8=y
124.55 # CT_KERNEL_V_2_6_27 is not set
124.56 # CT_KERNEL_V_2_6_27_1 is not set
124.57 @@ -178,12 +177,33 @@
124.58 # CT_KERNEL_V_2_6_27_8 is not set
124.59 # CT_KERNEL_V_2_6_27_9 is not set
124.60 # CT_KERNEL_V_2_6_27_10 is not set
124.61 +# CT_KERNEL_V_2_6_27_11 is not set
124.62 +# CT_KERNEL_V_2_6_27_12 is not set
124.63 +# CT_KERNEL_V_2_6_27_13 is not set
124.64 +# CT_KERNEL_V_2_6_27_14 is not set
124.65 +# CT_KERNEL_V_2_6_27_15 is not set
124.66 +# CT_KERNEL_V_2_6_27_16 is not set
124.67 +# CT_KERNEL_V_2_6_27_17 is not set
124.68 +# CT_KERNEL_V_2_6_27_18 is not set
124.69 +# CT_KERNEL_V_2_6_27_19 is not set
124.70 +# CT_KERNEL_V_2_6_27_20 is not set
124.71 +# CT_KERNEL_V_2_6_27_21 is not set
124.72 # CT_KERNEL_V_2_6_28 is not set
124.73 +# CT_KERNEL_V_2_6_28_1 is not set
124.74 +# CT_KERNEL_V_2_6_28_2 is not set
124.75 +# CT_KERNEL_V_2_6_28_3 is not set
124.76 +# CT_KERNEL_V_2_6_28_4 is not set
124.77 +# CT_KERNEL_V_2_6_28_5 is not set
124.78 +# CT_KERNEL_V_2_6_28_6 is not set
124.79 +# CT_KERNEL_V_2_6_28_7 is not set
124.80 +# CT_KERNEL_V_2_6_28_8 is not set
124.81 +# CT_KERNEL_V_2_6_28_9 is not set
124.82 +# CT_KERNEL_V_2_6_29 is not set
124.83 CT_KERNEL_LINUX_VERBOSITY_0=y
124.84 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
124.85 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
124.86 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
124.87 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
124.88 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
124.89
124.90 #
124.91 # GMP and MPFR
124.92 @@ -195,14 +215,16 @@
124.93 CT_GMP_VERSION="4.2.4"
124.94 CT_GMP_CHECK=y
124.95 # CT_MPFR_V_2_3_1 is not set
124.96 -CT_MPFR_V_2_3_2=y
124.97 -CT_MPFR_VERSION="2.3.2"
124.98 +# CT_MPFR_V_2_3_2 is not set
124.99 +# CT_MPFR_V_2_4_0 is not set
124.100 +CT_MPFR_V_2_4_1=y
124.101 +CT_MPFR_VERSION="2.4.1"
124.102 CT_MPFR_CHECK=y
124.103
124.104 #
124.105 # binutils
124.106 #
124.107 -CT_BINUTILS_VERSION="2.19"
124.108 +CT_BINUTILS_VERSION="2.19.1"
124.109 # CT_BINUTILS_V_2_14 is not set
124.110 # CT_BINUTILS_V_2_15 is not set
124.111 # CT_BINUTILS_V_2_16_1 is not set
124.112 @@ -217,8 +239,11 @@
124.113 # CT_BINUTILS_V_2_18_91 is not set
124.114 # CT_BINUTILS_V_2_18_92 is not set
124.115 # CT_BINUTILS_V_2_18_93 is not set
124.116 -CT_BINUTILS_V_2_19=y
124.117 +# CT_BINUTILS_V_2_19 is not set
124.118 +CT_BINUTILS_V_2_19_1=y
124.119 # CT_BINUTILS_V_2_19_50_0_1 is not set
124.120 +# CT_BINUTILS_V_2_19_51_0_1 is not set
124.121 +# CT_BINUTILS_V_2_19_51_0_2 is not set
124.122 CT_BINUTILS_EXTRA_CONFIG=""
124.123 CT_BINUTILS_FOR_TARGET=y
124.124 CT_BINUTILS_FOR_TARGET_IBERTY=y
124.125 @@ -249,7 +274,10 @@
124.126 # CT_CC_V_4_3_0 is not set
124.127 # CT_CC_V_4_3_1 is not set
124.128 # CT_CC_V_4_3_2 is not set
124.129 +# CT_CC_V_4_3_3 is not set
124.130 +# CT_CC_V_4_4_0 is not set
124.131 # CT_CC_GCC_4_3_or_later is not set
124.132 +# CT_CC_GCC_4_4_snapshot is not set
124.133 CT_CC_CXA_ATEXIT=y
124.134 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
124.135 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
124.136 @@ -292,7 +320,22 @@
124.137 # CT_LIBC_V_2_9 is not set
124.138 # CT_LIBC_V_LATEST is not set
124.139 # CT_LIBC_V_date is not set
124.140 -# CT_LIBC_GLIBC_2_8_or_later is not set
124.141 +CT_LIBC_GLIBC_TARBALL=y
124.142 +# CT_LIBC_GLIBC_CVS is not set
124.143 +
124.144 +#
124.145 +# glibc/eglibc common options
124.146 +#
124.147 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
124.148 +CT_LIBC_GLIBC_CONFIGPARMS=""
124.149 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
124.150 +CT_LIBC_EXTRA_CC_ARGS=""
124.151 +# CT_LIBC_GLIBC_USE_PORTS is not set
124.152 +CT_LIBC_ADDONS_LIST=""
124.153 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
124.154 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
124.155 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
124.156 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
124.157
124.158 #
124.159 # Common C library options
124.160 @@ -305,27 +348,14 @@
124.161 # CT_THREADS_NONE is not set
124.162
124.163 #
124.164 -# glibc/eglibc common options
124.165 -#
124.166 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
124.167 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
124.168 -CT_LIBC_EXTRA_CC_ARGS=""
124.169 -# CT_LIBC_GLIBC_USE_PORTS is not set
124.170 -CT_LIBC_ADDONS_LIST=""
124.171 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
124.172 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
124.173 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
124.174 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
124.175 -
124.176 -#
124.177 # Tools facilities
124.178 #
124.179 CT_TOOL_libelf=y
124.180 CT_LIBELF_V_0_8_10=y
124.181 CT_LIBELF_VERSION="0.8.10"
124.182 CT_TOOL_sstrip=y
124.183 +CT_SSTRIP_BUILDROOT=y
124.184 # CT_SSTRIP_ELFKICKERS is not set
124.185 -CT_SSTRIP_BUILDROOT=y
124.186 CT_SSTRIP_FROM="buildroot"
124.187
124.188 #
124.189 @@ -359,10 +389,11 @@
124.190 CT_GDB_VERSION="6.8"
124.191
124.192 #
124.193 -# Native gdb needs the ncurses library on the target
124.194 +# Native gdb needs a native ncurses library
124.195 #
124.196 -CT_NCURSES_V_5_6=y
124.197 -CT_NCURSES_VERSION="5.6"
124.198 +# CT_NCURSES_V_5_6 is not set
124.199 +CT_NCURSES_V_5_7=y
124.200 +CT_NCURSES_VERSION="5.7"
124.201 # CT_DEBUG_ltrace is not set
124.202 CT_DEBUG_strace=y
124.203 # CT_STRACE_V_4_5 is not set
125.1 --- a/samples/mips-unknown-elf/crosstool.config Sat Apr 11 19:03:02 2009 +0000
125.2 +++ b/samples/mips-unknown-elf/crosstool.config Sun Apr 19 16:17:11 2009 +0000
125.3 @@ -1,7 +1,7 @@
125.4 #
125.5 # Automatically generated make config: don't edit
125.6 -# crosstool-NG version: svn_trunk@1291M
125.7 -# Sun Jan 4 23:55:40 2009
125.8 +# crosstool-NG version: svn_trunk@1453
125.9 +# Sun Mar 29 12:26:39 2009
125.10 #
125.11
125.12 #
125.13 @@ -30,6 +30,7 @@
125.14 #
125.15 # Downloading
125.16 #
125.17 +# CT_FORBID_DOWNLOAD is not set
125.18 # CT_FORCE_DOWNLOAD is not set
125.19 # CT_USE_PROXY is not set
125.20 CT_PROXY_TYPE="none"
125.21 @@ -99,6 +100,7 @@
125.22 # CT_ARCH_ia64 is not set
125.23 CT_ARCH_mips=y
125.24 # CT_ARCH_powerpc is not set
125.25 +# CT_ARCH_powerpc64 is not set
125.26 # CT_ARCH_sh is not set
125.27 # CT_ARCH_x86 is not set
125.28 # CT_ARCH_x86_64 is not set
125.29 @@ -115,6 +117,11 @@
125.30 # General toolchain options
125.31 #
125.32 CT_USE_SYSROOT=y
125.33 +CT_SYSROOT_DIR_PREFIX=""
125.34 +
125.35 +#
125.36 +# Tuple completion and aliasing
125.37 +#
125.38 CT_TARGET_VENDOR="unknown"
125.39 CT_TARGET_ALIAS_SED_EXPR=""
125.40 CT_TARGET_ALIAS=""
125.41 @@ -152,14 +159,16 @@
125.42 CT_GMP_VERSION="4.2.4"
125.43 CT_GMP_CHECK=y
125.44 # CT_MPFR_V_2_3_1 is not set
125.45 -CT_MPFR_V_2_3_2=y
125.46 -CT_MPFR_VERSION="2.3.2"
125.47 +# CT_MPFR_V_2_3_2 is not set
125.48 +# CT_MPFR_V_2_4_0 is not set
125.49 +CT_MPFR_V_2_4_1=y
125.50 +CT_MPFR_VERSION="2.4.1"
125.51 CT_MPFR_CHECK=y
125.52
125.53 #
125.54 # binutils
125.55 #
125.56 -CT_BINUTILS_VERSION="2.19"
125.57 +CT_BINUTILS_VERSION="2.19.1"
125.58 # CT_BINUTILS_V_2_14 is not set
125.59 # CT_BINUTILS_V_2_15 is not set
125.60 # CT_BINUTILS_V_2_16_1 is not set
125.61 @@ -174,8 +183,11 @@
125.62 # CT_BINUTILS_V_2_18_91 is not set
125.63 # CT_BINUTILS_V_2_18_92 is not set
125.64 # CT_BINUTILS_V_2_18_93 is not set
125.65 -CT_BINUTILS_V_2_19=y
125.66 +# CT_BINUTILS_V_2_19 is not set
125.67 +CT_BINUTILS_V_2_19_1=y
125.68 # CT_BINUTILS_V_2_19_50_0_1 is not set
125.69 +# CT_BINUTILS_V_2_19_51_0_1 is not set
125.70 +# CT_BINUTILS_V_2_19_51_0_2 is not set
125.71 CT_BINUTILS_EXTRA_CONFIG=""
125.72
125.73 #
125.74 @@ -203,7 +215,10 @@
125.75 # CT_CC_V_4_3_0 is not set
125.76 # CT_CC_V_4_3_1 is not set
125.77 CT_CC_V_4_3_2=y
125.78 +# CT_CC_V_4_3_3 is not set
125.79 +# CT_CC_V_4_4_0 is not set
125.80 CT_CC_GCC_4_3_or_later=y
125.81 +# CT_CC_GCC_4_4_snapshot is not set
125.82 CT_CC_CORE_EXTRA_CONFIG=""
125.83 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
125.84 CT_CC_BUGURL=""
125.85 @@ -217,10 +232,27 @@
125.86 #
125.87 # Additional supported languages:
125.88 #
125.89 -# CT_CC_LANG_CXX is not set
125.90 +CT_CC_LANG_CXX=y
125.91 CT_LIBC="none"
125.92
125.93 #
125.94 +# C-library
125.95 +#
125.96 +# CT_LIBC_eglibc is not set
125.97 +# CT_LIBC_glibc is not set
125.98 +# CT_LIBC_uClibc is not set
125.99 +
125.100 +#
125.101 +# Common C library options
125.102 +#
125.103 +# CT_LIBC_SUPPORT_NPTL is not set
125.104 +# CT_LIBC_SUPPORT_LINUXTHREADS is not set
125.105 +CT_THREADS="none"
125.106 +# CT_THREADS_NPTL is not set
125.107 +# CT_THREADS_LINUXTHREADS is not set
125.108 +CT_THREADS_NONE=y
125.109 +
125.110 +#
125.111 # Tools facilities
125.112 #
125.113 # CT_TOOL_libelf is not set
125.114 @@ -234,6 +266,14 @@
125.115 CT_DEBUG_gdb=y
125.116 CT_GDB_CROSS=y
125.117 # CT_GDB_CROSS_STATIC is not set
125.118 +
125.119 +#
125.120 +# In bare-metal, you'll need to
125.121 +#
125.122 +
125.123 +#
125.124 +# provide your own gdbserver stub.
125.125 +#
125.126 # CT_GDB_V_6_4 is not set
125.127 # CT_GDB_V_6_5 is not set
125.128 # CT_GDB_V_6_6 is not set
126.1 --- a/samples/mips-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000
126.2 +++ b/samples/mips-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000
126.3 @@ -1,7 +1,7 @@
126.4 #
126.5 # Automatically generated make config: don't edit
126.6 -# crosstool-NG version: svn_trunk@1291M
126.7 -# Sun Jan 4 23:55:50 2009
126.8 +# crosstool-NG version: svn_trunk@1453
126.9 +# Sun Mar 29 12:28:23 2009
126.10 #
126.11
126.12 #
126.13 @@ -30,6 +30,7 @@
126.14 #
126.15 # Downloading
126.16 #
126.17 +# CT_FORBID_DOWNLOAD is not set
126.18 # CT_FORCE_DOWNLOAD is not set
126.19 # CT_USE_PROXY is not set
126.20 CT_PROXY_TYPE="none"
126.21 @@ -105,6 +106,7 @@
126.22 # CT_ARCH_ia64 is not set
126.23 CT_ARCH_mips=y
126.24 # CT_ARCH_powerpc is not set
126.25 +# CT_ARCH_powerpc64 is not set
126.26 # CT_ARCH_sh is not set
126.27 # CT_ARCH_x86 is not set
126.28 # CT_ARCH_x86_64 is not set
126.29 @@ -121,7 +123,12 @@
126.30 # General toolchain options
126.31 #
126.32 CT_USE_SYSROOT=y
126.33 +CT_SYSROOT_DIR_PREFIX=""
126.34 CT_SHARED_LIBS=y
126.35 +
126.36 +#
126.37 +# Tuple completion and aliasing
126.38 +#
126.39 CT_TARGET_VENDOR="unknown"
126.40 CT_TARGET_ALIAS_SED_EXPR=""
126.41 CT_TARGET_ALIAS=""
126.42 @@ -147,7 +154,7 @@
126.43 #
126.44 # CT_BARE_METAL is not set
126.45 CT_KERNEL="linux"
126.46 -CT_KERNEL_VERSION="2.6.26.8"
126.47 +CT_KERNEL_VERSION="2.6.29"
126.48 # CT_KERNEL_bare_metal is not set
126.49 CT_KERNEL_linux=y
126.50 CT_KERNEL_LINUX_INSTALL=y
126.51 @@ -160,15 +167,7 @@
126.52 # CT_KERNEL_V_2_6_23_17 is not set
126.53 # CT_KERNEL_V_2_6_24_7 is not set
126.54 # CT_KERNEL_V_2_6_25_20 is not set
126.55 -# CT_KERNEL_V_2_6_26 is not set
126.56 -# CT_KERNEL_V_2_6_26_1 is not set
126.57 -# CT_KERNEL_V_2_6_26_2 is not set
126.58 -# CT_KERNEL_V_2_6_26_3 is not set
126.59 -# CT_KERNEL_V_2_6_26_4 is not set
126.60 -# CT_KERNEL_V_2_6_26_5 is not set
126.61 -# CT_KERNEL_V_2_6_26_6 is not set
126.62 -# CT_KERNEL_V_2_6_26_7 is not set
126.63 -CT_KERNEL_V_2_6_26_8=y
126.64 +# CT_KERNEL_V_2_6_26_8 is not set
126.65 # CT_KERNEL_V_2_6_27 is not set
126.66 # CT_KERNEL_V_2_6_27_1 is not set
126.67 # CT_KERNEL_V_2_6_27_2 is not set
126.68 @@ -180,12 +179,33 @@
126.69 # CT_KERNEL_V_2_6_27_8 is not set
126.70 # CT_KERNEL_V_2_6_27_9 is not set
126.71 # CT_KERNEL_V_2_6_27_10 is not set
126.72 +# CT_KERNEL_V_2_6_27_11 is not set
126.73 +# CT_KERNEL_V_2_6_27_12 is not set
126.74 +# CT_KERNEL_V_2_6_27_13 is not set
126.75 +# CT_KERNEL_V_2_6_27_14 is not set
126.76 +# CT_KERNEL_V_2_6_27_15 is not set
126.77 +# CT_KERNEL_V_2_6_27_16 is not set
126.78 +# CT_KERNEL_V_2_6_27_17 is not set
126.79 +# CT_KERNEL_V_2_6_27_18 is not set
126.80 +# CT_KERNEL_V_2_6_27_19 is not set
126.81 +# CT_KERNEL_V_2_6_27_20 is not set
126.82 +# CT_KERNEL_V_2_6_27_21 is not set
126.83 # CT_KERNEL_V_2_6_28 is not set
126.84 +# CT_KERNEL_V_2_6_28_1 is not set
126.85 +# CT_KERNEL_V_2_6_28_2 is not set
126.86 +# CT_KERNEL_V_2_6_28_3 is not set
126.87 +# CT_KERNEL_V_2_6_28_4 is not set
126.88 +# CT_KERNEL_V_2_6_28_5 is not set
126.89 +# CT_KERNEL_V_2_6_28_6 is not set
126.90 +# CT_KERNEL_V_2_6_28_7 is not set
126.91 +# CT_KERNEL_V_2_6_28_8 is not set
126.92 +# CT_KERNEL_V_2_6_28_9 is not set
126.93 +CT_KERNEL_V_2_6_29=y
126.94 CT_KERNEL_LINUX_VERBOSITY_0=y
126.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
126.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
126.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
126.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
126.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
126.100
126.101 #
126.102 # GMP and MPFR
126.103 @@ -197,14 +217,16 @@
126.104 CT_GMP_VERSION="4.2.4"
126.105 CT_GMP_CHECK=y
126.106 # CT_MPFR_V_2_3_1 is not set
126.107 -CT_MPFR_V_2_3_2=y
126.108 -CT_MPFR_VERSION="2.3.2"
126.109 +# CT_MPFR_V_2_3_2 is not set
126.110 +# CT_MPFR_V_2_4_0 is not set
126.111 +CT_MPFR_V_2_4_1=y
126.112 +CT_MPFR_VERSION="2.4.1"
126.113 CT_MPFR_CHECK=y
126.114
126.115 #
126.116 # binutils
126.117 #
126.118 -CT_BINUTILS_VERSION="2.19"
126.119 +CT_BINUTILS_VERSION="2.19.1"
126.120 # CT_BINUTILS_V_2_14 is not set
126.121 # CT_BINUTILS_V_2_15 is not set
126.122 # CT_BINUTILS_V_2_16_1 is not set
126.123 @@ -219,8 +241,11 @@
126.124 # CT_BINUTILS_V_2_18_91 is not set
126.125 # CT_BINUTILS_V_2_18_92 is not set
126.126 # CT_BINUTILS_V_2_18_93 is not set
126.127 -CT_BINUTILS_V_2_19=y
126.128 +# CT_BINUTILS_V_2_19 is not set
126.129 +CT_BINUTILS_V_2_19_1=y
126.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
126.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
126.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
126.133 CT_BINUTILS_EXTRA_CONFIG=""
126.134 CT_BINUTILS_FOR_TARGET=y
126.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
126.136 @@ -251,7 +276,10 @@
126.137 # CT_CC_V_4_3_0 is not set
126.138 # CT_CC_V_4_3_1 is not set
126.139 CT_CC_V_4_3_2=y
126.140 +# CT_CC_V_4_3_3 is not set
126.141 +# CT_CC_V_4_4_0 is not set
126.142 CT_CC_GCC_4_3_or_later=y
126.143 +# CT_CC_GCC_4_4_snapshot is not set
126.144 CT_CC_CXA_ATEXIT=y
126.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
126.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
126.147 @@ -278,7 +306,7 @@
126.148 #
126.149 # C-library
126.150 #
126.151 -CT_LIBC_VERSION="0.9.30"
126.152 +CT_LIBC_VERSION="0.9.30.1"
126.153 # CT_LIBC_eglibc is not set
126.154 # CT_LIBC_glibc is not set
126.155 CT_LIBC_uClibc=y
126.156 @@ -287,7 +315,8 @@
126.157 # CT_LIBC_V_0_9_28_2 is not set
126.158 # CT_LIBC_V_0_9_28_3 is not set
126.159 # CT_LIBC_V_0_9_29 is not set
126.160 -CT_LIBC_V_0_9_30=y
126.161 +# CT_LIBC_V_0_9_30 is not set
126.162 +CT_LIBC_V_0_9_30_1=y
126.163 # CT_LIBC_V_snapshot is not set
126.164 # CT_LIBC_V_specific_date is not set
126.165 # CT_LIBC_UCLIBC_PARALLEL is not set
126.166 @@ -298,6 +327,7 @@
126.167 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
126.168 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
126.169 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
126.170 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
126.171 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
126.172 # CT_LIBC_UCLIBC_LOCALES is not set
126.173
126.174 @@ -316,8 +346,8 @@
126.175 #
126.176 # CT_TOOL_libelf is not set
126.177 CT_TOOL_sstrip=y
126.178 +CT_SSTRIP_BUILDROOT=y
126.179 # CT_SSTRIP_ELFKICKERS is not set
126.180 -CT_SSTRIP_BUILDROOT=y
126.181 CT_SSTRIP_FROM="buildroot"
126.182
126.183 #
126.184 @@ -353,10 +383,11 @@
126.185 CT_GDB_VERSION="6.8"
126.186
126.187 #
126.188 -# Native gdb needs the ncurses library on the target
126.189 +# Native gdb needs a native ncurses library
126.190 #
126.191 -CT_NCURSES_V_5_6=y
126.192 -CT_NCURSES_VERSION="5.6"
126.193 +# CT_NCURSES_V_5_6 is not set
126.194 +CT_NCURSES_V_5_7=y
126.195 +CT_NCURSES_VERSION="5.7"
126.196 # CT_DEBUG_ltrace is not set
126.197 CT_DEBUG_strace=y
126.198 # CT_STRACE_V_4_5 is not set
127.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
127.2 +++ b/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000
127.3 @@ -0,0 +1,254 @@
127.4 +#
127.5 +# Automatically generated make config: don't edit
127.6 +# Version: 0.9.30
127.7 +# Mon Nov 17 09:36:00 2008
127.8 +#
127.9 +# TARGET_alpha is not set
127.10 +# TARGET_arm is not set
127.11 +# TARGET_avr32 is not set
127.12 +# TARGET_bfin is not set
127.13 +# TARGET_cris is not set
127.14 +# TARGET_e1 is not set
127.15 +# TARGET_frv is not set
127.16 +# TARGET_h8300 is not set
127.17 +# TARGET_hppa is not set
127.18 +# TARGET_i386 is not set
127.19 +# TARGET_i960 is not set
127.20 +# TARGET_ia64 is not set
127.21 +# TARGET_m68k is not set
127.22 +# TARGET_microblaze is not set
127.23 +TARGET_mips=y
127.24 +# TARGET_nios is not set
127.25 +# TARGET_nios2 is not set
127.26 +# TARGET_powerpc is not set
127.27 +# TARGET_sh is not set
127.28 +# TARGET_sh64 is not set
127.29 +# TARGET_sparc is not set
127.30 +# TARGET_v850 is not set
127.31 +# TARGET_vax is not set
127.32 +# TARGET_x86_64 is not set
127.33 +# TARGET_xtensa is not set
127.34 +
127.35 +#
127.36 +# Target Architecture Features and Options
127.37 +#
127.38 +TARGET_ARCH="mips"
127.39 +FORCE_OPTIONS_FOR_ARCH=y
127.40 +ARCH_CFLAGS="-mno-split-addresses"
127.41 +# CONFIG_ARM_OABI is not set
127.42 +# CONFIG_ARM_EABI is not set
127.43 +# CONFIG_GENERIC_ARM is not set
127.44 +# CONFIG_ARM610 is not set
127.45 +# CONFIG_ARM710 is not set
127.46 +# CONFIG_ARM7TDMI is not set
127.47 +# CONFIG_ARM720T is not set
127.48 +# CONFIG_ARM920T is not set
127.49 +# CONFIG_ARM922T is not set
127.50 +# CONFIG_ARM926T is not set
127.51 +# CONFIG_ARM10T is not set
127.52 +# CONFIG_ARM1136JF_S is not set
127.53 +# CONFIG_ARM1176JZ_S is not set
127.54 +# CONFIG_ARM1176JZF_S is not set
127.55 +# CONFIG_ARM_CORTEX_M3 is not set
127.56 +# CONFIG_ARM_CORTEX_M1 is not set
127.57 +# CONFIG_ARM_SA110 is not set
127.58 +# CONFIG_ARM_SA1100 is not set
127.59 +# CONFIG_ARM_XSCALE is not set
127.60 +# CONFIG_ARM_IWMMXT is not set
127.61 +CONFIG_MIPS_O32_ABI=y
127.62 +# CONFIG_MIPS_N32_ABI is not set
127.63 +# CONFIG_MIPS_N64_ABI is not set
127.64 +CONFIG_MIPS_ISA_1=y
127.65 +# CONFIG_MIPS_ISA_2 is not set
127.66 +# CONFIG_MIPS_ISA_3 is not set
127.67 +# CONFIG_MIPS_ISA_4 is not set
127.68 +# CONFIG_MIPS_ISA_MIPS32 is not set
127.69 +# CONFIG_MIPS_ISA_MIPS32R2 is not set
127.70 +# CONFIG_MIPS_ISA_MIPS64 is not set
127.71 +TARGET_SUBARCH=""
127.72 +
127.73 +#
127.74 +# Using ELF file format
127.75 +#
127.76 +ARCH_ANY_ENDIAN=y
127.77 +ARCH_BIG_ENDIAN=y
127.78 +ARCH_WANTS_BIG_ENDIAN=y
127.79 +# ARCH_WANTS_LITTLE_ENDIAN is not set
127.80 +ARCH_HAS_MMU=y
127.81 +ARCH_USE_MMU=y
127.82 +UCLIBC_HAS_FLOATS=y
127.83 +# UCLIBC_HAS_FPU is not set
127.84 +UCLIBC_HAS_SOFT_FLOAT=y
127.85 +DO_C99_MATH=y
127.86 +UCLIBC_HAS_FENV=y
127.87 +KERNEL_HEADERS="/usr/include"
127.88 +HAVE_DOT_CONFIG=y
127.89 +
127.90 +#
127.91 +# General Library Settings
127.92 +#
127.93 +# HAVE_NO_PIC is not set
127.94 +DOPIC=y
127.95 +# ARCH_HAS_NO_SHARED is not set
127.96 +# ARCH_HAS_NO_LDSO is not set
127.97 +HAVE_SHARED=y
127.98 +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
127.99 +LDSO_LDD_SUPPORT=y
127.100 +LDSO_CACHE_SUPPORT=y
127.101 +# LDSO_PRELOAD_FILE_SUPPORT is not set
127.102 +LDSO_BASE_FILENAME="ld.so"
127.103 +UCLIBC_STATIC_LDCONFIG=y
127.104 +# LDSO_RUNPATH is not set
127.105 +UCLIBC_CTOR_DTOR=y
127.106 +# LDSO_GNU_HASH_SUPPORT is not set
127.107 +# HAS_NO_THREADS is not set
127.108 +UCLIBC_HAS_THREADS=y
127.109 +# PTHREADS_DEBUG_SUPPORT is not set
127.110 +LINUXTHREADS_OLD=y
127.111 +UCLIBC_HAS_SYSLOG=y
127.112 +UCLIBC_HAS_LFS=y
127.113 +# MALLOC is not set
127.114 +# MALLOC_SIMPLE is not set
127.115 +MALLOC_STANDARD=y
127.116 +# MALLOC_GLIBC_COMPAT is not set
127.117 +UCLIBC_DYNAMIC_ATEXIT=y
127.118 +# COMPAT_ATEXIT is not set
127.119 +# UCLIBC_SUSV3_LEGACY is not set
127.120 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
127.121 +# UCLIBC_HAS_STUBS is not set
127.122 +UCLIBC_HAS_SHADOW=y
127.123 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
127.124 +UCLIBC_HAS_PTY=y
127.125 +ASSUME_DEVPTS=y
127.126 +UNIX98PTY_ONLY=y
127.127 +# UCLIBC_HAS_GETPT is not set
127.128 +UCLIBC_HAS_TM_EXTENSIONS=y
127.129 +UCLIBC_HAS_TZ_CACHING=y
127.130 +UCLIBC_HAS_TZ_FILE=y
127.131 +UCLIBC_HAS_TZ_FILE_READ_MANY=y
127.132 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
127.133 +
127.134 +#
127.135 +# Advanced Library Settings
127.136 +#
127.137 +UCLIBC_PWD_BUFFER_SIZE=256
127.138 +UCLIBC_GRP_BUFFER_SIZE=256
127.139 +
127.140 +#
127.141 +# Support various families of functions
127.142 +#
127.143 +UCLIBC_LINUX_MODULE_24=y
127.144 +UCLIBC_LINUX_SPECIFIC=y
127.145 +UCLIBC_HAS_GNU_ERROR=y
127.146 +# UCLIBC_BSD_SPECIFIC is not set
127.147 +UCLIBC_HAS_BSD_ERR=y
127.148 +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
127.149 +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
127.150 +# UCLIBC_NTP_LEGACY is not set
127.151 +# UCLIBC_SV4_DEPRECATED is not set
127.152 +UCLIBC_HAS_REALTIME=y
127.153 +UCLIBC_HAS_ADVANCED_REALTIME=y
127.154 +UCLIBC_HAS_EPOLL=y
127.155 +UCLIBC_HAS_XATTR=y
127.156 +UCLIBC_HAS_PROFILING=y
127.157 +UCLIBC_HAS_CRYPT_IMPL=y
127.158 +UCLIBC_HAS_CRYPT=y
127.159 +UCLIBC_HAS_NETWORK_SUPPORT=y
127.160 +UCLIBC_HAS_SOCKET=y
127.161 +UCLIBC_HAS_IPV4=y
127.162 +# UCLIBC_HAS_IPV6 is not set
127.163 +UCLIBC_HAS_RPC=y
127.164 +UCLIBC_HAS_FULL_RPC=y
127.165 +UCLIBC_HAS_REENTRANT_RPC=y
127.166 +UCLIBC_USE_NETLINK=y
127.167 +UCLIBC_SUPPORT_AI_ADDRCONFIG=y
127.168 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
127.169 +
127.170 +#
127.171 +# String and Stdio Support
127.172 +#
127.173 +UCLIBC_HAS_STRING_GENERIC_OPT=y
127.174 +UCLIBC_HAS_STRING_ARCH_OPT=y
127.175 +UCLIBC_HAS_CTYPE_TABLES=y
127.176 +UCLIBC_HAS_CTYPE_SIGNED=y
127.177 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
127.178 +# UCLIBC_HAS_CTYPE_CHECKED is not set
127.179 +UCLIBC_HAS_CTYPE_ENFORCED=y
127.180 +# UCLIBC_HAS_WCHAR is not set
127.181 +# UCLIBC_HAS_LOCALE is not set
127.182 +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
127.183 +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
127.184 +# USE_OLD_VFPRINTF is not set
127.185 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
127.186 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
127.187 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
127.188 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
127.189 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
127.190 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
127.191 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
127.192 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
127.193 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
127.194 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
127.195 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
127.196 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
127.197 +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
127.198 +UCLIBC_HAS_STDIO_GETC_MACRO=y
127.199 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
127.200 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
127.201 +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
127.202 +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
127.203 +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
127.204 +UCLIBC_HAS_PRINTF_M_SPEC=y
127.205 +UCLIBC_HAS_ERRNO_MESSAGES=y
127.206 +# UCLIBC_HAS_SYS_ERRLIST is not set
127.207 +UCLIBC_HAS_SIGNUM_MESSAGES=y
127.208 +# UCLIBC_HAS_SYS_SIGLIST is not set
127.209 +UCLIBC_HAS_GNU_GETOPT=y
127.210 +UCLIBC_HAS_GNU_GETSUBOPT=y
127.211 +
127.212 +#
127.213 +# Big and Tall
127.214 +#
127.215 +UCLIBC_HAS_REGEX=y
127.216 +UCLIBC_HAS_REGEX_OLD=y
127.217 +UCLIBC_HAS_FNMATCH=y
127.218 +UCLIBC_HAS_FNMATCH_OLD=y
127.219 +# UCLIBC_HAS_WORDEXP is not set
127.220 +# UCLIBC_HAS_FTW is not set
127.221 +UCLIBC_HAS_GLOB=y
127.222 +UCLIBC_HAS_GNU_GLOB=y
127.223 +
127.224 +#
127.225 +# Library Installation Options
127.226 +#
127.227 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
127.228 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
127.229 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
127.230 +
127.231 +#
127.232 +# Security options
127.233 +#
127.234 +# UCLIBC_BUILD_PIE is not set
127.235 +# UCLIBC_HAS_ARC4RANDOM is not set
127.236 +# HAVE_NO_SSP is not set
127.237 +# UCLIBC_HAS_SSP is not set
127.238 +UCLIBC_BUILD_RELRO=y
127.239 +# UCLIBC_BUILD_NOW is not set
127.240 +UCLIBC_BUILD_NOEXECSTACK=y
127.241 +
127.242 +#
127.243 +# uClibc development/debugging options
127.244 +#
127.245 +CROSS_COMPILER_PREFIX=""
127.246 +UCLIBC_EXTRA_CFLAGS=""
127.247 +# DODEBUG is not set
127.248 +# DODEBUG_PT is not set
127.249 +# DOSTRIP is not set
127.250 +# DOASSERTS is not set
127.251 +# SUPPORT_LD_DEBUG is not set
127.252 +# SUPPORT_LD_DEBUG_EARLY is not set
127.253 +# UCLIBC_MALLOC_DEBUGGING is not set
127.254 +WARNINGS="-Wall"
127.255 +# EXTRA_WARNINGS is not set
127.256 +# DOMULTI is not set
127.257 +# UCLIBC_MJN3_ONLY is not set
128.1 --- a/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000
128.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
128.3 @@ -1,254 +0,0 @@
128.4 -#
128.5 -# Automatically generated make config: don't edit
128.6 -# Version: 0.9.30
128.7 -# Mon Nov 17 09:36:00 2008
128.8 -#
128.9 -# TARGET_alpha is not set
128.10 -# TARGET_arm is not set
128.11 -# TARGET_avr32 is not set
128.12 -# TARGET_bfin is not set
128.13 -# TARGET_cris is not set
128.14 -# TARGET_e1 is not set
128.15 -# TARGET_frv is not set
128.16 -# TARGET_h8300 is not set
128.17 -# TARGET_hppa is not set
128.18 -# TARGET_i386 is not set
128.19 -# TARGET_i960 is not set
128.20 -# TARGET_ia64 is not set
128.21 -# TARGET_m68k is not set
128.22 -# TARGET_microblaze is not set
128.23 -TARGET_mips=y
128.24 -# TARGET_nios is not set
128.25 -# TARGET_nios2 is not set
128.26 -# TARGET_powerpc is not set
128.27 -# TARGET_sh is not set
128.28 -# TARGET_sh64 is not set
128.29 -# TARGET_sparc is not set
128.30 -# TARGET_v850 is not set
128.31 -# TARGET_vax is not set
128.32 -# TARGET_x86_64 is not set
128.33 -# TARGET_xtensa is not set
128.34 -
128.35 -#
128.36 -# Target Architecture Features and Options
128.37 -#
128.38 -TARGET_ARCH="mips"
128.39 -FORCE_OPTIONS_FOR_ARCH=y
128.40 -ARCH_CFLAGS="-mno-split-addresses"
128.41 -# CONFIG_ARM_OABI is not set
128.42 -# CONFIG_ARM_EABI is not set
128.43 -# CONFIG_GENERIC_ARM is not set
128.44 -# CONFIG_ARM610 is not set
128.45 -# CONFIG_ARM710 is not set
128.46 -# CONFIG_ARM7TDMI is not set
128.47 -# CONFIG_ARM720T is not set
128.48 -# CONFIG_ARM920T is not set
128.49 -# CONFIG_ARM922T is not set
128.50 -# CONFIG_ARM926T is not set
128.51 -# CONFIG_ARM10T is not set
128.52 -# CONFIG_ARM1136JF_S is not set
128.53 -# CONFIG_ARM1176JZ_S is not set
128.54 -# CONFIG_ARM1176JZF_S is not set
128.55 -# CONFIG_ARM_CORTEX_M3 is not set
128.56 -# CONFIG_ARM_CORTEX_M1 is not set
128.57 -# CONFIG_ARM_SA110 is not set
128.58 -# CONFIG_ARM_SA1100 is not set
128.59 -# CONFIG_ARM_XSCALE is not set
128.60 -# CONFIG_ARM_IWMMXT is not set
128.61 -CONFIG_MIPS_O32_ABI=y
128.62 -# CONFIG_MIPS_N32_ABI is not set
128.63 -# CONFIG_MIPS_N64_ABI is not set
128.64 -CONFIG_MIPS_ISA_1=y
128.65 -# CONFIG_MIPS_ISA_2 is not set
128.66 -# CONFIG_MIPS_ISA_3 is not set
128.67 -# CONFIG_MIPS_ISA_4 is not set
128.68 -# CONFIG_MIPS_ISA_MIPS32 is not set
128.69 -# CONFIG_MIPS_ISA_MIPS32R2 is not set
128.70 -# CONFIG_MIPS_ISA_MIPS64 is not set
128.71 -TARGET_SUBARCH=""
128.72 -
128.73 -#
128.74 -# Using ELF file format
128.75 -#
128.76 -ARCH_ANY_ENDIAN=y
128.77 -ARCH_BIG_ENDIAN=y
128.78 -ARCH_WANTS_BIG_ENDIAN=y
128.79 -# ARCH_WANTS_LITTLE_ENDIAN is not set
128.80 -ARCH_HAS_MMU=y
128.81 -ARCH_USE_MMU=y
128.82 -UCLIBC_HAS_FLOATS=y
128.83 -# UCLIBC_HAS_FPU is not set
128.84 -UCLIBC_HAS_SOFT_FLOAT=y
128.85 -DO_C99_MATH=y
128.86 -UCLIBC_HAS_FENV=y
128.87 -KERNEL_HEADERS="/usr/include"
128.88 -HAVE_DOT_CONFIG=y
128.89 -
128.90 -#
128.91 -# General Library Settings
128.92 -#
128.93 -# HAVE_NO_PIC is not set
128.94 -DOPIC=y
128.95 -# ARCH_HAS_NO_SHARED is not set
128.96 -# ARCH_HAS_NO_LDSO is not set
128.97 -HAVE_SHARED=y
128.98 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
128.99 -LDSO_LDD_SUPPORT=y
128.100 -LDSO_CACHE_SUPPORT=y
128.101 -# LDSO_PRELOAD_FILE_SUPPORT is not set
128.102 -LDSO_BASE_FILENAME="ld.so"
128.103 -UCLIBC_STATIC_LDCONFIG=y
128.104 -# LDSO_RUNPATH is not set
128.105 -UCLIBC_CTOR_DTOR=y
128.106 -# LDSO_GNU_HASH_SUPPORT is not set
128.107 -# HAS_NO_THREADS is not set
128.108 -UCLIBC_HAS_THREADS=y
128.109 -# PTHREADS_DEBUG_SUPPORT is not set
128.110 -LINUXTHREADS_OLD=y
128.111 -UCLIBC_HAS_SYSLOG=y
128.112 -UCLIBC_HAS_LFS=y
128.113 -# MALLOC is not set
128.114 -# MALLOC_SIMPLE is not set
128.115 -MALLOC_STANDARD=y
128.116 -# MALLOC_GLIBC_COMPAT is not set
128.117 -UCLIBC_DYNAMIC_ATEXIT=y
128.118 -# COMPAT_ATEXIT is not set
128.119 -# UCLIBC_SUSV3_LEGACY is not set
128.120 -# UCLIBC_SUSV3_LEGACY_MACROS is not set
128.121 -# UCLIBC_HAS_STUBS is not set
128.122 -UCLIBC_HAS_SHADOW=y
128.123 -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
128.124 -UCLIBC_HAS_PTY=y
128.125 -ASSUME_DEVPTS=y
128.126 -UNIX98PTY_ONLY=y
128.127 -# UCLIBC_HAS_GETPT is not set
128.128 -UCLIBC_HAS_TM_EXTENSIONS=y
128.129 -UCLIBC_HAS_TZ_CACHING=y
128.130 -UCLIBC_HAS_TZ_FILE=y
128.131 -UCLIBC_HAS_TZ_FILE_READ_MANY=y
128.132 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
128.133 -
128.134 -#
128.135 -# Advanced Library Settings
128.136 -#
128.137 -UCLIBC_PWD_BUFFER_SIZE=256
128.138 -UCLIBC_GRP_BUFFER_SIZE=256
128.139 -
128.140 -#
128.141 -# Support various families of functions
128.142 -#
128.143 -UCLIBC_LINUX_MODULE_24=y
128.144 -UCLIBC_LINUX_SPECIFIC=y
128.145 -UCLIBC_HAS_GNU_ERROR=y
128.146 -# UCLIBC_BSD_SPECIFIC is not set
128.147 -UCLIBC_HAS_BSD_ERR=y
128.148 -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
128.149 -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
128.150 -# UCLIBC_NTP_LEGACY is not set
128.151 -# UCLIBC_SV4_DEPRECATED is not set
128.152 -UCLIBC_HAS_REALTIME=y
128.153 -UCLIBC_HAS_ADVANCED_REALTIME=y
128.154 -UCLIBC_HAS_EPOLL=y
128.155 -UCLIBC_HAS_XATTR=y
128.156 -UCLIBC_HAS_PROFILING=y
128.157 -UCLIBC_HAS_CRYPT_IMPL=y
128.158 -UCLIBC_HAS_CRYPT=y
128.159 -UCLIBC_HAS_NETWORK_SUPPORT=y
128.160 -UCLIBC_HAS_SOCKET=y
128.161 -UCLIBC_HAS_IPV4=y
128.162 -# UCLIBC_HAS_IPV6 is not set
128.163 -UCLIBC_HAS_RPC=y
128.164 -UCLIBC_HAS_FULL_RPC=y
128.165 -UCLIBC_HAS_REENTRANT_RPC=y
128.166 -UCLIBC_USE_NETLINK=y
128.167 -UCLIBC_SUPPORT_AI_ADDRCONFIG=y
128.168 -# UCLIBC_HAS_BSD_RES_CLOSE is not set
128.169 -
128.170 -#
128.171 -# String and Stdio Support
128.172 -#
128.173 -UCLIBC_HAS_STRING_GENERIC_OPT=y
128.174 -UCLIBC_HAS_STRING_ARCH_OPT=y
128.175 -UCLIBC_HAS_CTYPE_TABLES=y
128.176 -UCLIBC_HAS_CTYPE_SIGNED=y
128.177 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
128.178 -# UCLIBC_HAS_CTYPE_CHECKED is not set
128.179 -UCLIBC_HAS_CTYPE_ENFORCED=y
128.180 -# UCLIBC_HAS_WCHAR is not set
128.181 -# UCLIBC_HAS_LOCALE is not set
128.182 -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
128.183 -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
128.184 -# USE_OLD_VFPRINTF is not set
128.185 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
128.186 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
128.187 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
128.188 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
128.189 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
128.190 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
128.191 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
128.192 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
128.193 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
128.194 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
128.195 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
128.196 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
128.197 -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
128.198 -UCLIBC_HAS_STDIO_GETC_MACRO=y
128.199 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
128.200 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
128.201 -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
128.202 -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
128.203 -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
128.204 -UCLIBC_HAS_PRINTF_M_SPEC=y
128.205 -UCLIBC_HAS_ERRNO_MESSAGES=y
128.206 -# UCLIBC_HAS_SYS_ERRLIST is not set
128.207 -UCLIBC_HAS_SIGNUM_MESSAGES=y
128.208 -# UCLIBC_HAS_SYS_SIGLIST is not set
128.209 -UCLIBC_HAS_GNU_GETOPT=y
128.210 -UCLIBC_HAS_GNU_GETSUBOPT=y
128.211 -
128.212 -#
128.213 -# Big and Tall
128.214 -#
128.215 -UCLIBC_HAS_REGEX=y
128.216 -UCLIBC_HAS_REGEX_OLD=y
128.217 -UCLIBC_HAS_FNMATCH=y
128.218 -UCLIBC_HAS_FNMATCH_OLD=y
128.219 -# UCLIBC_HAS_WORDEXP is not set
128.220 -# UCLIBC_HAS_FTW is not set
128.221 -UCLIBC_HAS_GLOB=y
128.222 -UCLIBC_HAS_GNU_GLOB=y
128.223 -
128.224 -#
128.225 -# Library Installation Options
128.226 -#
128.227 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
128.228 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
128.229 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
128.230 -
128.231 -#
128.232 -# Security options
128.233 -#
128.234 -# UCLIBC_BUILD_PIE is not set
128.235 -# UCLIBC_HAS_ARC4RANDOM is not set
128.236 -# HAVE_NO_SSP is not set
128.237 -# UCLIBC_HAS_SSP is not set
128.238 -UCLIBC_BUILD_RELRO=y
128.239 -# UCLIBC_BUILD_NOW is not set
128.240 -UCLIBC_BUILD_NOEXECSTACK=y
128.241 -
128.242 -#
128.243 -# uClibc development/debugging options
128.244 -#
128.245 -CROSS_COMPILER_PREFIX=""
128.246 -UCLIBC_EXTRA_CFLAGS=""
128.247 -# DODEBUG is not set
128.248 -# DODEBUG_PT is not set
128.249 -# DOSTRIP is not set
128.250 -# DOASSERTS is not set
128.251 -# SUPPORT_LD_DEBUG is not set
128.252 -# SUPPORT_LD_DEBUG_EARLY is not set
128.253 -# UCLIBC_MALLOC_DEBUGGING is not set
128.254 -WARNINGS="-Wall"
128.255 -# EXTRA_WARNINGS is not set
128.256 -# DOMULTI is not set
128.257 -# UCLIBC_MJN3_ONLY is not set
129.1 --- a/samples/mipsel-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
129.2 +++ b/samples/mipsel-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
129.3 @@ -1,7 +1,7 @@
129.4 #
129.5 # Automatically generated make config: don't edit
129.6 -# crosstool-NG version: svn_trunk@1291M
129.7 -# Sun Jan 4 23:56:04 2009
129.8 +# crosstool-NG version: svn_trunk@1453
129.9 +# Sun Mar 29 12:29:39 2009
129.10 #
129.11
129.12 #
129.13 @@ -30,6 +30,7 @@
129.14 #
129.15 # Downloading
129.16 #
129.17 +# CT_FORBID_DOWNLOAD is not set
129.18 # CT_FORCE_DOWNLOAD is not set
129.19 # CT_USE_PROXY is not set
129.20 CT_PROXY_TYPE="none"
129.21 @@ -105,6 +106,7 @@
129.22 # CT_ARCH_ia64 is not set
129.23 CT_ARCH_mips=y
129.24 # CT_ARCH_powerpc is not set
129.25 +# CT_ARCH_powerpc64 is not set
129.26 # CT_ARCH_sh is not set
129.27 # CT_ARCH_x86 is not set
129.28 # CT_ARCH_x86_64 is not set
129.29 @@ -121,7 +123,12 @@
129.30 # General toolchain options
129.31 #
129.32 CT_USE_SYSROOT=y
129.33 +CT_SYSROOT_DIR_PREFIX=""
129.34 CT_SHARED_LIBS=y
129.35 +
129.36 +#
129.37 +# Tuple completion and aliasing
129.38 +#
129.39 CT_TARGET_VENDOR="unknown"
129.40 CT_TARGET_ALIAS_SED_EXPR=""
129.41 CT_TARGET_ALIAS=""
129.42 @@ -147,7 +154,7 @@
129.43 #
129.44 # CT_BARE_METAL is not set
129.45 CT_KERNEL="linux"
129.46 -CT_KERNEL_VERSION="2.6.26.8"
129.47 +CT_KERNEL_VERSION="2.6.29"
129.48 # CT_KERNEL_bare_metal is not set
129.49 CT_KERNEL_linux=y
129.50 CT_KERNEL_LINUX_INSTALL=y
129.51 @@ -160,15 +167,7 @@
129.52 # CT_KERNEL_V_2_6_23_17 is not set
129.53 # CT_KERNEL_V_2_6_24_7 is not set
129.54 # CT_KERNEL_V_2_6_25_20 is not set
129.55 -# CT_KERNEL_V_2_6_26 is not set
129.56 -# CT_KERNEL_V_2_6_26_1 is not set
129.57 -# CT_KERNEL_V_2_6_26_2 is not set
129.58 -# CT_KERNEL_V_2_6_26_3 is not set
129.59 -# CT_KERNEL_V_2_6_26_4 is not set
129.60 -# CT_KERNEL_V_2_6_26_5 is not set
129.61 -# CT_KERNEL_V_2_6_26_6 is not set
129.62 -# CT_KERNEL_V_2_6_26_7 is not set
129.63 -CT_KERNEL_V_2_6_26_8=y
129.64 +# CT_KERNEL_V_2_6_26_8 is not set
129.65 # CT_KERNEL_V_2_6_27 is not set
129.66 # CT_KERNEL_V_2_6_27_1 is not set
129.67 # CT_KERNEL_V_2_6_27_2 is not set
129.68 @@ -180,12 +179,33 @@
129.69 # CT_KERNEL_V_2_6_27_8 is not set
129.70 # CT_KERNEL_V_2_6_27_9 is not set
129.71 # CT_KERNEL_V_2_6_27_10 is not set
129.72 +# CT_KERNEL_V_2_6_27_11 is not set
129.73 +# CT_KERNEL_V_2_6_27_12 is not set
129.74 +# CT_KERNEL_V_2_6_27_13 is not set
129.75 +# CT_KERNEL_V_2_6_27_14 is not set
129.76 +# CT_KERNEL_V_2_6_27_15 is not set
129.77 +# CT_KERNEL_V_2_6_27_16 is not set
129.78 +# CT_KERNEL_V_2_6_27_17 is not set
129.79 +# CT_KERNEL_V_2_6_27_18 is not set
129.80 +# CT_KERNEL_V_2_6_27_19 is not set
129.81 +# CT_KERNEL_V_2_6_27_20 is not set
129.82 +# CT_KERNEL_V_2_6_27_21 is not set
129.83 # CT_KERNEL_V_2_6_28 is not set
129.84 +# CT_KERNEL_V_2_6_28_1 is not set
129.85 +# CT_KERNEL_V_2_6_28_2 is not set
129.86 +# CT_KERNEL_V_2_6_28_3 is not set
129.87 +# CT_KERNEL_V_2_6_28_4 is not set
129.88 +# CT_KERNEL_V_2_6_28_5 is not set
129.89 +# CT_KERNEL_V_2_6_28_6 is not set
129.90 +# CT_KERNEL_V_2_6_28_7 is not set
129.91 +# CT_KERNEL_V_2_6_28_8 is not set
129.92 +# CT_KERNEL_V_2_6_28_9 is not set
129.93 +CT_KERNEL_V_2_6_29=y
129.94 CT_KERNEL_LINUX_VERBOSITY_0=y
129.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
129.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
129.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
129.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
129.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
129.100
129.101 #
129.102 # GMP and MPFR
129.103 @@ -197,14 +217,16 @@
129.104 CT_GMP_VERSION="4.2.4"
129.105 CT_GMP_CHECK=y
129.106 # CT_MPFR_V_2_3_1 is not set
129.107 -CT_MPFR_V_2_3_2=y
129.108 -CT_MPFR_VERSION="2.3.2"
129.109 +# CT_MPFR_V_2_3_2 is not set
129.110 +# CT_MPFR_V_2_4_0 is not set
129.111 +CT_MPFR_V_2_4_1=y
129.112 +CT_MPFR_VERSION="2.4.1"
129.113 CT_MPFR_CHECK=y
129.114
129.115 #
129.116 # binutils
129.117 #
129.118 -CT_BINUTILS_VERSION="2.19"
129.119 +CT_BINUTILS_VERSION="2.19.1"
129.120 # CT_BINUTILS_V_2_14 is not set
129.121 # CT_BINUTILS_V_2_15 is not set
129.122 # CT_BINUTILS_V_2_16_1 is not set
129.123 @@ -219,8 +241,11 @@
129.124 # CT_BINUTILS_V_2_18_91 is not set
129.125 # CT_BINUTILS_V_2_18_92 is not set
129.126 # CT_BINUTILS_V_2_18_93 is not set
129.127 -CT_BINUTILS_V_2_19=y
129.128 +# CT_BINUTILS_V_2_19 is not set
129.129 +CT_BINUTILS_V_2_19_1=y
129.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
129.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
129.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
129.133 CT_BINUTILS_EXTRA_CONFIG=""
129.134 CT_BINUTILS_FOR_TARGET=y
129.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
129.136 @@ -251,7 +276,10 @@
129.137 # CT_CC_V_4_3_0 is not set
129.138 # CT_CC_V_4_3_1 is not set
129.139 CT_CC_V_4_3_2=y
129.140 +# CT_CC_V_4_3_3 is not set
129.141 +# CT_CC_V_4_4_0 is not set
129.142 CT_CC_GCC_4_3_or_later=y
129.143 +# CT_CC_GCC_4_4_snapshot is not set
129.144 CT_CC_CXA_ATEXIT=y
129.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
129.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
129.147 @@ -278,7 +306,7 @@
129.148 #
129.149 # C-library
129.150 #
129.151 -CT_LIBC_VERSION="2.7"
129.152 +CT_LIBC_VERSION="2.9"
129.153 # CT_LIBC_eglibc is not set
129.154 CT_LIBC_glibc=y
129.155 # CT_LIBC_uClibc is not set
129.156 @@ -287,12 +315,28 @@
129.157 # CT_LIBC_V_2_5_1 is not set
129.158 # CT_LIBC_V_2_6 is not set
129.159 # CT_LIBC_V_2_6_1 is not set
129.160 -CT_LIBC_V_2_7=y
129.161 +# CT_LIBC_V_2_7 is not set
129.162 # CT_LIBC_V_2_8 is not set
129.163 -# CT_LIBC_V_2_9 is not set
129.164 +CT_LIBC_V_2_9=y
129.165 # CT_LIBC_V_LATEST is not set
129.166 # CT_LIBC_V_date is not set
129.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
129.168 +# CT_LIBC_GLIBC_TARBALL is not set
129.169 +CT_LIBC_GLIBC_CVS=y
129.170 +CT_LIBC_GLIBC_CVS_date="2009-03-29"
129.171 +
129.172 +#
129.173 +# glibc/eglibc common options
129.174 +#
129.175 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
129.176 +CT_LIBC_GLIBC_CONFIGPARMS=""
129.177 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
129.178 +CT_LIBC_EXTRA_CC_ARGS=""
129.179 +CT_LIBC_GLIBC_USE_PORTS=y
129.180 +CT_LIBC_ADDONS_LIST=""
129.181 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
129.182 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
129.183 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
129.184 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
129.185
129.186 #
129.187 # Common C library options
129.188 @@ -305,25 +349,12 @@
129.189 # CT_THREADS_NONE is not set
129.190
129.191 #
129.192 -# glibc/eglibc common options
129.193 -#
129.194 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
129.195 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
129.196 -CT_LIBC_EXTRA_CC_ARGS=""
129.197 -CT_LIBC_GLIBC_USE_PORTS=y
129.198 -CT_LIBC_ADDONS_LIST=""
129.199 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
129.200 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
129.201 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
129.202 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
129.203 -
129.204 -#
129.205 # Tools facilities
129.206 #
129.207 # CT_TOOL_libelf is not set
129.208 CT_TOOL_sstrip=y
129.209 +CT_SSTRIP_BUILDROOT=y
129.210 # CT_SSTRIP_ELFKICKERS is not set
129.211 -CT_SSTRIP_BUILDROOT=y
129.212 CT_SSTRIP_FROM="buildroot"
129.213
129.214 #
129.215 @@ -359,10 +390,11 @@
129.216 CT_GDB_VERSION="6.8"
129.217
129.218 #
129.219 -# Native gdb needs the ncurses library on the target
129.220 +# Native gdb needs a native ncurses library
129.221 #
129.222 -CT_NCURSES_V_5_6=y
129.223 -CT_NCURSES_VERSION="5.6"
129.224 +# CT_NCURSES_V_5_6 is not set
129.225 +CT_NCURSES_V_5_7=y
129.226 +CT_NCURSES_VERSION="5.7"
129.227 # CT_DEBUG_ltrace is not set
129.228 CT_DEBUG_strace=y
129.229 # CT_STRACE_V_4_5 is not set
130.1 --- a/samples/powerpc-405-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
130.2 +++ b/samples/powerpc-405-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
130.3 @@ -1,7 +1,7 @@
130.4 #
130.5 # Automatically generated make config: don't edit
130.6 -# crosstool-NG version: svn_trunk@1297M
130.7 -# Tue Jan 6 23:17:48 2009
130.8 +# crosstool-NG version: svn_trunk@1453
130.9 +# Sun Mar 29 12:30:22 2009
130.10 #
130.11
130.12 #
130.13 @@ -30,6 +30,7 @@
130.14 #
130.15 # Downloading
130.16 #
130.17 +# CT_FORBID_DOWNLOAD is not set
130.18 # CT_FORCE_DOWNLOAD is not set
130.19 # CT_USE_PROXY is not set
130.20 CT_PROXY_TYPE="none"
130.21 @@ -103,6 +104,7 @@
130.22 # CT_ARCH_ia64 is not set
130.23 # CT_ARCH_mips is not set
130.24 CT_ARCH_powerpc=y
130.25 +# CT_ARCH_powerpc64 is not set
130.26 # CT_ARCH_sh is not set
130.27 # CT_ARCH_x86 is not set
130.28 # CT_ARCH_x86_64 is not set
130.29 @@ -120,7 +122,12 @@
130.30 # General toolchain options
130.31 #
130.32 CT_USE_SYSROOT=y
130.33 +CT_SYSROOT_DIR_PREFIX=""
130.34 CT_SHARED_LIBS=y
130.35 +
130.36 +#
130.37 +# Tuple completion and aliasing
130.38 +#
130.39 CT_TARGET_VENDOR="405"
130.40 CT_TARGET_ALIAS_SED_EXPR=""
130.41 CT_TARGET_ALIAS=""
130.42 @@ -146,7 +153,7 @@
130.43 #
130.44 # CT_BARE_METAL is not set
130.45 CT_KERNEL="linux"
130.46 -CT_KERNEL_VERSION="2.6.27.6"
130.47 +CT_KERNEL_VERSION="2.6.29"
130.48 # CT_KERNEL_bare_metal is not set
130.49 CT_KERNEL_linux=y
130.50 CT_KERNEL_LINUX_INSTALL=y
130.51 @@ -159,14 +166,6 @@
130.52 # CT_KERNEL_V_2_6_23_17 is not set
130.53 # CT_KERNEL_V_2_6_24_7 is not set
130.54 # CT_KERNEL_V_2_6_25_20 is not set
130.55 -# CT_KERNEL_V_2_6_26 is not set
130.56 -# CT_KERNEL_V_2_6_26_1 is not set
130.57 -# CT_KERNEL_V_2_6_26_2 is not set
130.58 -# CT_KERNEL_V_2_6_26_3 is not set
130.59 -# CT_KERNEL_V_2_6_26_4 is not set
130.60 -# CT_KERNEL_V_2_6_26_5 is not set
130.61 -# CT_KERNEL_V_2_6_26_6 is not set
130.62 -# CT_KERNEL_V_2_6_26_7 is not set
130.63 # CT_KERNEL_V_2_6_26_8 is not set
130.64 # CT_KERNEL_V_2_6_27 is not set
130.65 # CT_KERNEL_V_2_6_27_1 is not set
130.66 @@ -174,17 +173,38 @@
130.67 # CT_KERNEL_V_2_6_27_3 is not set
130.68 # CT_KERNEL_V_2_6_27_4 is not set
130.69 # CT_KERNEL_V_2_6_27_5 is not set
130.70 -CT_KERNEL_V_2_6_27_6=y
130.71 +# CT_KERNEL_V_2_6_27_6 is not set
130.72 # CT_KERNEL_V_2_6_27_7 is not set
130.73 # CT_KERNEL_V_2_6_27_8 is not set
130.74 # CT_KERNEL_V_2_6_27_9 is not set
130.75 # CT_KERNEL_V_2_6_27_10 is not set
130.76 +# CT_KERNEL_V_2_6_27_11 is not set
130.77 +# CT_KERNEL_V_2_6_27_12 is not set
130.78 +# CT_KERNEL_V_2_6_27_13 is not set
130.79 +# CT_KERNEL_V_2_6_27_14 is not set
130.80 +# CT_KERNEL_V_2_6_27_15 is not set
130.81 +# CT_KERNEL_V_2_6_27_16 is not set
130.82 +# CT_KERNEL_V_2_6_27_17 is not set
130.83 +# CT_KERNEL_V_2_6_27_18 is not set
130.84 +# CT_KERNEL_V_2_6_27_19 is not set
130.85 +# CT_KERNEL_V_2_6_27_20 is not set
130.86 +# CT_KERNEL_V_2_6_27_21 is not set
130.87 # CT_KERNEL_V_2_6_28 is not set
130.88 +# CT_KERNEL_V_2_6_28_1 is not set
130.89 +# CT_KERNEL_V_2_6_28_2 is not set
130.90 +# CT_KERNEL_V_2_6_28_3 is not set
130.91 +# CT_KERNEL_V_2_6_28_4 is not set
130.92 +# CT_KERNEL_V_2_6_28_5 is not set
130.93 +# CT_KERNEL_V_2_6_28_6 is not set
130.94 +# CT_KERNEL_V_2_6_28_7 is not set
130.95 +# CT_KERNEL_V_2_6_28_8 is not set
130.96 +# CT_KERNEL_V_2_6_28_9 is not set
130.97 +CT_KERNEL_V_2_6_29=y
130.98 CT_KERNEL_LINUX_VERBOSITY_0=y
130.99 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
130.100 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
130.101 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
130.102 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
130.103 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
130.104
130.105 #
130.106 # GMP and MPFR
130.107 @@ -196,14 +216,16 @@
130.108 CT_GMP_VERSION="4.2.4"
130.109 CT_GMP_CHECK=y
130.110 # CT_MPFR_V_2_3_1 is not set
130.111 -CT_MPFR_V_2_3_2=y
130.112 -CT_MPFR_VERSION="2.3.2"
130.113 +# CT_MPFR_V_2_3_2 is not set
130.114 +# CT_MPFR_V_2_4_0 is not set
130.115 +CT_MPFR_V_2_4_1=y
130.116 +CT_MPFR_VERSION="2.4.1"
130.117 CT_MPFR_CHECK=y
130.118
130.119 #
130.120 # binutils
130.121 #
130.122 -CT_BINUTILS_VERSION="2.19"
130.123 +CT_BINUTILS_VERSION="2.19.1"
130.124 # CT_BINUTILS_V_2_14 is not set
130.125 # CT_BINUTILS_V_2_15 is not set
130.126 # CT_BINUTILS_V_2_16_1 is not set
130.127 @@ -218,8 +240,11 @@
130.128 # CT_BINUTILS_V_2_18_91 is not set
130.129 # CT_BINUTILS_V_2_18_92 is not set
130.130 # CT_BINUTILS_V_2_18_93 is not set
130.131 -CT_BINUTILS_V_2_19=y
130.132 +# CT_BINUTILS_V_2_19 is not set
130.133 +CT_BINUTILS_V_2_19_1=y
130.134 # CT_BINUTILS_V_2_19_50_0_1 is not set
130.135 +# CT_BINUTILS_V_2_19_51_0_1 is not set
130.136 +# CT_BINUTILS_V_2_19_51_0_2 is not set
130.137 CT_BINUTILS_EXTRA_CONFIG=""
130.138 CT_BINUTILS_FOR_TARGET=y
130.139 CT_BINUTILS_FOR_TARGET_IBERTY=y
130.140 @@ -250,7 +275,10 @@
130.141 # CT_CC_V_4_3_0 is not set
130.142 # CT_CC_V_4_3_1 is not set
130.143 CT_CC_V_4_3_2=y
130.144 +# CT_CC_V_4_3_3 is not set
130.145 +# CT_CC_V_4_4_0 is not set
130.146 CT_CC_GCC_4_3_or_later=y
130.147 +# CT_CC_GCC_4_4_snapshot is not set
130.148 CT_CC_CXA_ATEXIT=y
130.149 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
130.150 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
130.151 @@ -278,7 +306,7 @@
130.152 #
130.153 # C-library
130.154 #
130.155 -CT_LIBC_VERSION="2.6.1"
130.156 +CT_LIBC_VERSION="2.9"
130.157 # CT_LIBC_eglibc is not set
130.158 CT_LIBC_glibc=y
130.159 # CT_LIBC_uClibc is not set
130.160 @@ -286,13 +314,29 @@
130.161 # CT_LIBC_V_2_5 is not set
130.162 # CT_LIBC_V_2_5_1 is not set
130.163 # CT_LIBC_V_2_6 is not set
130.164 -CT_LIBC_V_2_6_1=y
130.165 +# CT_LIBC_V_2_6_1 is not set
130.166 # CT_LIBC_V_2_7 is not set
130.167 # CT_LIBC_V_2_8 is not set
130.168 -# CT_LIBC_V_2_9 is not set
130.169 +CT_LIBC_V_2_9=y
130.170 # CT_LIBC_V_LATEST is not set
130.171 # CT_LIBC_V_date is not set
130.172 -# CT_LIBC_GLIBC_2_8_or_later is not set
130.173 +# CT_LIBC_GLIBC_TARBALL is not set
130.174 +CT_LIBC_GLIBC_CVS=y
130.175 +CT_LIBC_GLIBC_CVS_date="2009-03-29"
130.176 +
130.177 +#
130.178 +# glibc/eglibc common options
130.179 +#
130.180 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
130.181 +CT_LIBC_GLIBC_CONFIGPARMS=""
130.182 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
130.183 +CT_LIBC_EXTRA_CC_ARGS=""
130.184 +CT_LIBC_GLIBC_USE_PORTS=y
130.185 +CT_LIBC_ADDONS_LIST=""
130.186 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
130.187 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
130.188 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
130.189 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
130.190
130.191 #
130.192 # Common C library options
130.193 @@ -305,25 +349,12 @@
130.194 # CT_THREADS_NONE is not set
130.195
130.196 #
130.197 -# glibc/eglibc common options
130.198 -#
130.199 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
130.200 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
130.201 -CT_LIBC_EXTRA_CC_ARGS=""
130.202 -CT_LIBC_GLIBC_USE_PORTS=y
130.203 -CT_LIBC_ADDONS_LIST=""
130.204 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
130.205 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
130.206 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
130.207 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.27.6"
130.208 -
130.209 -#
130.210 # Tools facilities
130.211 #
130.212 # CT_TOOL_libelf is not set
130.213 CT_TOOL_sstrip=y
130.214 +CT_SSTRIP_BUILDROOT=y
130.215 # CT_SSTRIP_ELFKICKERS is not set
130.216 -CT_SSTRIP_BUILDROOT=y
130.217 CT_SSTRIP_FROM="buildroot"
130.218
130.219 #
130.220 @@ -359,9 +390,10 @@
130.221 CT_GDB_VERSION="6.8"
130.222
130.223 #
130.224 -# Native gdb needs the ncurses library on the target
130.225 +# Native gdb needs a native ncurses library
130.226 #
130.227 -CT_NCURSES_V_5_6=y
130.228 -CT_NCURSES_VERSION="5.6"
130.229 +# CT_NCURSES_V_5_6 is not set
130.230 +CT_NCURSES_V_5_7=y
130.231 +CT_NCURSES_VERSION="5.7"
130.232 # CT_DEBUG_ltrace is not set
130.233 # CT_DEBUG_strace is not set
131.1 --- a/samples/powerpc-860-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
131.2 +++ b/samples/powerpc-860-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
131.3 @@ -1,7 +1,7 @@
131.4 #
131.5 # Automatically generated make config: don't edit
131.6 -# crosstool-NG version: svn_trunk@1291M
131.7 -# Sun Jan 4 23:56:39 2009
131.8 +# crosstool-NG version: svn_trunk@1451M
131.9 +# Sat Mar 28 23:28:18 2009
131.10 #
131.11
131.12 #
131.13 @@ -30,6 +30,7 @@
131.14 #
131.15 # Downloading
131.16 #
131.17 +# CT_FORBID_DOWNLOAD is not set
131.18 # CT_FORCE_DOWNLOAD is not set
131.19 # CT_USE_PROXY is not set
131.20 CT_PROXY_TYPE="none"
131.21 @@ -103,6 +104,7 @@
131.22 # CT_ARCH_ia64 is not set
131.23 # CT_ARCH_mips is not set
131.24 CT_ARCH_powerpc=y
131.25 +# CT_ARCH_powerpc64 is not set
131.26 # CT_ARCH_sh is not set
131.27 # CT_ARCH_x86 is not set
131.28 # CT_ARCH_x86_64 is not set
131.29 @@ -120,7 +122,12 @@
131.30 # General toolchain options
131.31 #
131.32 CT_USE_SYSROOT=y
131.33 +CT_SYSROOT_DIR_PREFIX=""
131.34 CT_SHARED_LIBS=y
131.35 +
131.36 +#
131.37 +# Tuple completion and aliasing
131.38 +#
131.39 CT_TARGET_VENDOR="860"
131.40 CT_TARGET_ALIAS_SED_EXPR=""
131.41 CT_TARGET_ALIAS=""
131.42 @@ -146,7 +153,7 @@
131.43 #
131.44 # CT_BARE_METAL is not set
131.45 CT_KERNEL="linux"
131.46 -CT_KERNEL_VERSION="2.6.26.8"
131.47 +CT_KERNEL_VERSION="2.6.29"
131.48 # CT_KERNEL_bare_metal is not set
131.49 CT_KERNEL_linux=y
131.50 CT_KERNEL_LINUX_INSTALL=y
131.51 @@ -159,15 +166,7 @@
131.52 # CT_KERNEL_V_2_6_23_17 is not set
131.53 # CT_KERNEL_V_2_6_24_7 is not set
131.54 # CT_KERNEL_V_2_6_25_20 is not set
131.55 -# CT_KERNEL_V_2_6_26 is not set
131.56 -# CT_KERNEL_V_2_6_26_1 is not set
131.57 -# CT_KERNEL_V_2_6_26_2 is not set
131.58 -# CT_KERNEL_V_2_6_26_3 is not set
131.59 -# CT_KERNEL_V_2_6_26_4 is not set
131.60 -# CT_KERNEL_V_2_6_26_5 is not set
131.61 -# CT_KERNEL_V_2_6_26_6 is not set
131.62 -# CT_KERNEL_V_2_6_26_7 is not set
131.63 -CT_KERNEL_V_2_6_26_8=y
131.64 +# CT_KERNEL_V_2_6_26_8 is not set
131.65 # CT_KERNEL_V_2_6_27 is not set
131.66 # CT_KERNEL_V_2_6_27_1 is not set
131.67 # CT_KERNEL_V_2_6_27_2 is not set
131.68 @@ -179,12 +178,33 @@
131.69 # CT_KERNEL_V_2_6_27_8 is not set
131.70 # CT_KERNEL_V_2_6_27_9 is not set
131.71 # CT_KERNEL_V_2_6_27_10 is not set
131.72 +# CT_KERNEL_V_2_6_27_11 is not set
131.73 +# CT_KERNEL_V_2_6_27_12 is not set
131.74 +# CT_KERNEL_V_2_6_27_13 is not set
131.75 +# CT_KERNEL_V_2_6_27_14 is not set
131.76 +# CT_KERNEL_V_2_6_27_15 is not set
131.77 +# CT_KERNEL_V_2_6_27_16 is not set
131.78 +# CT_KERNEL_V_2_6_27_17 is not set
131.79 +# CT_KERNEL_V_2_6_27_18 is not set
131.80 +# CT_KERNEL_V_2_6_27_19 is not set
131.81 +# CT_KERNEL_V_2_6_27_20 is not set
131.82 +# CT_KERNEL_V_2_6_27_21 is not set
131.83 # CT_KERNEL_V_2_6_28 is not set
131.84 +# CT_KERNEL_V_2_6_28_1 is not set
131.85 +# CT_KERNEL_V_2_6_28_2 is not set
131.86 +# CT_KERNEL_V_2_6_28_3 is not set
131.87 +# CT_KERNEL_V_2_6_28_4 is not set
131.88 +# CT_KERNEL_V_2_6_28_5 is not set
131.89 +# CT_KERNEL_V_2_6_28_6 is not set
131.90 +# CT_KERNEL_V_2_6_28_7 is not set
131.91 +# CT_KERNEL_V_2_6_28_8 is not set
131.92 +# CT_KERNEL_V_2_6_28_9 is not set
131.93 +CT_KERNEL_V_2_6_29=y
131.94 CT_KERNEL_LINUX_VERBOSITY_0=y
131.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
131.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
131.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
131.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
131.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
131.100
131.101 #
131.102 # GMP and MPFR
131.103 @@ -196,14 +216,16 @@
131.104 CT_GMP_VERSION="4.2.4"
131.105 CT_GMP_CHECK=y
131.106 # CT_MPFR_V_2_3_1 is not set
131.107 -CT_MPFR_V_2_3_2=y
131.108 -CT_MPFR_VERSION="2.3.2"
131.109 +# CT_MPFR_V_2_3_2 is not set
131.110 +# CT_MPFR_V_2_4_0 is not set
131.111 +CT_MPFR_V_2_4_1=y
131.112 +CT_MPFR_VERSION="2.4.1"
131.113 CT_MPFR_CHECK=y
131.114
131.115 #
131.116 # binutils
131.117 #
131.118 -CT_BINUTILS_VERSION="2.19"
131.119 +CT_BINUTILS_VERSION="2.19.1"
131.120 # CT_BINUTILS_V_2_14 is not set
131.121 # CT_BINUTILS_V_2_15 is not set
131.122 # CT_BINUTILS_V_2_16_1 is not set
131.123 @@ -218,8 +240,11 @@
131.124 # CT_BINUTILS_V_2_18_91 is not set
131.125 # CT_BINUTILS_V_2_18_92 is not set
131.126 # CT_BINUTILS_V_2_18_93 is not set
131.127 -CT_BINUTILS_V_2_19=y
131.128 +# CT_BINUTILS_V_2_19 is not set
131.129 +CT_BINUTILS_V_2_19_1=y
131.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
131.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
131.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
131.133 CT_BINUTILS_EXTRA_CONFIG=""
131.134 CT_BINUTILS_FOR_TARGET=y
131.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
131.136 @@ -250,7 +275,10 @@
131.137 # CT_CC_V_4_3_0 is not set
131.138 # CT_CC_V_4_3_1 is not set
131.139 CT_CC_V_4_3_2=y
131.140 +# CT_CC_V_4_3_3 is not set
131.141 +# CT_CC_V_4_4_0 is not set
131.142 CT_CC_GCC_4_3_or_later=y
131.143 +# CT_CC_GCC_4_4_snapshot is not set
131.144 CT_CC_CXA_ATEXIT=y
131.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
131.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
131.147 @@ -277,7 +305,7 @@
131.148 #
131.149 # C-library
131.150 #
131.151 -CT_LIBC_VERSION="2.7"
131.152 +CT_LIBC_VERSION="2.9"
131.153 # CT_LIBC_eglibc is not set
131.154 CT_LIBC_glibc=y
131.155 # CT_LIBC_uClibc is not set
131.156 @@ -286,12 +314,28 @@
131.157 # CT_LIBC_V_2_5_1 is not set
131.158 # CT_LIBC_V_2_6 is not set
131.159 # CT_LIBC_V_2_6_1 is not set
131.160 -CT_LIBC_V_2_7=y
131.161 +# CT_LIBC_V_2_7 is not set
131.162 # CT_LIBC_V_2_8 is not set
131.163 -# CT_LIBC_V_2_9 is not set
131.164 +CT_LIBC_V_2_9=y
131.165 # CT_LIBC_V_LATEST is not set
131.166 # CT_LIBC_V_date is not set
131.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
131.168 +# CT_LIBC_GLIBC_TARBALL is not set
131.169 +CT_LIBC_GLIBC_CVS=y
131.170 +CT_LIBC_GLIBC_CVS_date="2009-03-28"
131.171 +
131.172 +#
131.173 +# glibc/eglibc common options
131.174 +#
131.175 +CT_LIBC_GLIBC_EXTRA_CONFIG="--without-fp"
131.176 +CT_LIBC_GLIBC_CONFIGPARMS=""
131.177 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
131.178 +CT_LIBC_EXTRA_CC_ARGS=""
131.179 +CT_LIBC_GLIBC_USE_PORTS=y
131.180 +CT_LIBC_ADDONS_LIST=""
131.181 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
131.182 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
131.183 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
131.184 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
131.185
131.186 #
131.187 # Common C library options
131.188 @@ -304,19 +348,6 @@
131.189 # CT_THREADS_NONE is not set
131.190
131.191 #
131.192 -# glibc/eglibc common options
131.193 -#
131.194 -CT_LIBC_GLIBC_EXTRA_CONFIG="--without-fp"
131.195 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
131.196 -CT_LIBC_EXTRA_CC_ARGS=""
131.197 -CT_LIBC_GLIBC_USE_PORTS=y
131.198 -CT_LIBC_ADDONS_LIST=""
131.199 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
131.200 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
131.201 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
131.202 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
131.203 -
131.204 -#
131.205 # Tools facilities
131.206 #
131.207 # CT_TOOL_libelf is not set
131.208 @@ -345,10 +376,11 @@
131.209 CT_GDB_VERSION="6.8"
131.210
131.211 #
131.212 -# Native gdb needs the ncurses library on the target
131.213 +# Native gdb needs a native ncurses library
131.214 #
131.215 -CT_NCURSES_V_5_6=y
131.216 -CT_NCURSES_VERSION="5.6"
131.217 +# CT_NCURSES_V_5_6 is not set
131.218 +CT_NCURSES_V_5_7=y
131.219 +CT_NCURSES_VERSION="5.7"
131.220 # CT_DEBUG_ltrace is not set
131.221 CT_DEBUG_strace=y
131.222 # CT_STRACE_V_4_5 is not set
132.1 --- a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config Sat Apr 11 19:03:02 2009 +0000
132.2 +++ b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config Sun Apr 19 16:17:11 2009 +0000
132.3 @@ -1,7 +1,7 @@
132.4 #
132.5 # Automatically generated make config: don't edit
132.6 -# crosstool-NG version: svn_trunk@1297M
132.7 -# Tue Jan 6 23:17:57 2009
132.8 +# crosstool-NG version: svn_trunk@1453
132.9 +# Sun Mar 29 12:31:50 2009
132.10 #
132.11
132.12 #
132.13 @@ -30,6 +30,7 @@
132.14 #
132.15 # Downloading
132.16 #
132.17 +# CT_FORBID_DOWNLOAD is not set
132.18 # CT_FORCE_DOWNLOAD is not set
132.19 # CT_USE_PROXY is not set
132.20 CT_PROXY_TYPE="none"
132.21 @@ -104,6 +105,7 @@
132.22 # CT_ARCH_ia64 is not set
132.23 # CT_ARCH_mips is not set
132.24 CT_ARCH_powerpc=y
132.25 +# CT_ARCH_powerpc64 is not set
132.26 # CT_ARCH_sh is not set
132.27 # CT_ARCH_x86 is not set
132.28 # CT_ARCH_x86_64 is not set
132.29 @@ -121,7 +123,12 @@
132.30 # General toolchain options
132.31 #
132.32 CT_USE_SYSROOT=y
132.33 +CT_SYSROOT_DIR_PREFIX=""
132.34 CT_SHARED_LIBS=y
132.35 +
132.36 +#
132.37 +# Tuple completion and aliasing
132.38 +#
132.39 CT_TARGET_VENDOR="e500v2"
132.40 CT_TARGET_ALIAS_SED_EXPR=""
132.41 CT_TARGET_ALIAS=""
132.42 @@ -147,7 +154,7 @@
132.43 #
132.44 # CT_BARE_METAL is not set
132.45 CT_KERNEL="linux"
132.46 -CT_KERNEL_VERSION="2.6.26.8"
132.47 +CT_KERNEL_VERSION="2.6.29"
132.48 # CT_KERNEL_bare_metal is not set
132.49 CT_KERNEL_linux=y
132.50 CT_KERNEL_LINUX_INSTALL=y
132.51 @@ -160,15 +167,7 @@
132.52 # CT_KERNEL_V_2_6_23_17 is not set
132.53 # CT_KERNEL_V_2_6_24_7 is not set
132.54 # CT_KERNEL_V_2_6_25_20 is not set
132.55 -# CT_KERNEL_V_2_6_26 is not set
132.56 -# CT_KERNEL_V_2_6_26_1 is not set
132.57 -# CT_KERNEL_V_2_6_26_2 is not set
132.58 -# CT_KERNEL_V_2_6_26_3 is not set
132.59 -# CT_KERNEL_V_2_6_26_4 is not set
132.60 -# CT_KERNEL_V_2_6_26_5 is not set
132.61 -# CT_KERNEL_V_2_6_26_6 is not set
132.62 -# CT_KERNEL_V_2_6_26_7 is not set
132.63 -CT_KERNEL_V_2_6_26_8=y
132.64 +# CT_KERNEL_V_2_6_26_8 is not set
132.65 # CT_KERNEL_V_2_6_27 is not set
132.66 # CT_KERNEL_V_2_6_27_1 is not set
132.67 # CT_KERNEL_V_2_6_27_2 is not set
132.68 @@ -180,12 +179,33 @@
132.69 # CT_KERNEL_V_2_6_27_8 is not set
132.70 # CT_KERNEL_V_2_6_27_9 is not set
132.71 # CT_KERNEL_V_2_6_27_10 is not set
132.72 +# CT_KERNEL_V_2_6_27_11 is not set
132.73 +# CT_KERNEL_V_2_6_27_12 is not set
132.74 +# CT_KERNEL_V_2_6_27_13 is not set
132.75 +# CT_KERNEL_V_2_6_27_14 is not set
132.76 +# CT_KERNEL_V_2_6_27_15 is not set
132.77 +# CT_KERNEL_V_2_6_27_16 is not set
132.78 +# CT_KERNEL_V_2_6_27_17 is not set
132.79 +# CT_KERNEL_V_2_6_27_18 is not set
132.80 +# CT_KERNEL_V_2_6_27_19 is not set
132.81 +# CT_KERNEL_V_2_6_27_20 is not set
132.82 +# CT_KERNEL_V_2_6_27_21 is not set
132.83 # CT_KERNEL_V_2_6_28 is not set
132.84 +# CT_KERNEL_V_2_6_28_1 is not set
132.85 +# CT_KERNEL_V_2_6_28_2 is not set
132.86 +# CT_KERNEL_V_2_6_28_3 is not set
132.87 +# CT_KERNEL_V_2_6_28_4 is not set
132.88 +# CT_KERNEL_V_2_6_28_5 is not set
132.89 +# CT_KERNEL_V_2_6_28_6 is not set
132.90 +# CT_KERNEL_V_2_6_28_7 is not set
132.91 +# CT_KERNEL_V_2_6_28_8 is not set
132.92 +# CT_KERNEL_V_2_6_28_9 is not set
132.93 +CT_KERNEL_V_2_6_29=y
132.94 CT_KERNEL_LINUX_VERBOSITY_0=y
132.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
132.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
132.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
132.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
132.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
132.100
132.101 #
132.102 # GMP and MPFR
132.103 @@ -197,14 +217,16 @@
132.104 CT_GMP_VERSION="4.2.4"
132.105 CT_GMP_CHECK=y
132.106 # CT_MPFR_V_2_3_1 is not set
132.107 -CT_MPFR_V_2_3_2=y
132.108 -CT_MPFR_VERSION="2.3.2"
132.109 +# CT_MPFR_V_2_3_2 is not set
132.110 +# CT_MPFR_V_2_4_0 is not set
132.111 +CT_MPFR_V_2_4_1=y
132.112 +CT_MPFR_VERSION="2.4.1"
132.113 CT_MPFR_CHECK=y
132.114
132.115 #
132.116 # binutils
132.117 #
132.118 -CT_BINUTILS_VERSION="2.19"
132.119 +CT_BINUTILS_VERSION="2.19.1"
132.120 # CT_BINUTILS_V_2_14 is not set
132.121 # CT_BINUTILS_V_2_15 is not set
132.122 # CT_BINUTILS_V_2_16_1 is not set
132.123 @@ -219,8 +241,11 @@
132.124 # CT_BINUTILS_V_2_18_91 is not set
132.125 # CT_BINUTILS_V_2_18_92 is not set
132.126 # CT_BINUTILS_V_2_18_93 is not set
132.127 -CT_BINUTILS_V_2_19=y
132.128 +# CT_BINUTILS_V_2_19 is not set
132.129 +CT_BINUTILS_V_2_19_1=y
132.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
132.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
132.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
132.133 CT_BINUTILS_EXTRA_CONFIG="--enable-spe=yes --enable-e500x2 --with-e500x2"
132.134 # CT_BINUTILS_FOR_TARGET is not set
132.135
132.136 @@ -228,7 +253,7 @@
132.137 # C compiler
132.138 #
132.139 CT_CC="gcc"
132.140 -CT_CC_VERSION="4.3.1"
132.141 +CT_CC_VERSION="4.3.2"
132.142 CT_CC_gcc=y
132.143 # CT_CC_V_3_2_3 is not set
132.144 # CT_CC_V_3_3_6 is not set
132.145 @@ -247,9 +272,12 @@
132.146 # CT_CC_V_4_2_3 is not set
132.147 # CT_CC_V_4_2_4 is not set
132.148 # CT_CC_V_4_3_0 is not set
132.149 -CT_CC_V_4_3_1=y
132.150 -# CT_CC_V_4_3_2 is not set
132.151 +# CT_CC_V_4_3_1 is not set
132.152 +CT_CC_V_4_3_2=y
132.153 +# CT_CC_V_4_3_3 is not set
132.154 +# CT_CC_V_4_4_0 is not set
132.155 CT_CC_GCC_4_3_or_later=y
132.156 +# CT_CC_GCC_4_4_snapshot is not set
132.157 CT_CC_CXA_ATEXIT=y
132.158 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
132.159 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
132.160 @@ -281,19 +309,34 @@
132.161 #
132.162 # C-library
132.163 #
132.164 -CT_LIBC_VERSION="2_6"
132.165 +CT_LIBC_VERSION="2_9"
132.166 CT_LIBC_eglibc=y
132.167 # CT_LIBC_glibc is not set
132.168 # CT_LIBC_uClibc is not set
132.169 # CT_EGLIBC_V_2_5 is not set
132.170 -CT_EGLIBC_V_2_6=y
132.171 +# CT_EGLIBC_V_2_6 is not set
132.172 # CT_EGLIBC_V_2_7 is not set
132.173 # CT_EGLIBC_V_2_8 is not set
132.174 +CT_EGLIBC_V_2_9=y
132.175 # CT_EGLIBC_V_TRUNK is not set
132.176 CT_EGLIBC_REVISION="HEAD"
132.177 CT_EGLIBC_CHECKOUT=y
132.178
132.179 #
132.180 +# glibc/eglibc common options
132.181 +#
132.182 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
132.183 +CT_LIBC_GLIBC_CONFIGPARMS=""
132.184 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
132.185 +CT_LIBC_EXTRA_CC_ARGS=""
132.186 +CT_LIBC_GLIBC_USE_PORTS=y
132.187 +CT_LIBC_ADDONS_LIST=""
132.188 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
132.189 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
132.190 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
132.191 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
132.192 +
132.193 +#
132.194 # Common C library options
132.195 #
132.196 CT_LIBC_SUPPORT_NPTL=y
132.197 @@ -304,19 +347,6 @@
132.198 # CT_THREADS_NONE is not set
132.199
132.200 #
132.201 -# glibc/eglibc common options
132.202 -#
132.203 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
132.204 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
132.205 -CT_LIBC_EXTRA_CC_ARGS=""
132.206 -CT_LIBC_GLIBC_USE_PORTS=y
132.207 -CT_LIBC_ADDONS_LIST=""
132.208 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
132.209 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
132.210 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
132.211 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
132.212 -
132.213 -#
132.214 # Tools facilities
132.215 #
132.216 # CT_TOOL_libelf is not set
133.1 --- a/samples/powerpc-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
133.2 +++ b/samples/powerpc-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
133.3 @@ -1,7 +1,7 @@
133.4 #
133.5 # Automatically generated make config: don't edit
133.6 -# crosstool-NG version: svn_trunk@1297M
133.7 -# Tue Jan 6 23:18:09 2009
133.8 +# crosstool-NG version: svn_trunk@1453
133.9 +# Sun Mar 29 12:32:51 2009
133.10 #
133.11
133.12 #
133.13 @@ -30,6 +30,7 @@
133.14 #
133.15 # Downloading
133.16 #
133.17 +# CT_FORBID_DOWNLOAD is not set
133.18 # CT_FORCE_DOWNLOAD is not set
133.19 # CT_USE_PROXY is not set
133.20 CT_PROXY_TYPE="none"
133.21 @@ -103,6 +104,7 @@
133.22 # CT_ARCH_ia64 is not set
133.23 # CT_ARCH_mips is not set
133.24 CT_ARCH_powerpc=y
133.25 +# CT_ARCH_powerpc64 is not set
133.26 # CT_ARCH_sh is not set
133.27 # CT_ARCH_x86 is not set
133.28 # CT_ARCH_x86_64 is not set
133.29 @@ -120,7 +122,12 @@
133.30 # General toolchain options
133.31 #
133.32 CT_USE_SYSROOT=y
133.33 +CT_SYSROOT_DIR_PREFIX=""
133.34 CT_SHARED_LIBS=y
133.35 +
133.36 +#
133.37 +# Tuple completion and aliasing
133.38 +#
133.39 CT_TARGET_VENDOR=""
133.40 CT_TARGET_ALIAS_SED_EXPR=""
133.41 CT_TARGET_ALIAS=""
133.42 @@ -146,7 +153,7 @@
133.43 #
133.44 # CT_BARE_METAL is not set
133.45 CT_KERNEL="linux"
133.46 -CT_KERNEL_VERSION="2.6.26.8"
133.47 +CT_KERNEL_VERSION="2.6.29"
133.48 # CT_KERNEL_bare_metal is not set
133.49 CT_KERNEL_linux=y
133.50 CT_KERNEL_LINUX_INSTALL=y
133.51 @@ -159,15 +166,7 @@
133.52 # CT_KERNEL_V_2_6_23_17 is not set
133.53 # CT_KERNEL_V_2_6_24_7 is not set
133.54 # CT_KERNEL_V_2_6_25_20 is not set
133.55 -# CT_KERNEL_V_2_6_26 is not set
133.56 -# CT_KERNEL_V_2_6_26_1 is not set
133.57 -# CT_KERNEL_V_2_6_26_2 is not set
133.58 -# CT_KERNEL_V_2_6_26_3 is not set
133.59 -# CT_KERNEL_V_2_6_26_4 is not set
133.60 -# CT_KERNEL_V_2_6_26_5 is not set
133.61 -# CT_KERNEL_V_2_6_26_6 is not set
133.62 -# CT_KERNEL_V_2_6_26_7 is not set
133.63 -CT_KERNEL_V_2_6_26_8=y
133.64 +# CT_KERNEL_V_2_6_26_8 is not set
133.65 # CT_KERNEL_V_2_6_27 is not set
133.66 # CT_KERNEL_V_2_6_27_1 is not set
133.67 # CT_KERNEL_V_2_6_27_2 is not set
133.68 @@ -179,12 +178,33 @@
133.69 # CT_KERNEL_V_2_6_27_8 is not set
133.70 # CT_KERNEL_V_2_6_27_9 is not set
133.71 # CT_KERNEL_V_2_6_27_10 is not set
133.72 +# CT_KERNEL_V_2_6_27_11 is not set
133.73 +# CT_KERNEL_V_2_6_27_12 is not set
133.74 +# CT_KERNEL_V_2_6_27_13 is not set
133.75 +# CT_KERNEL_V_2_6_27_14 is not set
133.76 +# CT_KERNEL_V_2_6_27_15 is not set
133.77 +# CT_KERNEL_V_2_6_27_16 is not set
133.78 +# CT_KERNEL_V_2_6_27_17 is not set
133.79 +# CT_KERNEL_V_2_6_27_18 is not set
133.80 +# CT_KERNEL_V_2_6_27_19 is not set
133.81 +# CT_KERNEL_V_2_6_27_20 is not set
133.82 +# CT_KERNEL_V_2_6_27_21 is not set
133.83 # CT_KERNEL_V_2_6_28 is not set
133.84 +# CT_KERNEL_V_2_6_28_1 is not set
133.85 +# CT_KERNEL_V_2_6_28_2 is not set
133.86 +# CT_KERNEL_V_2_6_28_3 is not set
133.87 +# CT_KERNEL_V_2_6_28_4 is not set
133.88 +# CT_KERNEL_V_2_6_28_5 is not set
133.89 +# CT_KERNEL_V_2_6_28_6 is not set
133.90 +# CT_KERNEL_V_2_6_28_7 is not set
133.91 +# CT_KERNEL_V_2_6_28_8 is not set
133.92 +# CT_KERNEL_V_2_6_28_9 is not set
133.93 +CT_KERNEL_V_2_6_29=y
133.94 CT_KERNEL_LINUX_VERBOSITY_0=y
133.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
133.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
133.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
133.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
133.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
133.100
133.101 #
133.102 # GMP and MPFR
133.103 @@ -196,14 +216,16 @@
133.104 CT_GMP_VERSION="4.2.4"
133.105 CT_GMP_CHECK=y
133.106 # CT_MPFR_V_2_3_1 is not set
133.107 -CT_MPFR_V_2_3_2=y
133.108 -CT_MPFR_VERSION="2.3.2"
133.109 +# CT_MPFR_V_2_3_2 is not set
133.110 +# CT_MPFR_V_2_4_0 is not set
133.111 +CT_MPFR_V_2_4_1=y
133.112 +CT_MPFR_VERSION="2.4.1"
133.113 CT_MPFR_CHECK=y
133.114
133.115 #
133.116 # binutils
133.117 #
133.118 -CT_BINUTILS_VERSION="2.19"
133.119 +CT_BINUTILS_VERSION="2.19.1"
133.120 # CT_BINUTILS_V_2_14 is not set
133.121 # CT_BINUTILS_V_2_15 is not set
133.122 # CT_BINUTILS_V_2_16_1 is not set
133.123 @@ -218,8 +240,11 @@
133.124 # CT_BINUTILS_V_2_18_91 is not set
133.125 # CT_BINUTILS_V_2_18_92 is not set
133.126 # CT_BINUTILS_V_2_18_93 is not set
133.127 -CT_BINUTILS_V_2_19=y
133.128 +# CT_BINUTILS_V_2_19 is not set
133.129 +CT_BINUTILS_V_2_19_1=y
133.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
133.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
133.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
133.133 CT_BINUTILS_EXTRA_CONFIG=""
133.134 CT_BINUTILS_FOR_TARGET=y
133.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
133.136 @@ -250,7 +275,10 @@
133.137 # CT_CC_V_4_3_0 is not set
133.138 # CT_CC_V_4_3_1 is not set
133.139 CT_CC_V_4_3_2=y
133.140 +# CT_CC_V_4_3_3 is not set
133.141 +# CT_CC_V_4_4_0 is not set
133.142 CT_CC_GCC_4_3_or_later=y
133.143 +# CT_CC_GCC_4_4_snapshot is not set
133.144 CT_CC_CXA_ATEXIT=y
133.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
133.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
133.147 @@ -278,7 +306,7 @@
133.148 #
133.149 # C-library
133.150 #
133.151 -CT_LIBC_VERSION="2.7"
133.152 +CT_LIBC_VERSION="2.9"
133.153 # CT_LIBC_eglibc is not set
133.154 CT_LIBC_glibc=y
133.155 # CT_LIBC_uClibc is not set
133.156 @@ -287,12 +315,27 @@
133.157 # CT_LIBC_V_2_5_1 is not set
133.158 # CT_LIBC_V_2_6 is not set
133.159 # CT_LIBC_V_2_6_1 is not set
133.160 -CT_LIBC_V_2_7=y
133.161 +# CT_LIBC_V_2_7 is not set
133.162 # CT_LIBC_V_2_8 is not set
133.163 -# CT_LIBC_V_2_9 is not set
133.164 +CT_LIBC_V_2_9=y
133.165 # CT_LIBC_V_LATEST is not set
133.166 # CT_LIBC_V_date is not set
133.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
133.168 +CT_LIBC_GLIBC_TARBALL=y
133.169 +# CT_LIBC_GLIBC_CVS is not set
133.170 +
133.171 +#
133.172 +# glibc/eglibc common options
133.173 +#
133.174 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
133.175 +CT_LIBC_GLIBC_CONFIGPARMS=""
133.176 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
133.177 +CT_LIBC_EXTRA_CC_ARGS=""
133.178 +# CT_LIBC_GLIBC_USE_PORTS is not set
133.179 +CT_LIBC_ADDONS_LIST=""
133.180 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
133.181 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
133.182 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
133.183 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
133.184
133.185 #
133.186 # Common C library options
133.187 @@ -305,25 +348,12 @@
133.188 # CT_THREADS_NONE is not set
133.189
133.190 #
133.191 -# glibc/eglibc common options
133.192 -#
133.193 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
133.194 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
133.195 -CT_LIBC_EXTRA_CC_ARGS=""
133.196 -# CT_LIBC_GLIBC_USE_PORTS is not set
133.197 -CT_LIBC_ADDONS_LIST=""
133.198 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
133.199 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
133.200 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
133.201 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
133.202 -
133.203 -#
133.204 # Tools facilities
133.205 #
133.206 # CT_TOOL_libelf is not set
133.207 CT_TOOL_sstrip=y
133.208 +CT_SSTRIP_BUILDROOT=y
133.209 # CT_SSTRIP_ELFKICKERS is not set
133.210 -CT_SSTRIP_BUILDROOT=y
133.211 CT_SSTRIP_FROM="buildroot"
133.212
133.213 #
133.214 @@ -359,10 +389,11 @@
133.215 CT_GDB_VERSION="6.8"
133.216
133.217 #
133.218 -# Native gdb needs the ncurses library on the target
133.219 +# Native gdb needs a native ncurses library
133.220 #
133.221 -CT_NCURSES_V_5_6=y
133.222 -CT_NCURSES_VERSION="5.6"
133.223 +# CT_NCURSES_V_5_6 is not set
133.224 +CT_NCURSES_V_5_7=y
133.225 +CT_NCURSES_VERSION="5.7"
133.226 # CT_DEBUG_ltrace is not set
133.227 CT_DEBUG_strace=y
133.228 # CT_STRACE_V_4_5 is not set
134.1 --- a/samples/powerpc-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000
134.2 +++ b/samples/powerpc-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000
134.3 @@ -1,7 +1,7 @@
134.4 #
134.5 # Automatically generated make config: don't edit
134.6 -# crosstool-NG version: svn_trunk@1291M
134.7 -# Sun Jan 4 23:57:33 2009
134.8 +# crosstool-NG version: svn_trunk@1453
134.9 +# Sun Mar 29 12:33:10 2009
134.10 #
134.11
134.12 #
134.13 @@ -30,6 +30,7 @@
134.14 #
134.15 # Downloading
134.16 #
134.17 +# CT_FORBID_DOWNLOAD is not set
134.18 # CT_FORCE_DOWNLOAD is not set
134.19 # CT_USE_PROXY is not set
134.20 CT_PROXY_TYPE="none"
134.21 @@ -103,6 +104,7 @@
134.22 # CT_ARCH_ia64 is not set
134.23 # CT_ARCH_mips is not set
134.24 CT_ARCH_powerpc=y
134.25 +# CT_ARCH_powerpc64 is not set
134.26 # CT_ARCH_sh is not set
134.27 # CT_ARCH_x86 is not set
134.28 # CT_ARCH_x86_64 is not set
134.29 @@ -120,7 +122,12 @@
134.30 # General toolchain options
134.31 #
134.32 CT_USE_SYSROOT=y
134.33 +CT_SYSROOT_DIR_PREFIX=""
134.34 CT_SHARED_LIBS=y
134.35 +
134.36 +#
134.37 +# Tuple completion and aliasing
134.38 +#
134.39 CT_TARGET_VENDOR="unknown"
134.40 CT_TARGET_ALIAS_SED_EXPR=""
134.41 CT_TARGET_ALIAS=""
134.42 @@ -146,7 +153,7 @@
134.43 #
134.44 # CT_BARE_METAL is not set
134.45 CT_KERNEL="linux"
134.46 -CT_KERNEL_VERSION="2.6.26.8"
134.47 +CT_KERNEL_VERSION="2.6.29"
134.48 # CT_KERNEL_bare_metal is not set
134.49 CT_KERNEL_linux=y
134.50 CT_KERNEL_LINUX_INSTALL=y
134.51 @@ -159,15 +166,7 @@
134.52 # CT_KERNEL_V_2_6_23_17 is not set
134.53 # CT_KERNEL_V_2_6_24_7 is not set
134.54 # CT_KERNEL_V_2_6_25_20 is not set
134.55 -# CT_KERNEL_V_2_6_26 is not set
134.56 -# CT_KERNEL_V_2_6_26_1 is not set
134.57 -# CT_KERNEL_V_2_6_26_2 is not set
134.58 -# CT_KERNEL_V_2_6_26_3 is not set
134.59 -# CT_KERNEL_V_2_6_26_4 is not set
134.60 -# CT_KERNEL_V_2_6_26_5 is not set
134.61 -# CT_KERNEL_V_2_6_26_6 is not set
134.62 -# CT_KERNEL_V_2_6_26_7 is not set
134.63 -CT_KERNEL_V_2_6_26_8=y
134.64 +# CT_KERNEL_V_2_6_26_8 is not set
134.65 # CT_KERNEL_V_2_6_27 is not set
134.66 # CT_KERNEL_V_2_6_27_1 is not set
134.67 # CT_KERNEL_V_2_6_27_2 is not set
134.68 @@ -179,12 +178,33 @@
134.69 # CT_KERNEL_V_2_6_27_8 is not set
134.70 # CT_KERNEL_V_2_6_27_9 is not set
134.71 # CT_KERNEL_V_2_6_27_10 is not set
134.72 +# CT_KERNEL_V_2_6_27_11 is not set
134.73 +# CT_KERNEL_V_2_6_27_12 is not set
134.74 +# CT_KERNEL_V_2_6_27_13 is not set
134.75 +# CT_KERNEL_V_2_6_27_14 is not set
134.76 +# CT_KERNEL_V_2_6_27_15 is not set
134.77 +# CT_KERNEL_V_2_6_27_16 is not set
134.78 +# CT_KERNEL_V_2_6_27_17 is not set
134.79 +# CT_KERNEL_V_2_6_27_18 is not set
134.80 +# CT_KERNEL_V_2_6_27_19 is not set
134.81 +# CT_KERNEL_V_2_6_27_20 is not set
134.82 +# CT_KERNEL_V_2_6_27_21 is not set
134.83 # CT_KERNEL_V_2_6_28 is not set
134.84 +# CT_KERNEL_V_2_6_28_1 is not set
134.85 +# CT_KERNEL_V_2_6_28_2 is not set
134.86 +# CT_KERNEL_V_2_6_28_3 is not set
134.87 +# CT_KERNEL_V_2_6_28_4 is not set
134.88 +# CT_KERNEL_V_2_6_28_5 is not set
134.89 +# CT_KERNEL_V_2_6_28_6 is not set
134.90 +# CT_KERNEL_V_2_6_28_7 is not set
134.91 +# CT_KERNEL_V_2_6_28_8 is not set
134.92 +# CT_KERNEL_V_2_6_28_9 is not set
134.93 +CT_KERNEL_V_2_6_29=y
134.94 CT_KERNEL_LINUX_VERBOSITY_0=y
134.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
134.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
134.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
134.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
134.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
134.100
134.101 #
134.102 # GMP and MPFR
134.103 @@ -196,14 +216,16 @@
134.104 CT_GMP_VERSION="4.2.4"
134.105 CT_GMP_CHECK=y
134.106 # CT_MPFR_V_2_3_1 is not set
134.107 -CT_MPFR_V_2_3_2=y
134.108 -CT_MPFR_VERSION="2.3.2"
134.109 +# CT_MPFR_V_2_3_2 is not set
134.110 +# CT_MPFR_V_2_4_0 is not set
134.111 +CT_MPFR_V_2_4_1=y
134.112 +CT_MPFR_VERSION="2.4.1"
134.113 CT_MPFR_CHECK=y
134.114
134.115 #
134.116 # binutils
134.117 #
134.118 -CT_BINUTILS_VERSION="2.19"
134.119 +CT_BINUTILS_VERSION="2.19.1"
134.120 # CT_BINUTILS_V_2_14 is not set
134.121 # CT_BINUTILS_V_2_15 is not set
134.122 # CT_BINUTILS_V_2_16_1 is not set
134.123 @@ -218,8 +240,11 @@
134.124 # CT_BINUTILS_V_2_18_91 is not set
134.125 # CT_BINUTILS_V_2_18_92 is not set
134.126 # CT_BINUTILS_V_2_18_93 is not set
134.127 -CT_BINUTILS_V_2_19=y
134.128 +# CT_BINUTILS_V_2_19 is not set
134.129 +CT_BINUTILS_V_2_19_1=y
134.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
134.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
134.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
134.133 CT_BINUTILS_EXTRA_CONFIG=""
134.134 CT_BINUTILS_FOR_TARGET=y
134.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
134.136 @@ -250,7 +275,10 @@
134.137 # CT_CC_V_4_3_0 is not set
134.138 # CT_CC_V_4_3_1 is not set
134.139 # CT_CC_V_4_3_2 is not set
134.140 +# CT_CC_V_4_3_3 is not set
134.141 +# CT_CC_V_4_4_0 is not set
134.142 # CT_CC_GCC_4_3_or_later is not set
134.143 +# CT_CC_GCC_4_4_snapshot is not set
134.144 CT_CC_CXA_ATEXIT=y
134.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
134.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
134.147 @@ -275,7 +303,7 @@
134.148 #
134.149 # C-library
134.150 #
134.151 -CT_LIBC_VERSION="0.9.30"
134.152 +CT_LIBC_VERSION="0.9.30.1"
134.153 # CT_LIBC_eglibc is not set
134.154 # CT_LIBC_glibc is not set
134.155 CT_LIBC_uClibc=y
134.156 @@ -284,7 +312,8 @@
134.157 # CT_LIBC_V_0_9_28_2 is not set
134.158 # CT_LIBC_V_0_9_28_3 is not set
134.159 # CT_LIBC_V_0_9_29 is not set
134.160 -CT_LIBC_V_0_9_30=y
134.161 +# CT_LIBC_V_0_9_30 is not set
134.162 +CT_LIBC_V_0_9_30_1=y
134.163 # CT_LIBC_V_snapshot is not set
134.164 # CT_LIBC_V_specific_date is not set
134.165 # CT_LIBC_UCLIBC_PARALLEL is not set
134.166 @@ -295,6 +324,7 @@
134.167 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
134.168 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
134.169 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
134.170 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
134.171 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
134.172 # CT_LIBC_UCLIBC_LOCALES is not set
134.173
134.174 @@ -313,8 +343,8 @@
134.175 #
134.176 # CT_TOOL_libelf is not set
134.177 CT_TOOL_sstrip=y
134.178 +CT_SSTRIP_BUILDROOT=y
134.179 # CT_SSTRIP_ELFKICKERS is not set
134.180 -CT_SSTRIP_BUILDROOT=y
134.181 CT_SSTRIP_FROM="buildroot"
134.182
134.183 #
134.184 @@ -350,10 +380,11 @@
134.185 CT_GDB_VERSION="6.8"
134.186
134.187 #
134.188 -# Native gdb needs the ncurses library on the target
134.189 +# Native gdb needs a native ncurses library
134.190 #
134.191 -CT_NCURSES_V_5_6=y
134.192 -CT_NCURSES_VERSION="5.6"
134.193 +# CT_NCURSES_V_5_6 is not set
134.194 +CT_NCURSES_V_5_7=y
134.195 +CT_NCURSES_VERSION="5.7"
134.196 # CT_DEBUG_ltrace is not set
134.197 CT_DEBUG_strace=y
134.198 # CT_STRACE_V_4_5 is not set
135.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
135.2 +++ b/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000
135.3 @@ -0,0 +1,248 @@
135.4 +#
135.5 +# Automatically generated make config: don't edit
135.6 +# Version: 0.9.30
135.7 +# Thu Nov 20 22:43:39 2008
135.8 +#
135.9 +# TARGET_alpha is not set
135.10 +# TARGET_arm is not set
135.11 +# TARGET_avr32 is not set
135.12 +# TARGET_bfin is not set
135.13 +# TARGET_cris is not set
135.14 +# TARGET_e1 is not set
135.15 +# TARGET_frv is not set
135.16 +# TARGET_h8300 is not set
135.17 +# TARGET_hppa is not set
135.18 +# TARGET_i386 is not set
135.19 +# TARGET_i960 is not set
135.20 +# TARGET_ia64 is not set
135.21 +# TARGET_m68k is not set
135.22 +# TARGET_microblaze is not set
135.23 +# TARGET_mips is not set
135.24 +# TARGET_nios is not set
135.25 +# TARGET_nios2 is not set
135.26 +TARGET_powerpc=y
135.27 +# TARGET_sh is not set
135.28 +# TARGET_sh64 is not set
135.29 +# TARGET_sparc is not set
135.30 +# TARGET_v850 is not set
135.31 +# TARGET_vax is not set
135.32 +# TARGET_x86_64 is not set
135.33 +# TARGET_xtensa is not set
135.34 +
135.35 +#
135.36 +# Target Architecture Features and Options
135.37 +#
135.38 +TARGET_ARCH="powerpc"
135.39 +FORCE_OPTIONS_FOR_ARCH=y
135.40 +# CONFIG_ARM_OABI is not set
135.41 +# CONFIG_ARM_EABI is not set
135.42 +# CONFIG_GENERIC_ARM is not set
135.43 +# CONFIG_ARM610 is not set
135.44 +# CONFIG_ARM710 is not set
135.45 +# CONFIG_ARM7TDMI is not set
135.46 +# CONFIG_ARM720T is not set
135.47 +# CONFIG_ARM920T is not set
135.48 +# CONFIG_ARM922T is not set
135.49 +# CONFIG_ARM926T is not set
135.50 +# CONFIG_ARM10T is not set
135.51 +# CONFIG_ARM1136JF_S is not set
135.52 +# CONFIG_ARM1176JZ_S is not set
135.53 +# CONFIG_ARM1176JZF_S is not set
135.54 +# CONFIG_ARM_CORTEX_M3 is not set
135.55 +# CONFIG_ARM_CORTEX_M1 is not set
135.56 +# CONFIG_ARM_SA110 is not set
135.57 +# CONFIG_ARM_SA1100 is not set
135.58 +# CONFIG_ARM_XSCALE is not set
135.59 +# CONFIG_ARM_IWMMXT is not set
135.60 +CONFIG_CLASSIC=y
135.61 +# CONFIG_E500 is not set
135.62 +TARGET_SUBARCH="classic"
135.63 +
135.64 +#
135.65 +# Using ELF file format
135.66 +#
135.67 +ARCH_BIG_ENDIAN=y
135.68 +# ARCH_WANTS_BIG_ENDIAN is not set
135.69 +# ARCH_WANTS_LITTLE_ENDIAN is not set
135.70 +
135.71 +#
135.72 +# Using Big Endian
135.73 +#
135.74 +ARCH_HAS_MMU=y
135.75 +ARCH_USE_MMU=y
135.76 +UCLIBC_HAS_FLOATS=y
135.77 +UCLIBC_HAS_FPU=y
135.78 +DO_C99_MATH=y
135.79 +UCLIBC_HAS_FENV=y
135.80 +UCLIBC_HAS_LONG_DOUBLE_MATH=y
135.81 +KERNEL_HEADERS="/usr/include"
135.82 +HAVE_DOT_CONFIG=y
135.83 +
135.84 +#
135.85 +# General Library Settings
135.86 +#
135.87 +# HAVE_NO_PIC is not set
135.88 +DOPIC=y
135.89 +# ARCH_HAS_NO_SHARED is not set
135.90 +# ARCH_HAS_NO_LDSO is not set
135.91 +HAVE_SHARED=y
135.92 +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
135.93 +LDSO_LDD_SUPPORT=y
135.94 +LDSO_CACHE_SUPPORT=y
135.95 +# LDSO_PRELOAD_FILE_SUPPORT is not set
135.96 +LDSO_BASE_FILENAME="ld.so"
135.97 +UCLIBC_STATIC_LDCONFIG=y
135.98 +# LDSO_RUNPATH is not set
135.99 +UCLIBC_CTOR_DTOR=y
135.100 +# LDSO_GNU_HASH_SUPPORT is not set
135.101 +# HAS_NO_THREADS is not set
135.102 +UCLIBC_HAS_THREADS=y
135.103 +# PTHREADS_DEBUG_SUPPORT is not set
135.104 +LINUXTHREADS_OLD=y
135.105 +UCLIBC_HAS_SYSLOG=y
135.106 +UCLIBC_HAS_LFS=y
135.107 +# MALLOC is not set
135.108 +# MALLOC_SIMPLE is not set
135.109 +MALLOC_STANDARD=y
135.110 +# MALLOC_GLIBC_COMPAT is not set
135.111 +UCLIBC_DYNAMIC_ATEXIT=y
135.112 +# COMPAT_ATEXIT is not set
135.113 +# UCLIBC_SUSV3_LEGACY is not set
135.114 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
135.115 +# UCLIBC_HAS_STUBS is not set
135.116 +UCLIBC_HAS_SHADOW=y
135.117 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
135.118 +UCLIBC_HAS_PTY=y
135.119 +ASSUME_DEVPTS=y
135.120 +UNIX98PTY_ONLY=y
135.121 +# UCLIBC_HAS_GETPT is not set
135.122 +UCLIBC_HAS_TM_EXTENSIONS=y
135.123 +UCLIBC_HAS_TZ_CACHING=y
135.124 +UCLIBC_HAS_TZ_FILE=y
135.125 +UCLIBC_HAS_TZ_FILE_READ_MANY=y
135.126 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
135.127 +
135.128 +#
135.129 +# Advanced Library Settings
135.130 +#
135.131 +UCLIBC_PWD_BUFFER_SIZE=256
135.132 +UCLIBC_GRP_BUFFER_SIZE=256
135.133 +
135.134 +#
135.135 +# Support various families of functions
135.136 +#
135.137 +UCLIBC_LINUX_MODULE_24=y
135.138 +UCLIBC_LINUX_SPECIFIC=y
135.139 +UCLIBC_HAS_GNU_ERROR=y
135.140 +# UCLIBC_BSD_SPECIFIC is not set
135.141 +UCLIBC_HAS_BSD_ERR=y
135.142 +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
135.143 +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
135.144 +# UCLIBC_NTP_LEGACY is not set
135.145 +# UCLIBC_SV4_DEPRECATED is not set
135.146 +UCLIBC_HAS_REALTIME=y
135.147 +UCLIBC_HAS_ADVANCED_REALTIME=y
135.148 +UCLIBC_HAS_EPOLL=y
135.149 +UCLIBC_HAS_XATTR=y
135.150 +UCLIBC_HAS_PROFILING=y
135.151 +UCLIBC_HAS_CRYPT_IMPL=y
135.152 +UCLIBC_HAS_CRYPT=y
135.153 +UCLIBC_HAS_NETWORK_SUPPORT=y
135.154 +UCLIBC_HAS_SOCKET=y
135.155 +UCLIBC_HAS_IPV4=y
135.156 +# UCLIBC_HAS_IPV6 is not set
135.157 +UCLIBC_HAS_RPC=y
135.158 +UCLIBC_HAS_FULL_RPC=y
135.159 +UCLIBC_HAS_REENTRANT_RPC=y
135.160 +UCLIBC_USE_NETLINK=y
135.161 +UCLIBC_SUPPORT_AI_ADDRCONFIG=y
135.162 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
135.163 +
135.164 +#
135.165 +# String and Stdio Support
135.166 +#
135.167 +UCLIBC_HAS_STRING_GENERIC_OPT=y
135.168 +UCLIBC_HAS_STRING_ARCH_OPT=y
135.169 +UCLIBC_HAS_CTYPE_TABLES=y
135.170 +UCLIBC_HAS_CTYPE_SIGNED=y
135.171 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
135.172 +# UCLIBC_HAS_CTYPE_CHECKED is not set
135.173 +UCLIBC_HAS_CTYPE_ENFORCED=y
135.174 +# UCLIBC_HAS_WCHAR is not set
135.175 +# UCLIBC_HAS_LOCALE is not set
135.176 +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
135.177 +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
135.178 +# USE_OLD_VFPRINTF is not set
135.179 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
135.180 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
135.181 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
135.182 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
135.183 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
135.184 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
135.185 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
135.186 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
135.187 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
135.188 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
135.189 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
135.190 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
135.191 +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
135.192 +UCLIBC_HAS_STDIO_GETC_MACRO=y
135.193 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
135.194 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
135.195 +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
135.196 +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
135.197 +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
135.198 +UCLIBC_HAS_PRINTF_M_SPEC=y
135.199 +UCLIBC_HAS_ERRNO_MESSAGES=y
135.200 +# UCLIBC_HAS_SYS_ERRLIST is not set
135.201 +UCLIBC_HAS_SIGNUM_MESSAGES=y
135.202 +# UCLIBC_HAS_SYS_SIGLIST is not set
135.203 +UCLIBC_HAS_GNU_GETOPT=y
135.204 +UCLIBC_HAS_GNU_GETSUBOPT=y
135.205 +
135.206 +#
135.207 +# Big and Tall
135.208 +#
135.209 +UCLIBC_HAS_REGEX=y
135.210 +UCLIBC_HAS_REGEX_OLD=y
135.211 +UCLIBC_HAS_FNMATCH=y
135.212 +UCLIBC_HAS_FNMATCH_OLD=y
135.213 +# UCLIBC_HAS_WORDEXP is not set
135.214 +# UCLIBC_HAS_FTW is not set
135.215 +UCLIBC_HAS_GLOB=y
135.216 +UCLIBC_HAS_GNU_GLOB=y
135.217 +
135.218 +#
135.219 +# Library Installation Options
135.220 +#
135.221 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
135.222 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
135.223 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
135.224 +
135.225 +#
135.226 +# Security options
135.227 +#
135.228 +# UCLIBC_BUILD_PIE is not set
135.229 +# UCLIBC_HAS_ARC4RANDOM is not set
135.230 +# HAVE_NO_SSP is not set
135.231 +# UCLIBC_HAS_SSP is not set
135.232 +UCLIBC_BUILD_RELRO=y
135.233 +# UCLIBC_BUILD_NOW is not set
135.234 +UCLIBC_BUILD_NOEXECSTACK=y
135.235 +
135.236 +#
135.237 +# uClibc development/debugging options
135.238 +#
135.239 +CROSS_COMPILER_PREFIX=""
135.240 +UCLIBC_EXTRA_CFLAGS=""
135.241 +# DODEBUG is not set
135.242 +# DODEBUG_PT is not set
135.243 +# DOSTRIP is not set
135.244 +# DOASSERTS is not set
135.245 +# SUPPORT_LD_DEBUG is not set
135.246 +# SUPPORT_LD_DEBUG_EARLY is not set
135.247 +# UCLIBC_MALLOC_DEBUGGING is not set
135.248 +WARNINGS="-Wall"
135.249 +# EXTRA_WARNINGS is not set
135.250 +# DOMULTI is not set
135.251 +# UCLIBC_MJN3_ONLY is not set
136.1 --- a/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000
136.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
136.3 @@ -1,248 +0,0 @@
136.4 -#
136.5 -# Automatically generated make config: don't edit
136.6 -# Version: 0.9.30
136.7 -# Thu Nov 20 22:43:39 2008
136.8 -#
136.9 -# TARGET_alpha is not set
136.10 -# TARGET_arm is not set
136.11 -# TARGET_avr32 is not set
136.12 -# TARGET_bfin is not set
136.13 -# TARGET_cris is not set
136.14 -# TARGET_e1 is not set
136.15 -# TARGET_frv is not set
136.16 -# TARGET_h8300 is not set
136.17 -# TARGET_hppa is not set
136.18 -# TARGET_i386 is not set
136.19 -# TARGET_i960 is not set
136.20 -# TARGET_ia64 is not set
136.21 -# TARGET_m68k is not set
136.22 -# TARGET_microblaze is not set
136.23 -# TARGET_mips is not set
136.24 -# TARGET_nios is not set
136.25 -# TARGET_nios2 is not set
136.26 -TARGET_powerpc=y
136.27 -# TARGET_sh is not set
136.28 -# TARGET_sh64 is not set
136.29 -# TARGET_sparc is not set
136.30 -# TARGET_v850 is not set
136.31 -# TARGET_vax is not set
136.32 -# TARGET_x86_64 is not set
136.33 -# TARGET_xtensa is not set
136.34 -
136.35 -#
136.36 -# Target Architecture Features and Options
136.37 -#
136.38 -TARGET_ARCH="powerpc"
136.39 -FORCE_OPTIONS_FOR_ARCH=y
136.40 -# CONFIG_ARM_OABI is not set
136.41 -# CONFIG_ARM_EABI is not set
136.42 -# CONFIG_GENERIC_ARM is not set
136.43 -# CONFIG_ARM610 is not set
136.44 -# CONFIG_ARM710 is not set
136.45 -# CONFIG_ARM7TDMI is not set
136.46 -# CONFIG_ARM720T is not set
136.47 -# CONFIG_ARM920T is not set
136.48 -# CONFIG_ARM922T is not set
136.49 -# CONFIG_ARM926T is not set
136.50 -# CONFIG_ARM10T is not set
136.51 -# CONFIG_ARM1136JF_S is not set
136.52 -# CONFIG_ARM1176JZ_S is not set
136.53 -# CONFIG_ARM1176JZF_S is not set
136.54 -# CONFIG_ARM_CORTEX_M3 is not set
136.55 -# CONFIG_ARM_CORTEX_M1 is not set
136.56 -# CONFIG_ARM_SA110 is not set
136.57 -# CONFIG_ARM_SA1100 is not set
136.58 -# CONFIG_ARM_XSCALE is not set
136.59 -# CONFIG_ARM_IWMMXT is not set
136.60 -CONFIG_CLASSIC=y
136.61 -# CONFIG_E500 is not set
136.62 -TARGET_SUBARCH="classic"
136.63 -
136.64 -#
136.65 -# Using ELF file format
136.66 -#
136.67 -ARCH_BIG_ENDIAN=y
136.68 -# ARCH_WANTS_BIG_ENDIAN is not set
136.69 -# ARCH_WANTS_LITTLE_ENDIAN is not set
136.70 -
136.71 -#
136.72 -# Using Big Endian
136.73 -#
136.74 -ARCH_HAS_MMU=y
136.75 -ARCH_USE_MMU=y
136.76 -UCLIBC_HAS_FLOATS=y
136.77 -UCLIBC_HAS_FPU=y
136.78 -DO_C99_MATH=y
136.79 -UCLIBC_HAS_FENV=y
136.80 -UCLIBC_HAS_LONG_DOUBLE_MATH=y
136.81 -KERNEL_HEADERS="/usr/include"
136.82 -HAVE_DOT_CONFIG=y
136.83 -
136.84 -#
136.85 -# General Library Settings
136.86 -#
136.87 -# HAVE_NO_PIC is not set
136.88 -DOPIC=y
136.89 -# ARCH_HAS_NO_SHARED is not set
136.90 -# ARCH_HAS_NO_LDSO is not set
136.91 -HAVE_SHARED=y
136.92 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
136.93 -LDSO_LDD_SUPPORT=y
136.94 -LDSO_CACHE_SUPPORT=y
136.95 -# LDSO_PRELOAD_FILE_SUPPORT is not set
136.96 -LDSO_BASE_FILENAME="ld.so"
136.97 -UCLIBC_STATIC_LDCONFIG=y
136.98 -# LDSO_RUNPATH is not set
136.99 -UCLIBC_CTOR_DTOR=y
136.100 -# LDSO_GNU_HASH_SUPPORT is not set
136.101 -# HAS_NO_THREADS is not set
136.102 -UCLIBC_HAS_THREADS=y
136.103 -# PTHREADS_DEBUG_SUPPORT is not set
136.104 -LINUXTHREADS_OLD=y
136.105 -UCLIBC_HAS_SYSLOG=y
136.106 -UCLIBC_HAS_LFS=y
136.107 -# MALLOC is not set
136.108 -# MALLOC_SIMPLE is not set
136.109 -MALLOC_STANDARD=y
136.110 -# MALLOC_GLIBC_COMPAT is not set
136.111 -UCLIBC_DYNAMIC_ATEXIT=y
136.112 -# COMPAT_ATEXIT is not set
136.113 -# UCLIBC_SUSV3_LEGACY is not set
136.114 -# UCLIBC_SUSV3_LEGACY_MACROS is not set
136.115 -# UCLIBC_HAS_STUBS is not set
136.116 -UCLIBC_HAS_SHADOW=y
136.117 -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
136.118 -UCLIBC_HAS_PTY=y
136.119 -ASSUME_DEVPTS=y
136.120 -UNIX98PTY_ONLY=y
136.121 -# UCLIBC_HAS_GETPT is not set
136.122 -UCLIBC_HAS_TM_EXTENSIONS=y
136.123 -UCLIBC_HAS_TZ_CACHING=y
136.124 -UCLIBC_HAS_TZ_FILE=y
136.125 -UCLIBC_HAS_TZ_FILE_READ_MANY=y
136.126 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
136.127 -
136.128 -#
136.129 -# Advanced Library Settings
136.130 -#
136.131 -UCLIBC_PWD_BUFFER_SIZE=256
136.132 -UCLIBC_GRP_BUFFER_SIZE=256
136.133 -
136.134 -#
136.135 -# Support various families of functions
136.136 -#
136.137 -UCLIBC_LINUX_MODULE_24=y
136.138 -UCLIBC_LINUX_SPECIFIC=y
136.139 -UCLIBC_HAS_GNU_ERROR=y
136.140 -# UCLIBC_BSD_SPECIFIC is not set
136.141 -UCLIBC_HAS_BSD_ERR=y
136.142 -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
136.143 -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
136.144 -# UCLIBC_NTP_LEGACY is not set
136.145 -# UCLIBC_SV4_DEPRECATED is not set
136.146 -UCLIBC_HAS_REALTIME=y
136.147 -UCLIBC_HAS_ADVANCED_REALTIME=y
136.148 -UCLIBC_HAS_EPOLL=y
136.149 -UCLIBC_HAS_XATTR=y
136.150 -UCLIBC_HAS_PROFILING=y
136.151 -UCLIBC_HAS_CRYPT_IMPL=y
136.152 -UCLIBC_HAS_CRYPT=y
136.153 -UCLIBC_HAS_NETWORK_SUPPORT=y
136.154 -UCLIBC_HAS_SOCKET=y
136.155 -UCLIBC_HAS_IPV4=y
136.156 -# UCLIBC_HAS_IPV6 is not set
136.157 -UCLIBC_HAS_RPC=y
136.158 -UCLIBC_HAS_FULL_RPC=y
136.159 -UCLIBC_HAS_REENTRANT_RPC=y
136.160 -UCLIBC_USE_NETLINK=y
136.161 -UCLIBC_SUPPORT_AI_ADDRCONFIG=y
136.162 -# UCLIBC_HAS_BSD_RES_CLOSE is not set
136.163 -
136.164 -#
136.165 -# String and Stdio Support
136.166 -#
136.167 -UCLIBC_HAS_STRING_GENERIC_OPT=y
136.168 -UCLIBC_HAS_STRING_ARCH_OPT=y
136.169 -UCLIBC_HAS_CTYPE_TABLES=y
136.170 -UCLIBC_HAS_CTYPE_SIGNED=y
136.171 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
136.172 -# UCLIBC_HAS_CTYPE_CHECKED is not set
136.173 -UCLIBC_HAS_CTYPE_ENFORCED=y
136.174 -# UCLIBC_HAS_WCHAR is not set
136.175 -# UCLIBC_HAS_LOCALE is not set
136.176 -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
136.177 -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
136.178 -# USE_OLD_VFPRINTF is not set
136.179 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
136.180 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
136.181 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
136.182 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
136.183 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
136.184 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
136.185 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
136.186 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
136.187 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
136.188 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
136.189 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
136.190 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
136.191 -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
136.192 -UCLIBC_HAS_STDIO_GETC_MACRO=y
136.193 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
136.194 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
136.195 -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
136.196 -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
136.197 -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
136.198 -UCLIBC_HAS_PRINTF_M_SPEC=y
136.199 -UCLIBC_HAS_ERRNO_MESSAGES=y
136.200 -# UCLIBC_HAS_SYS_ERRLIST is not set
136.201 -UCLIBC_HAS_SIGNUM_MESSAGES=y
136.202 -# UCLIBC_HAS_SYS_SIGLIST is not set
136.203 -UCLIBC_HAS_GNU_GETOPT=y
136.204 -UCLIBC_HAS_GNU_GETSUBOPT=y
136.205 -
136.206 -#
136.207 -# Big and Tall
136.208 -#
136.209 -UCLIBC_HAS_REGEX=y
136.210 -UCLIBC_HAS_REGEX_OLD=y
136.211 -UCLIBC_HAS_FNMATCH=y
136.212 -UCLIBC_HAS_FNMATCH_OLD=y
136.213 -# UCLIBC_HAS_WORDEXP is not set
136.214 -# UCLIBC_HAS_FTW is not set
136.215 -UCLIBC_HAS_GLOB=y
136.216 -UCLIBC_HAS_GNU_GLOB=y
136.217 -
136.218 -#
136.219 -# Library Installation Options
136.220 -#
136.221 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
136.222 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
136.223 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
136.224 -
136.225 -#
136.226 -# Security options
136.227 -#
136.228 -# UCLIBC_BUILD_PIE is not set
136.229 -# UCLIBC_HAS_ARC4RANDOM is not set
136.230 -# HAVE_NO_SSP is not set
136.231 -# UCLIBC_HAS_SSP is not set
136.232 -UCLIBC_BUILD_RELRO=y
136.233 -# UCLIBC_BUILD_NOW is not set
136.234 -UCLIBC_BUILD_NOEXECSTACK=y
136.235 -
136.236 -#
136.237 -# uClibc development/debugging options
136.238 -#
136.239 -CROSS_COMPILER_PREFIX=""
136.240 -UCLIBC_EXTRA_CFLAGS=""
136.241 -# DODEBUG is not set
136.242 -# DODEBUG_PT is not set
136.243 -# DOSTRIP is not set
136.244 -# DOASSERTS is not set
136.245 -# SUPPORT_LD_DEBUG is not set
136.246 -# SUPPORT_LD_DEBUG_EARLY is not set
136.247 -# UCLIBC_MALLOC_DEBUGGING is not set
136.248 -WARNINGS="-Wall"
136.249 -# EXTRA_WARNINGS is not set
136.250 -# DOMULTI is not set
136.251 -# UCLIBC_MJN3_ONLY is not set
137.1 --- a/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
137.2 +++ b/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
137.3 @@ -1,7 +1,7 @@
137.4 #
137.5 # Automatically generated make config: don't edit
137.6 -# crosstool-NG version: svn_trunk@1297M
137.7 -# Tue Jan 6 23:18:13 2009
137.8 +# crosstool-NG version: svn_trunk@1453
137.9 +# Sun Mar 29 12:34:19 2009
137.10 #
137.11
137.12 #
137.13 @@ -30,6 +30,7 @@
137.14 #
137.15 # Downloading
137.16 #
137.17 +# CT_FORBID_DOWNLOAD is not set
137.18 # CT_FORCE_DOWNLOAD is not set
137.19 # CT_USE_PROXY is not set
137.20 CT_PROXY_TYPE="none"
137.21 @@ -103,6 +104,7 @@
137.22 # CT_ARCH_ia64 is not set
137.23 # CT_ARCH_mips is not set
137.24 CT_ARCH_powerpc=y
137.25 +# CT_ARCH_powerpc64 is not set
137.26 # CT_ARCH_sh is not set
137.27 # CT_ARCH_x86 is not set
137.28 # CT_ARCH_x86_64 is not set
137.29 @@ -120,7 +122,12 @@
137.30 # General toolchain options
137.31 #
137.32 CT_USE_SYSROOT=y
137.33 +CT_SYSROOT_DIR_PREFIX=""
137.34 CT_SHARED_LIBS=y
137.35 +
137.36 +#
137.37 +# Tuple completion and aliasing
137.38 +#
137.39 CT_TARGET_VENDOR="unknown_nofpu"
137.40 CT_TARGET_ALIAS_SED_EXPR=""
137.41 CT_TARGET_ALIAS=""
137.42 @@ -146,7 +153,7 @@
137.43 #
137.44 # CT_BARE_METAL is not set
137.45 CT_KERNEL="linux"
137.46 -CT_KERNEL_VERSION="2.6.26.8"
137.47 +CT_KERNEL_VERSION="2.6.29"
137.48 # CT_KERNEL_bare_metal is not set
137.49 CT_KERNEL_linux=y
137.50 CT_KERNEL_LINUX_INSTALL=y
137.51 @@ -159,15 +166,7 @@
137.52 # CT_KERNEL_V_2_6_23_17 is not set
137.53 # CT_KERNEL_V_2_6_24_7 is not set
137.54 # CT_KERNEL_V_2_6_25_20 is not set
137.55 -# CT_KERNEL_V_2_6_26 is not set
137.56 -# CT_KERNEL_V_2_6_26_1 is not set
137.57 -# CT_KERNEL_V_2_6_26_2 is not set
137.58 -# CT_KERNEL_V_2_6_26_3 is not set
137.59 -# CT_KERNEL_V_2_6_26_4 is not set
137.60 -# CT_KERNEL_V_2_6_26_5 is not set
137.61 -# CT_KERNEL_V_2_6_26_6 is not set
137.62 -# CT_KERNEL_V_2_6_26_7 is not set
137.63 -CT_KERNEL_V_2_6_26_8=y
137.64 +# CT_KERNEL_V_2_6_26_8 is not set
137.65 # CT_KERNEL_V_2_6_27 is not set
137.66 # CT_KERNEL_V_2_6_27_1 is not set
137.67 # CT_KERNEL_V_2_6_27_2 is not set
137.68 @@ -179,12 +178,33 @@
137.69 # CT_KERNEL_V_2_6_27_8 is not set
137.70 # CT_KERNEL_V_2_6_27_9 is not set
137.71 # CT_KERNEL_V_2_6_27_10 is not set
137.72 +# CT_KERNEL_V_2_6_27_11 is not set
137.73 +# CT_KERNEL_V_2_6_27_12 is not set
137.74 +# CT_KERNEL_V_2_6_27_13 is not set
137.75 +# CT_KERNEL_V_2_6_27_14 is not set
137.76 +# CT_KERNEL_V_2_6_27_15 is not set
137.77 +# CT_KERNEL_V_2_6_27_16 is not set
137.78 +# CT_KERNEL_V_2_6_27_17 is not set
137.79 +# CT_KERNEL_V_2_6_27_18 is not set
137.80 +# CT_KERNEL_V_2_6_27_19 is not set
137.81 +# CT_KERNEL_V_2_6_27_20 is not set
137.82 +# CT_KERNEL_V_2_6_27_21 is not set
137.83 # CT_KERNEL_V_2_6_28 is not set
137.84 +# CT_KERNEL_V_2_6_28_1 is not set
137.85 +# CT_KERNEL_V_2_6_28_2 is not set
137.86 +# CT_KERNEL_V_2_6_28_3 is not set
137.87 +# CT_KERNEL_V_2_6_28_4 is not set
137.88 +# CT_KERNEL_V_2_6_28_5 is not set
137.89 +# CT_KERNEL_V_2_6_28_6 is not set
137.90 +# CT_KERNEL_V_2_6_28_7 is not set
137.91 +# CT_KERNEL_V_2_6_28_8 is not set
137.92 +# CT_KERNEL_V_2_6_28_9 is not set
137.93 +CT_KERNEL_V_2_6_29=y
137.94 CT_KERNEL_LINUX_VERBOSITY_0=y
137.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
137.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
137.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
137.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
137.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
137.100
137.101 #
137.102 # GMP and MPFR
137.103 @@ -196,14 +216,16 @@
137.104 CT_GMP_VERSION="4.2.4"
137.105 CT_GMP_CHECK=y
137.106 # CT_MPFR_V_2_3_1 is not set
137.107 -CT_MPFR_V_2_3_2=y
137.108 -CT_MPFR_VERSION="2.3.2"
137.109 +# CT_MPFR_V_2_3_2 is not set
137.110 +# CT_MPFR_V_2_4_0 is not set
137.111 +CT_MPFR_V_2_4_1=y
137.112 +CT_MPFR_VERSION="2.4.1"
137.113 CT_MPFR_CHECK=y
137.114
137.115 #
137.116 # binutils
137.117 #
137.118 -CT_BINUTILS_VERSION="2.19"
137.119 +CT_BINUTILS_VERSION="2.19.1"
137.120 # CT_BINUTILS_V_2_14 is not set
137.121 # CT_BINUTILS_V_2_15 is not set
137.122 # CT_BINUTILS_V_2_16_1 is not set
137.123 @@ -218,8 +240,11 @@
137.124 # CT_BINUTILS_V_2_18_91 is not set
137.125 # CT_BINUTILS_V_2_18_92 is not set
137.126 # CT_BINUTILS_V_2_18_93 is not set
137.127 -CT_BINUTILS_V_2_19=y
137.128 +# CT_BINUTILS_V_2_19 is not set
137.129 +CT_BINUTILS_V_2_19_1=y
137.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
137.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
137.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
137.133 CT_BINUTILS_EXTRA_CONFIG=""
137.134 CT_BINUTILS_FOR_TARGET=y
137.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
137.136 @@ -250,7 +275,10 @@
137.137 # CT_CC_V_4_3_0 is not set
137.138 # CT_CC_V_4_3_1 is not set
137.139 CT_CC_V_4_3_2=y
137.140 +# CT_CC_V_4_3_3 is not set
137.141 +# CT_CC_V_4_4_0 is not set
137.142 CT_CC_GCC_4_3_or_later=y
137.143 +# CT_CC_GCC_4_4_snapshot is not set
137.144 CT_CC_CXA_ATEXIT=y
137.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
137.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
137.147 @@ -278,7 +306,7 @@
137.148 #
137.149 # C-library
137.150 #
137.151 -CT_LIBC_VERSION="2.7"
137.152 +CT_LIBC_VERSION="2.9"
137.153 # CT_LIBC_eglibc is not set
137.154 CT_LIBC_glibc=y
137.155 # CT_LIBC_uClibc is not set
137.156 @@ -287,12 +315,28 @@
137.157 # CT_LIBC_V_2_5_1 is not set
137.158 # CT_LIBC_V_2_6 is not set
137.159 # CT_LIBC_V_2_6_1 is not set
137.160 -CT_LIBC_V_2_7=y
137.161 +# CT_LIBC_V_2_7 is not set
137.162 # CT_LIBC_V_2_8 is not set
137.163 -# CT_LIBC_V_2_9 is not set
137.164 +CT_LIBC_V_2_9=y
137.165 # CT_LIBC_V_LATEST is not set
137.166 # CT_LIBC_V_date is not set
137.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
137.168 +# CT_LIBC_GLIBC_TARBALL is not set
137.169 +CT_LIBC_GLIBC_CVS=y
137.170 +CT_LIBC_GLIBC_CVS_date="2009-03-29"
137.171 +
137.172 +#
137.173 +# glibc/eglibc common options
137.174 +#
137.175 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
137.176 +CT_LIBC_GLIBC_CONFIGPARMS=""
137.177 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
137.178 +CT_LIBC_EXTRA_CC_ARGS=""
137.179 +CT_LIBC_GLIBC_USE_PORTS=y
137.180 +CT_LIBC_ADDONS_LIST=""
137.181 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
137.182 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
137.183 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
137.184 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
137.185
137.186 #
137.187 # Common C library options
137.188 @@ -305,25 +349,12 @@
137.189 # CT_THREADS_NONE is not set
137.190
137.191 #
137.192 -# glibc/eglibc common options
137.193 -#
137.194 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
137.195 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
137.196 -CT_LIBC_EXTRA_CC_ARGS=""
137.197 -CT_LIBC_GLIBC_USE_PORTS=y
137.198 -CT_LIBC_ADDONS_LIST=""
137.199 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
137.200 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
137.201 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
137.202 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
137.203 -
137.204 -#
137.205 # Tools facilities
137.206 #
137.207 # CT_TOOL_libelf is not set
137.208 CT_TOOL_sstrip=y
137.209 +CT_SSTRIP_BUILDROOT=y
137.210 # CT_SSTRIP_ELFKICKERS is not set
137.211 -CT_SSTRIP_BUILDROOT=y
137.212 CT_SSTRIP_FROM="buildroot"
137.213
137.214 #
137.215 @@ -359,10 +390,11 @@
137.216 CT_GDB_VERSION="6.8"
137.217
137.218 #
137.219 -# Native gdb needs the ncurses library on the target
137.220 +# Native gdb needs a native ncurses library
137.221 #
137.222 -CT_NCURSES_V_5_6=y
137.223 -CT_NCURSES_VERSION="5.6"
137.224 +# CT_NCURSES_V_5_6 is not set
137.225 +CT_NCURSES_V_5_7=y
137.226 +CT_NCURSES_VERSION="5.7"
137.227 # CT_DEBUG_ltrace is not set
137.228 CT_DEBUG_strace=y
137.229 # CT_STRACE_V_4_5 is not set
138.1 --- a/samples/powerpc64-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
138.2 +++ b/samples/powerpc64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
138.3 @@ -1,7 +1,7 @@
138.4 #
138.5 # Automatically generated make config: don't edit
138.6 -# crosstool-NG version: svn_trunk@1347M
138.7 -# Sat Jan 31 18:29:59 2009
138.8 +# crosstool-NG version: svn_trunk@1453
138.9 +# Sun Mar 29 12:35:07 2009
138.10 #
138.11
138.12 #
138.13 @@ -123,7 +123,12 @@
138.14 # General toolchain options
138.15 #
138.16 CT_USE_SYSROOT=y
138.17 +CT_SYSROOT_DIR_PREFIX=""
138.18 CT_SHARED_LIBS=y
138.19 +
138.20 +#
138.21 +# Tuple completion and aliasing
138.22 +#
138.23 CT_TARGET_VENDOR=""
138.24 CT_TARGET_ALIAS_SED_EXPR=""
138.25 CT_TARGET_ALIAS=""
138.26 @@ -149,7 +154,7 @@
138.27 #
138.28 # CT_BARE_METAL is not set
138.29 CT_KERNEL="linux"
138.30 -CT_KERNEL_VERSION="2.6.26.8"
138.31 +CT_KERNEL_VERSION="2.6.29"
138.32 # CT_KERNEL_bare_metal is not set
138.33 CT_KERNEL_linux=y
138.34 CT_KERNEL_LINUX_INSTALL=y
138.35 @@ -162,15 +167,7 @@
138.36 # CT_KERNEL_V_2_6_23_17 is not set
138.37 # CT_KERNEL_V_2_6_24_7 is not set
138.38 # CT_KERNEL_V_2_6_25_20 is not set
138.39 -# CT_KERNEL_V_2_6_26 is not set
138.40 -# CT_KERNEL_V_2_6_26_1 is not set
138.41 -# CT_KERNEL_V_2_6_26_2 is not set
138.42 -# CT_KERNEL_V_2_6_26_3 is not set
138.43 -# CT_KERNEL_V_2_6_26_4 is not set
138.44 -# CT_KERNEL_V_2_6_26_5 is not set
138.45 -# CT_KERNEL_V_2_6_26_6 is not set
138.46 -# CT_KERNEL_V_2_6_26_7 is not set
138.47 -CT_KERNEL_V_2_6_26_8=y
138.48 +# CT_KERNEL_V_2_6_26_8 is not set
138.49 # CT_KERNEL_V_2_6_27 is not set
138.50 # CT_KERNEL_V_2_6_27_1 is not set
138.51 # CT_KERNEL_V_2_6_27_2 is not set
138.52 @@ -185,14 +182,30 @@
138.53 # CT_KERNEL_V_2_6_27_11 is not set
138.54 # CT_KERNEL_V_2_6_27_12 is not set
138.55 # CT_KERNEL_V_2_6_27_13 is not set
138.56 +# CT_KERNEL_V_2_6_27_14 is not set
138.57 +# CT_KERNEL_V_2_6_27_15 is not set
138.58 +# CT_KERNEL_V_2_6_27_16 is not set
138.59 +# CT_KERNEL_V_2_6_27_17 is not set
138.60 +# CT_KERNEL_V_2_6_27_18 is not set
138.61 +# CT_KERNEL_V_2_6_27_19 is not set
138.62 +# CT_KERNEL_V_2_6_27_20 is not set
138.63 +# CT_KERNEL_V_2_6_27_21 is not set
138.64 # CT_KERNEL_V_2_6_28 is not set
138.65 # CT_KERNEL_V_2_6_28_1 is not set
138.66 # CT_KERNEL_V_2_6_28_2 is not set
138.67 +# CT_KERNEL_V_2_6_28_3 is not set
138.68 +# CT_KERNEL_V_2_6_28_4 is not set
138.69 +# CT_KERNEL_V_2_6_28_5 is not set
138.70 +# CT_KERNEL_V_2_6_28_6 is not set
138.71 +# CT_KERNEL_V_2_6_28_7 is not set
138.72 +# CT_KERNEL_V_2_6_28_8 is not set
138.73 +# CT_KERNEL_V_2_6_28_9 is not set
138.74 +CT_KERNEL_V_2_6_29=y
138.75 CT_KERNEL_LINUX_VERBOSITY_0=y
138.76 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
138.77 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
138.78 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
138.79 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
138.80 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
138.81
138.82 #
138.83 # GMP and MPFR
138.84 @@ -204,14 +217,16 @@
138.85 CT_GMP_VERSION="4.2.4"
138.86 CT_GMP_CHECK=y
138.87 # CT_MPFR_V_2_3_1 is not set
138.88 -CT_MPFR_V_2_3_2=y
138.89 -CT_MPFR_VERSION="2.3.2"
138.90 +# CT_MPFR_V_2_3_2 is not set
138.91 +# CT_MPFR_V_2_4_0 is not set
138.92 +CT_MPFR_V_2_4_1=y
138.93 +CT_MPFR_VERSION="2.4.1"
138.94 CT_MPFR_CHECK=y
138.95
138.96 #
138.97 # binutils
138.98 #
138.99 -CT_BINUTILS_VERSION="2.19"
138.100 +CT_BINUTILS_VERSION="2.19.1"
138.101 # CT_BINUTILS_V_2_14 is not set
138.102 # CT_BINUTILS_V_2_15 is not set
138.103 # CT_BINUTILS_V_2_16_1 is not set
138.104 @@ -226,8 +241,11 @@
138.105 # CT_BINUTILS_V_2_18_91 is not set
138.106 # CT_BINUTILS_V_2_18_92 is not set
138.107 # CT_BINUTILS_V_2_18_93 is not set
138.108 -CT_BINUTILS_V_2_19=y
138.109 +# CT_BINUTILS_V_2_19 is not set
138.110 +CT_BINUTILS_V_2_19_1=y
138.111 # CT_BINUTILS_V_2_19_50_0_1 is not set
138.112 +# CT_BINUTILS_V_2_19_51_0_1 is not set
138.113 +# CT_BINUTILS_V_2_19_51_0_2 is not set
138.114 CT_BINUTILS_EXTRA_CONFIG=""
138.115 CT_BINUTILS_FOR_TARGET=y
138.116 CT_BINUTILS_FOR_TARGET_IBERTY=y
138.117 @@ -259,7 +277,9 @@
138.118 # CT_CC_V_4_3_1 is not set
138.119 CT_CC_V_4_3_2=y
138.120 # CT_CC_V_4_3_3 is not set
138.121 +# CT_CC_V_4_4_0 is not set
138.122 CT_CC_GCC_4_3_or_later=y
138.123 +# CT_CC_GCC_4_4_snapshot is not set
138.124 CT_CC_CXA_ATEXIT=y
138.125 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
138.126 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
138.127 @@ -291,7 +311,7 @@
138.128 #
138.129 # C-library
138.130 #
138.131 -CT_LIBC_VERSION="2.7"
138.132 +CT_LIBC_VERSION="2.9"
138.133 # CT_LIBC_eglibc is not set
138.134 CT_LIBC_glibc=y
138.135 # CT_LIBC_uClibc is not set
138.136 @@ -300,17 +320,19 @@
138.137 # CT_LIBC_V_2_5_1 is not set
138.138 # CT_LIBC_V_2_6 is not set
138.139 # CT_LIBC_V_2_6_1 is not set
138.140 -CT_LIBC_V_2_7=y
138.141 +# CT_LIBC_V_2_7 is not set
138.142 # CT_LIBC_V_2_8 is not set
138.143 -# CT_LIBC_V_2_9 is not set
138.144 +CT_LIBC_V_2_9=y
138.145 # CT_LIBC_V_LATEST is not set
138.146 # CT_LIBC_V_date is not set
138.147 -# CT_LIBC_GLIBC_2_8_or_later is not set
138.148 +CT_LIBC_GLIBC_TARBALL=y
138.149 +# CT_LIBC_GLIBC_CVS is not set
138.150
138.151 #
138.152 # glibc/eglibc common options
138.153 #
138.154 CT_LIBC_GLIBC_EXTRA_CONFIG=""
138.155 +CT_LIBC_GLIBC_CONFIGPARMS=""
138.156 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
138.157 CT_LIBC_EXTRA_CC_ARGS=""
138.158 # CT_LIBC_GLIBC_USE_PORTS is not set
138.159 @@ -318,7 +340,7 @@
138.160 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
138.161 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
138.162 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
138.163 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
138.164 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
138.165
138.166 #
138.167 # Common C library options
138.168 @@ -335,8 +357,8 @@
138.169 #
138.170 # CT_TOOL_libelf is not set
138.171 CT_TOOL_sstrip=y
138.172 +CT_SSTRIP_BUILDROOT=y
138.173 # CT_SSTRIP_ELFKICKERS is not set
138.174 -CT_SSTRIP_BUILDROOT=y
138.175 CT_SSTRIP_FROM="buildroot"
138.176
138.177 #
138.178 @@ -373,10 +395,11 @@
138.179 CT_GDB_VERSION="6.8"
138.180
138.181 #
138.182 -# Native gdb needs the ncurses library on the target
138.183 +# Native gdb needs a native ncurses library
138.184 #
138.185 -CT_NCURSES_V_5_6=y
138.186 -CT_NCURSES_VERSION="5.6"
138.187 +# CT_NCURSES_V_5_6 is not set
138.188 +CT_NCURSES_V_5_7=y
138.189 +CT_NCURSES_VERSION="5.7"
138.190 # CT_DEBUG_ltrace is not set
138.191 CT_DEBUG_strace=y
138.192 # CT_STRACE_V_4_5 is not set
139.1 --- a/samples/sh4-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
139.2 +++ b/samples/sh4-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
139.3 @@ -1,7 +1,7 @@
139.4 #
139.5 # Automatically generated make config: don't edit
139.6 -# crosstool-NG version: svn_trunk@1407
139.7 -# Fri Mar 6 19:58:32 2009
139.8 +# crosstool-NG version: svn_trunk@1454M
139.9 +# Mon Mar 30 19:45:55 2009
139.10 #
139.11
139.12 #
139.13 @@ -11,7 +11,7 @@
139.14 #
139.15 # crosstool-NG behavior
139.16 #
139.17 -# CT_OBSOLETE is not set
139.18 +CT_OBSOLETE=y
139.19 CT_EXPERIMENTAL=y
139.20 # CT_DEBUG_CT is not set
139.21
139.22 @@ -169,14 +169,6 @@
139.23 # CT_KERNEL_V_2_6_23_17 is not set
139.24 # CT_KERNEL_V_2_6_24_7 is not set
139.25 # CT_KERNEL_V_2_6_25_20 is not set
139.26 -# CT_KERNEL_V_2_6_26 is not set
139.27 -# CT_KERNEL_V_2_6_26_1 is not set
139.28 -# CT_KERNEL_V_2_6_26_2 is not set
139.29 -# CT_KERNEL_V_2_6_26_3 is not set
139.30 -# CT_KERNEL_V_2_6_26_4 is not set
139.31 -# CT_KERNEL_V_2_6_26_5 is not set
139.32 -# CT_KERNEL_V_2_6_26_6 is not set
139.33 -# CT_KERNEL_V_2_6_26_7 is not set
139.34 CT_KERNEL_V_2_6_26_8=y
139.35 # CT_KERNEL_V_2_6_27 is not set
139.36 # CT_KERNEL_V_2_6_27_1 is not set
139.37 @@ -198,6 +190,8 @@
139.38 # CT_KERNEL_V_2_6_27_17 is not set
139.39 # CT_KERNEL_V_2_6_27_18 is not set
139.40 # CT_KERNEL_V_2_6_27_19 is not set
139.41 +# CT_KERNEL_V_2_6_27_20 is not set
139.42 +# CT_KERNEL_V_2_6_27_21 is not set
139.43 # CT_KERNEL_V_2_6_28 is not set
139.44 # CT_KERNEL_V_2_6_28_1 is not set
139.45 # CT_KERNEL_V_2_6_28_2 is not set
139.46 @@ -206,6 +200,9 @@
139.47 # CT_KERNEL_V_2_6_28_5 is not set
139.48 # CT_KERNEL_V_2_6_28_6 is not set
139.49 # CT_KERNEL_V_2_6_28_7 is not set
139.50 +# CT_KERNEL_V_2_6_28_8 is not set
139.51 +# CT_KERNEL_V_2_6_28_9 is not set
139.52 +# CT_KERNEL_V_2_6_29 is not set
139.53 CT_KERNEL_LINUX_VERBOSITY_0=y
139.54 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
139.55 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
139.56 @@ -221,10 +218,11 @@
139.57 # CT_GMP_V_4_2_4 is not set
139.58 CT_GMP_VERSION="4.2.2"
139.59 CT_GMP_CHECK=y
139.60 -CT_MPFR_V_2_3_1=y
139.61 +# CT_MPFR_V_2_3_1 is not set
139.62 # CT_MPFR_V_2_3_2 is not set
139.63 # CT_MPFR_V_2_4_0 is not set
139.64 -CT_MPFR_VERSION="2.3.1"
139.65 +CT_MPFR_V_2_4_1=y
139.66 +CT_MPFR_VERSION="2.4.1"
139.67 CT_MPFR_CHECK=y
139.68
139.69 #
139.70 @@ -279,7 +277,9 @@
139.71 # CT_CC_V_4_3_1 is not set
139.72 CT_CC_V_4_3_2=y
139.73 # CT_CC_V_4_3_3 is not set
139.74 +# CT_CC_V_4_4_0 is not set
139.75 CT_CC_GCC_4_3_or_later=y
139.76 +# CT_CC_GCC_4_4_snapshot is not set
139.77 CT_CC_CXA_ATEXIT=y
139.78 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
139.79 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
139.80 @@ -310,7 +310,7 @@
139.81 #
139.82 # C-library
139.83 #
139.84 -CT_LIBC_VERSION="2.7"
139.85 +CT_LIBC_VERSION="2.9"
139.86 # CT_LIBC_eglibc is not set
139.87 CT_LIBC_glibc=y
139.88 # CT_LIBC_uClibc is not set
139.89 @@ -319,12 +319,13 @@
139.90 # CT_LIBC_V_2_5_1 is not set
139.91 # CT_LIBC_V_2_6 is not set
139.92 # CT_LIBC_V_2_6_1 is not set
139.93 -CT_LIBC_V_2_7=y
139.94 +# CT_LIBC_V_2_7 is not set
139.95 # CT_LIBC_V_2_8 is not set
139.96 -# CT_LIBC_V_2_9 is not set
139.97 +CT_LIBC_V_2_9=y
139.98 # CT_LIBC_V_LATEST is not set
139.99 # CT_LIBC_V_date is not set
139.100 -# CT_LIBC_GLIBC_2_8_or_later is not set
139.101 +CT_LIBC_GLIBC_TARBALL=y
139.102 +# CT_LIBC_GLIBC_CVS is not set
139.103
139.104 #
139.105 # glibc/eglibc common options
140.1 --- a/samples/x86_64-unknown-linux-gnu/crosstool.config Sat Apr 11 19:03:02 2009 +0000
140.2 +++ b/samples/x86_64-unknown-linux-gnu/crosstool.config Sun Apr 19 16:17:11 2009 +0000
140.3 @@ -1,7 +1,7 @@
140.4 #
140.5 # Automatically generated make config: don't edit
140.6 -# crosstool-NG version: svn_trunk@1297M
140.7 -# Tue Jan 6 23:18:21 2009
140.8 +# crosstool-NG version: svn_trunk@1453
140.9 +# Sun Mar 29 12:37:31 2009
140.10 #
140.11
140.12 #
140.13 @@ -30,6 +30,7 @@
140.14 #
140.15 # Downloading
140.16 #
140.17 +# CT_FORBID_DOWNLOAD is not set
140.18 # CT_FORCE_DOWNLOAD is not set
140.19 # CT_USE_PROXY is not set
140.20 CT_PROXY_TYPE="none"
140.21 @@ -103,6 +104,7 @@
140.22 # CT_ARCH_ia64 is not set
140.23 # CT_ARCH_mips is not set
140.24 # CT_ARCH_powerpc is not set
140.25 +# CT_ARCH_powerpc64 is not set
140.26 # CT_ARCH_sh is not set
140.27 # CT_ARCH_x86 is not set
140.28 CT_ARCH_x86_64=y
140.29 @@ -119,7 +121,12 @@
140.30 # General toolchain options
140.31 #
140.32 CT_USE_SYSROOT=y
140.33 +CT_SYSROOT_DIR_PREFIX=""
140.34 CT_SHARED_LIBS=y
140.35 +
140.36 +#
140.37 +# Tuple completion and aliasing
140.38 +#
140.39 CT_TARGET_VENDOR=""
140.40 CT_TARGET_ALIAS_SED_EXPR=""
140.41 CT_TARGET_ALIAS=""
140.42 @@ -145,7 +152,7 @@
140.43 #
140.44 # CT_BARE_METAL is not set
140.45 CT_KERNEL="linux"
140.46 -CT_KERNEL_VERSION="2.6.26.8"
140.47 +CT_KERNEL_VERSION="2.6.29"
140.48 # CT_KERNEL_bare_metal is not set
140.49 CT_KERNEL_linux=y
140.50 CT_KERNEL_LINUX_INSTALL=y
140.51 @@ -158,15 +165,7 @@
140.52 # CT_KERNEL_V_2_6_23_17 is not set
140.53 # CT_KERNEL_V_2_6_24_7 is not set
140.54 # CT_KERNEL_V_2_6_25_20 is not set
140.55 -# CT_KERNEL_V_2_6_26 is not set
140.56 -# CT_KERNEL_V_2_6_26_1 is not set
140.57 -# CT_KERNEL_V_2_6_26_2 is not set
140.58 -# CT_KERNEL_V_2_6_26_3 is not set
140.59 -# CT_KERNEL_V_2_6_26_4 is not set
140.60 -# CT_KERNEL_V_2_6_26_5 is not set
140.61 -# CT_KERNEL_V_2_6_26_6 is not set
140.62 -# CT_KERNEL_V_2_6_26_7 is not set
140.63 -CT_KERNEL_V_2_6_26_8=y
140.64 +# CT_KERNEL_V_2_6_26_8 is not set
140.65 # CT_KERNEL_V_2_6_27 is not set
140.66 # CT_KERNEL_V_2_6_27_1 is not set
140.67 # CT_KERNEL_V_2_6_27_2 is not set
140.68 @@ -178,12 +177,33 @@
140.69 # CT_KERNEL_V_2_6_27_8 is not set
140.70 # CT_KERNEL_V_2_6_27_9 is not set
140.71 # CT_KERNEL_V_2_6_27_10 is not set
140.72 +# CT_KERNEL_V_2_6_27_11 is not set
140.73 +# CT_KERNEL_V_2_6_27_12 is not set
140.74 +# CT_KERNEL_V_2_6_27_13 is not set
140.75 +# CT_KERNEL_V_2_6_27_14 is not set
140.76 +# CT_KERNEL_V_2_6_27_15 is not set
140.77 +# CT_KERNEL_V_2_6_27_16 is not set
140.78 +# CT_KERNEL_V_2_6_27_17 is not set
140.79 +# CT_KERNEL_V_2_6_27_18 is not set
140.80 +# CT_KERNEL_V_2_6_27_19 is not set
140.81 +# CT_KERNEL_V_2_6_27_20 is not set
140.82 +# CT_KERNEL_V_2_6_27_21 is not set
140.83 # CT_KERNEL_V_2_6_28 is not set
140.84 +# CT_KERNEL_V_2_6_28_1 is not set
140.85 +# CT_KERNEL_V_2_6_28_2 is not set
140.86 +# CT_KERNEL_V_2_6_28_3 is not set
140.87 +# CT_KERNEL_V_2_6_28_4 is not set
140.88 +# CT_KERNEL_V_2_6_28_5 is not set
140.89 +# CT_KERNEL_V_2_6_28_6 is not set
140.90 +# CT_KERNEL_V_2_6_28_7 is not set
140.91 +# CT_KERNEL_V_2_6_28_8 is not set
140.92 +# CT_KERNEL_V_2_6_28_9 is not set
140.93 +CT_KERNEL_V_2_6_29=y
140.94 CT_KERNEL_LINUX_VERBOSITY_0=y
140.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
140.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
140.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
140.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
140.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
140.100
140.101 #
140.102 # GMP and MPFR
140.103 @@ -195,14 +215,16 @@
140.104 CT_GMP_VERSION="4.2.4"
140.105 CT_GMP_CHECK=y
140.106 # CT_MPFR_V_2_3_1 is not set
140.107 -CT_MPFR_V_2_3_2=y
140.108 -CT_MPFR_VERSION="2.3.2"
140.109 +# CT_MPFR_V_2_3_2 is not set
140.110 +# CT_MPFR_V_2_4_0 is not set
140.111 +CT_MPFR_V_2_4_1=y
140.112 +CT_MPFR_VERSION="2.4.1"
140.113 CT_MPFR_CHECK=y
140.114
140.115 #
140.116 # binutils
140.117 #
140.118 -CT_BINUTILS_VERSION="2.19"
140.119 +CT_BINUTILS_VERSION="2.19.1"
140.120 # CT_BINUTILS_V_2_14 is not set
140.121 # CT_BINUTILS_V_2_15 is not set
140.122 # CT_BINUTILS_V_2_16_1 is not set
140.123 @@ -217,8 +239,11 @@
140.124 # CT_BINUTILS_V_2_18_91 is not set
140.125 # CT_BINUTILS_V_2_18_92 is not set
140.126 # CT_BINUTILS_V_2_18_93 is not set
140.127 -CT_BINUTILS_V_2_19=y
140.128 +# CT_BINUTILS_V_2_19 is not set
140.129 +CT_BINUTILS_V_2_19_1=y
140.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
140.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
140.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
140.133 CT_BINUTILS_EXTRA_CONFIG=""
140.134 CT_BINUTILS_FOR_TARGET=y
140.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
140.136 @@ -249,7 +274,10 @@
140.137 # CT_CC_V_4_3_0 is not set
140.138 # CT_CC_V_4_3_1 is not set
140.139 CT_CC_V_4_3_2=y
140.140 +# CT_CC_V_4_3_3 is not set
140.141 +# CT_CC_V_4_4_0 is not set
140.142 CT_CC_GCC_4_3_or_later=y
140.143 +# CT_CC_GCC_4_4_snapshot is not set
140.144 CT_CC_CXA_ATEXIT=y
140.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
140.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
140.147 @@ -277,7 +305,7 @@
140.148 #
140.149 # C-library
140.150 #
140.151 -CT_LIBC_VERSION="2.7"
140.152 +CT_LIBC_VERSION="2.9"
140.153 # CT_LIBC_eglibc is not set
140.154 CT_LIBC_glibc=y
140.155 # CT_LIBC_uClibc is not set
140.156 @@ -286,12 +314,27 @@
140.157 # CT_LIBC_V_2_5_1 is not set
140.158 # CT_LIBC_V_2_6 is not set
140.159 # CT_LIBC_V_2_6_1 is not set
140.160 -CT_LIBC_V_2_7=y
140.161 +# CT_LIBC_V_2_7 is not set
140.162 # CT_LIBC_V_2_8 is not set
140.163 -# CT_LIBC_V_2_9 is not set
140.164 +CT_LIBC_V_2_9=y
140.165 # CT_LIBC_V_LATEST is not set
140.166 # CT_LIBC_V_date is not set
140.167 -# CT_LIBC_GLIBC_2_8_or_later is not set
140.168 +CT_LIBC_GLIBC_TARBALL=y
140.169 +# CT_LIBC_GLIBC_CVS is not set
140.170 +
140.171 +#
140.172 +# glibc/eglibc common options
140.173 +#
140.174 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
140.175 +CT_LIBC_GLIBC_CONFIGPARMS=""
140.176 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
140.177 +CT_LIBC_EXTRA_CC_ARGS=""
140.178 +# CT_LIBC_GLIBC_USE_PORTS is not set
140.179 +CT_LIBC_ADDONS_LIST=""
140.180 +# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
140.181 +CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
140.182 +# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
140.183 +CT_LIBC_GLIBC_MIN_KERNEL="2.6.29"
140.184
140.185 #
140.186 # Common C library options
140.187 @@ -304,27 +347,14 @@
140.188 # CT_THREADS_NONE is not set
140.189
140.190 #
140.191 -# glibc/eglibc common options
140.192 -#
140.193 -CT_LIBC_GLIBC_EXTRA_CONFIG=""
140.194 -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
140.195 -CT_LIBC_EXTRA_CC_ARGS=""
140.196 -# CT_LIBC_GLIBC_USE_PORTS is not set
140.197 -CT_LIBC_ADDONS_LIST=""
140.198 -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
140.199 -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
140.200 -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
140.201 -CT_LIBC_GLIBC_MIN_KERNEL="2.6.26.8"
140.202 -
140.203 -#
140.204 # Tools facilities
140.205 #
140.206 CT_TOOL_libelf=y
140.207 CT_LIBELF_V_0_8_10=y
140.208 CT_LIBELF_VERSION="0.8.10"
140.209 CT_TOOL_sstrip=y
140.210 +CT_SSTRIP_BUILDROOT=y
140.211 # CT_SSTRIP_ELFKICKERS is not set
140.212 -CT_SSTRIP_BUILDROOT=y
140.213 CT_SSTRIP_FROM="buildroot"
140.214
140.215 #
140.216 @@ -360,13 +390,15 @@
140.217 CT_GDB_VERSION="6.8"
140.218
140.219 #
140.220 -# Native gdb needs the ncurses library on the target
140.221 +# Native gdb needs a native ncurses library
140.222 #
140.223 -CT_NCURSES_V_5_6=y
140.224 -CT_NCURSES_VERSION="5.6"
140.225 +# CT_NCURSES_V_5_6 is not set
140.226 +CT_NCURSES_V_5_7=y
140.227 +CT_NCURSES_VERSION="5.7"
140.228 CT_DEBUG_ltrace=y
140.229 # CT_LTRACE_V_0_4 is not set
140.230 CT_LTRACE_V_0_5=y
140.231 +# CT_LTRACE_V_0_5_1 is not set
140.232 CT_LTRACE_VERSION="0.5"
140.233 CT_DEBUG_strace=y
140.234 # CT_STRACE_V_4_5 is not set
141.1 --- a/samples/x86_64-unknown-linux-uclibc/crosstool.config Sat Apr 11 19:03:02 2009 +0000
141.2 +++ b/samples/x86_64-unknown-linux-uclibc/crosstool.config Sun Apr 19 16:17:11 2009 +0000
141.3 @@ -1,7 +1,7 @@
141.4 #
141.5 # Automatically generated make config: don't edit
141.6 -# crosstool-NG version: svn_trunk@1297M
141.7 -# Tue Jan 6 23:18:23 2009
141.8 +# crosstool-NG version: svn_trunk@1453
141.9 +# Sun Mar 29 12:37:47 2009
141.10 #
141.11
141.12 #
141.13 @@ -30,6 +30,7 @@
141.14 #
141.15 # Downloading
141.16 #
141.17 +# CT_FORBID_DOWNLOAD is not set
141.18 # CT_FORCE_DOWNLOAD is not set
141.19 # CT_USE_PROXY is not set
141.20 CT_PROXY_TYPE="none"
141.21 @@ -103,6 +104,7 @@
141.22 # CT_ARCH_ia64 is not set
141.23 # CT_ARCH_mips is not set
141.24 # CT_ARCH_powerpc is not set
141.25 +# CT_ARCH_powerpc64 is not set
141.26 # CT_ARCH_sh is not set
141.27 # CT_ARCH_x86 is not set
141.28 CT_ARCH_x86_64=y
141.29 @@ -119,7 +121,12 @@
141.30 # General toolchain options
141.31 #
141.32 CT_USE_SYSROOT=y
141.33 +CT_SYSROOT_DIR_PREFIX=""
141.34 CT_SHARED_LIBS=y
141.35 +
141.36 +#
141.37 +# Tuple completion and aliasing
141.38 +#
141.39 CT_TARGET_VENDOR="unknown"
141.40 CT_TARGET_ALIAS_SED_EXPR=""
141.41 CT_TARGET_ALIAS=""
141.42 @@ -145,7 +152,7 @@
141.43 #
141.44 # CT_BARE_METAL is not set
141.45 CT_KERNEL="linux"
141.46 -CT_KERNEL_VERSION="2.6.26.8"
141.47 +CT_KERNEL_VERSION="2.6.29"
141.48 # CT_KERNEL_bare_metal is not set
141.49 CT_KERNEL_linux=y
141.50 CT_KERNEL_LINUX_INSTALL=y
141.51 @@ -158,15 +165,7 @@
141.52 # CT_KERNEL_V_2_6_23_17 is not set
141.53 # CT_KERNEL_V_2_6_24_7 is not set
141.54 # CT_KERNEL_V_2_6_25_20 is not set
141.55 -# CT_KERNEL_V_2_6_26 is not set
141.56 -# CT_KERNEL_V_2_6_26_1 is not set
141.57 -# CT_KERNEL_V_2_6_26_2 is not set
141.58 -# CT_KERNEL_V_2_6_26_3 is not set
141.59 -# CT_KERNEL_V_2_6_26_4 is not set
141.60 -# CT_KERNEL_V_2_6_26_5 is not set
141.61 -# CT_KERNEL_V_2_6_26_6 is not set
141.62 -# CT_KERNEL_V_2_6_26_7 is not set
141.63 -CT_KERNEL_V_2_6_26_8=y
141.64 +# CT_KERNEL_V_2_6_26_8 is not set
141.65 # CT_KERNEL_V_2_6_27 is not set
141.66 # CT_KERNEL_V_2_6_27_1 is not set
141.67 # CT_KERNEL_V_2_6_27_2 is not set
141.68 @@ -178,12 +177,33 @@
141.69 # CT_KERNEL_V_2_6_27_8 is not set
141.70 # CT_KERNEL_V_2_6_27_9 is not set
141.71 # CT_KERNEL_V_2_6_27_10 is not set
141.72 +# CT_KERNEL_V_2_6_27_11 is not set
141.73 +# CT_KERNEL_V_2_6_27_12 is not set
141.74 +# CT_KERNEL_V_2_6_27_13 is not set
141.75 +# CT_KERNEL_V_2_6_27_14 is not set
141.76 +# CT_KERNEL_V_2_6_27_15 is not set
141.77 +# CT_KERNEL_V_2_6_27_16 is not set
141.78 +# CT_KERNEL_V_2_6_27_17 is not set
141.79 +# CT_KERNEL_V_2_6_27_18 is not set
141.80 +# CT_KERNEL_V_2_6_27_19 is not set
141.81 +# CT_KERNEL_V_2_6_27_20 is not set
141.82 +# CT_KERNEL_V_2_6_27_21 is not set
141.83 # CT_KERNEL_V_2_6_28 is not set
141.84 +# CT_KERNEL_V_2_6_28_1 is not set
141.85 +# CT_KERNEL_V_2_6_28_2 is not set
141.86 +# CT_KERNEL_V_2_6_28_3 is not set
141.87 +# CT_KERNEL_V_2_6_28_4 is not set
141.88 +# CT_KERNEL_V_2_6_28_5 is not set
141.89 +# CT_KERNEL_V_2_6_28_6 is not set
141.90 +# CT_KERNEL_V_2_6_28_7 is not set
141.91 +# CT_KERNEL_V_2_6_28_8 is not set
141.92 +# CT_KERNEL_V_2_6_28_9 is not set
141.93 +CT_KERNEL_V_2_6_29=y
141.94 CT_KERNEL_LINUX_VERBOSITY_0=y
141.95 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
141.96 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
141.97 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
141.98 -# CT_KERNEL_LINUX_USE_CUSTOM_DIR is not set
141.99 +# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
141.100
141.101 #
141.102 # GMP and MPFR
141.103 @@ -195,14 +215,16 @@
141.104 CT_GMP_VERSION="4.2.4"
141.105 CT_GMP_CHECK=y
141.106 # CT_MPFR_V_2_3_1 is not set
141.107 -CT_MPFR_V_2_3_2=y
141.108 -CT_MPFR_VERSION="2.3.2"
141.109 +# CT_MPFR_V_2_3_2 is not set
141.110 +# CT_MPFR_V_2_4_0 is not set
141.111 +CT_MPFR_V_2_4_1=y
141.112 +CT_MPFR_VERSION="2.4.1"
141.113 CT_MPFR_CHECK=y
141.114
141.115 #
141.116 # binutils
141.117 #
141.118 -CT_BINUTILS_VERSION="2.19"
141.119 +CT_BINUTILS_VERSION="2.19.1"
141.120 # CT_BINUTILS_V_2_14 is not set
141.121 # CT_BINUTILS_V_2_15 is not set
141.122 # CT_BINUTILS_V_2_16_1 is not set
141.123 @@ -217,8 +239,11 @@
141.124 # CT_BINUTILS_V_2_18_91 is not set
141.125 # CT_BINUTILS_V_2_18_92 is not set
141.126 # CT_BINUTILS_V_2_18_93 is not set
141.127 -CT_BINUTILS_V_2_19=y
141.128 +# CT_BINUTILS_V_2_19 is not set
141.129 +CT_BINUTILS_V_2_19_1=y
141.130 # CT_BINUTILS_V_2_19_50_0_1 is not set
141.131 +# CT_BINUTILS_V_2_19_51_0_1 is not set
141.132 +# CT_BINUTILS_V_2_19_51_0_2 is not set
141.133 CT_BINUTILS_EXTRA_CONFIG=""
141.134 CT_BINUTILS_FOR_TARGET=y
141.135 CT_BINUTILS_FOR_TARGET_IBERTY=y
141.136 @@ -249,7 +274,10 @@
141.137 # CT_CC_V_4_3_0 is not set
141.138 # CT_CC_V_4_3_1 is not set
141.139 CT_CC_V_4_3_2=y
141.140 +# CT_CC_V_4_3_3 is not set
141.141 +# CT_CC_V_4_4_0 is not set
141.142 CT_CC_GCC_4_3_or_later=y
141.143 +# CT_CC_GCC_4_4_snapshot is not set
141.144 CT_CC_CXA_ATEXIT=y
141.145 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
141.146 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
141.147 @@ -277,7 +305,7 @@
141.148 #
141.149 # C-library
141.150 #
141.151 -CT_LIBC_VERSION="0.9.30"
141.152 +CT_LIBC_VERSION="0.9.30.1"
141.153 # CT_LIBC_eglibc is not set
141.154 # CT_LIBC_glibc is not set
141.155 CT_LIBC_uClibc=y
141.156 @@ -286,7 +314,8 @@
141.157 # CT_LIBC_V_0_9_28_2 is not set
141.158 # CT_LIBC_V_0_9_28_3 is not set
141.159 # CT_LIBC_V_0_9_29 is not set
141.160 -CT_LIBC_V_0_9_30=y
141.161 +# CT_LIBC_V_0_9_30 is not set
141.162 +CT_LIBC_V_0_9_30_1=y
141.163 # CT_LIBC_V_snapshot is not set
141.164 # CT_LIBC_V_specific_date is not set
141.165 # CT_LIBC_UCLIBC_PARALLEL is not set
141.166 @@ -297,6 +326,7 @@
141.167 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
141.168 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
141.169 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
141.170 +CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
141.171 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
141.172 # CT_LIBC_UCLIBC_LOCALES is not set
141.173
141.174 @@ -317,8 +347,8 @@
141.175 CT_LIBELF_V_0_8_10=y
141.176 CT_LIBELF_VERSION="0.8.10"
141.177 CT_TOOL_sstrip=y
141.178 +CT_SSTRIP_BUILDROOT=y
141.179 # CT_SSTRIP_ELFKICKERS is not set
141.180 -CT_SSTRIP_BUILDROOT=y
141.181 CT_SSTRIP_FROM="buildroot"
141.182
141.183 #
141.184 @@ -354,13 +384,15 @@
141.185 CT_GDB_VERSION="6.8"
141.186
141.187 #
141.188 -# Native gdb needs the ncurses library on the target
141.189 +# Native gdb needs a native ncurses library
141.190 #
141.191 -CT_NCURSES_V_5_6=y
141.192 -CT_NCURSES_VERSION="5.6"
141.193 +# CT_NCURSES_V_5_6 is not set
141.194 +CT_NCURSES_V_5_7=y
141.195 +CT_NCURSES_VERSION="5.7"
141.196 CT_DEBUG_ltrace=y
141.197 # CT_LTRACE_V_0_4 is not set
141.198 CT_LTRACE_V_0_5=y
141.199 +# CT_LTRACE_V_0_5_1 is not set
141.200 CT_LTRACE_VERSION="0.5"
141.201 CT_DEBUG_strace=y
141.202 # CT_STRACE_V_4_5 is not set
142.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
142.2 +++ b/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.1.config Sun Apr 19 16:17:11 2009 +0000
142.3 @@ -0,0 +1,245 @@
142.4 +#
142.5 +# Automatically generated make config: don't edit
142.6 +# Version: 0.9.30
142.7 +# Fri Nov 21 09:26:34 2008
142.8 +#
142.9 +# TARGET_alpha is not set
142.10 +# TARGET_arm is not set
142.11 +# TARGET_avr32 is not set
142.12 +# TARGET_bfin is not set
142.13 +# TARGET_cris is not set
142.14 +# TARGET_e1 is not set
142.15 +# TARGET_frv is not set
142.16 +# TARGET_h8300 is not set
142.17 +# TARGET_hppa is not set
142.18 +# TARGET_i386 is not set
142.19 +# TARGET_i960 is not set
142.20 +# TARGET_ia64 is not set
142.21 +# TARGET_m68k is not set
142.22 +# TARGET_microblaze is not set
142.23 +# TARGET_mips is not set
142.24 +# TARGET_nios is not set
142.25 +# TARGET_nios2 is not set
142.26 +# TARGET_powerpc is not set
142.27 +# TARGET_sh is not set
142.28 +# TARGET_sh64 is not set
142.29 +# TARGET_sparc is not set
142.30 +# TARGET_v850 is not set
142.31 +# TARGET_vax is not set
142.32 +TARGET_x86_64=y
142.33 +# TARGET_xtensa is not set
142.34 +
142.35 +#
142.36 +# Target Architecture Features and Options
142.37 +#
142.38 +TARGET_ARCH="x86_64"
142.39 +FORCE_OPTIONS_FOR_ARCH=y
142.40 +# CONFIG_ARM_OABI is not set
142.41 +# CONFIG_ARM_EABI is not set
142.42 +# CONFIG_GENERIC_ARM is not set
142.43 +# CONFIG_ARM610 is not set
142.44 +# CONFIG_ARM710 is not set
142.45 +# CONFIG_ARM7TDMI is not set
142.46 +# CONFIG_ARM720T is not set
142.47 +# CONFIG_ARM920T is not set
142.48 +# CONFIG_ARM922T is not set
142.49 +# CONFIG_ARM926T is not set
142.50 +# CONFIG_ARM10T is not set
142.51 +# CONFIG_ARM1136JF_S is not set
142.52 +# CONFIG_ARM1176JZ_S is not set
142.53 +# CONFIG_ARM1176JZF_S is not set
142.54 +# CONFIG_ARM_CORTEX_M3 is not set
142.55 +# CONFIG_ARM_CORTEX_M1 is not set
142.56 +# CONFIG_ARM_SA110 is not set
142.57 +# CONFIG_ARM_SA1100 is not set
142.58 +# CONFIG_ARM_XSCALE is not set
142.59 +# CONFIG_ARM_IWMMXT is not set
142.60 +TARGET_SUBARCH=""
142.61 +
142.62 +#
142.63 +# Using ELF file format
142.64 +#
142.65 +ARCH_LITTLE_ENDIAN=y
142.66 +# ARCH_WANTS_BIG_ENDIAN is not set
142.67 +# ARCH_WANTS_LITTLE_ENDIAN is not set
142.68 +
142.69 +#
142.70 +# Using Little Endian
142.71 +#
142.72 +ARCH_HAS_MMU=y
142.73 +ARCH_USE_MMU=y
142.74 +UCLIBC_HAS_FLOATS=y
142.75 +UCLIBC_HAS_FPU=y
142.76 +DO_C99_MATH=y
142.77 +UCLIBC_HAS_FENV=y
142.78 +UCLIBC_HAS_LONG_DOUBLE_MATH=y
142.79 +KERNEL_HEADERS="/usr/include"
142.80 +HAVE_DOT_CONFIG=y
142.81 +
142.82 +#
142.83 +# General Library Settings
142.84 +#
142.85 +# HAVE_NO_PIC is not set
142.86 +DOPIC=y
142.87 +# ARCH_HAS_NO_SHARED is not set
142.88 +# ARCH_HAS_NO_LDSO is not set
142.89 +HAVE_SHARED=y
142.90 +# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
142.91 +LDSO_LDD_SUPPORT=y
142.92 +LDSO_CACHE_SUPPORT=y
142.93 +# LDSO_PRELOAD_FILE_SUPPORT is not set
142.94 +LDSO_BASE_FILENAME="ld.so"
142.95 +UCLIBC_STATIC_LDCONFIG=y
142.96 +# LDSO_RUNPATH is not set
142.97 +UCLIBC_CTOR_DTOR=y
142.98 +# LDSO_GNU_HASH_SUPPORT is not set
142.99 +# HAS_NO_THREADS is not set
142.100 +UCLIBC_HAS_THREADS=y
142.101 +# PTHREADS_DEBUG_SUPPORT is not set
142.102 +LINUXTHREADS_OLD=y
142.103 +UCLIBC_HAS_SYSLOG=y
142.104 +UCLIBC_HAS_LFS=y
142.105 +# MALLOC is not set
142.106 +# MALLOC_SIMPLE is not set
142.107 +MALLOC_STANDARD=y
142.108 +# MALLOC_GLIBC_COMPAT is not set
142.109 +UCLIBC_DYNAMIC_ATEXIT=y
142.110 +# COMPAT_ATEXIT is not set
142.111 +# UCLIBC_SUSV3_LEGACY is not set
142.112 +# UCLIBC_SUSV3_LEGACY_MACROS is not set
142.113 +# UCLIBC_HAS_STUBS is not set
142.114 +UCLIBC_HAS_SHADOW=y
142.115 +# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
142.116 +UCLIBC_HAS_PTY=y
142.117 +ASSUME_DEVPTS=y
142.118 +UNIX98PTY_ONLY=y
142.119 +# UCLIBC_HAS_GETPT is not set
142.120 +UCLIBC_HAS_TM_EXTENSIONS=y
142.121 +UCLIBC_HAS_TZ_CACHING=y
142.122 +UCLIBC_HAS_TZ_FILE=y
142.123 +UCLIBC_HAS_TZ_FILE_READ_MANY=y
142.124 +UCLIBC_TZ_FILE_PATH="/etc/TZ"
142.125 +
142.126 +#
142.127 +# Advanced Library Settings
142.128 +#
142.129 +UCLIBC_PWD_BUFFER_SIZE=256
142.130 +UCLIBC_GRP_BUFFER_SIZE=256
142.131 +
142.132 +#
142.133 +# Support various families of functions
142.134 +#
142.135 +UCLIBC_LINUX_MODULE_24=y
142.136 +UCLIBC_LINUX_SPECIFIC=y
142.137 +UCLIBC_HAS_GNU_ERROR=y
142.138 +# UCLIBC_BSD_SPECIFIC is not set
142.139 +UCLIBC_HAS_BSD_ERR=y
142.140 +# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
142.141 +# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
142.142 +# UCLIBC_NTP_LEGACY is not set
142.143 +# UCLIBC_SV4_DEPRECATED is not set
142.144 +UCLIBC_HAS_REALTIME=y
142.145 +UCLIBC_HAS_ADVANCED_REALTIME=y
142.146 +UCLIBC_HAS_EPOLL=y
142.147 +UCLIBC_HAS_XATTR=y
142.148 +UCLIBC_HAS_PROFILING=y
142.149 +UCLIBC_HAS_CRYPT_IMPL=y
142.150 +UCLIBC_HAS_CRYPT=y
142.151 +UCLIBC_HAS_NETWORK_SUPPORT=y
142.152 +UCLIBC_HAS_SOCKET=y
142.153 +UCLIBC_HAS_IPV4=y
142.154 +# UCLIBC_HAS_IPV6 is not set
142.155 +UCLIBC_HAS_RPC=y
142.156 +UCLIBC_HAS_FULL_RPC=y
142.157 +UCLIBC_HAS_REENTRANT_RPC=y
142.158 +UCLIBC_USE_NETLINK=y
142.159 +UCLIBC_SUPPORT_AI_ADDRCONFIG=y
142.160 +# UCLIBC_HAS_BSD_RES_CLOSE is not set
142.161 +
142.162 +#
142.163 +# String and Stdio Support
142.164 +#
142.165 +UCLIBC_HAS_STRING_GENERIC_OPT=y
142.166 +UCLIBC_HAS_STRING_ARCH_OPT=y
142.167 +UCLIBC_HAS_CTYPE_TABLES=y
142.168 +UCLIBC_HAS_CTYPE_SIGNED=y
142.169 +# UCLIBC_HAS_CTYPE_UNSAFE is not set
142.170 +# UCLIBC_HAS_CTYPE_CHECKED is not set
142.171 +UCLIBC_HAS_CTYPE_ENFORCED=y
142.172 +# UCLIBC_HAS_WCHAR is not set
142.173 +# UCLIBC_HAS_LOCALE is not set
142.174 +# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
142.175 +UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
142.176 +# USE_OLD_VFPRINTF is not set
142.177 +UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
142.178 +# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
142.179 +# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
142.180 +# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
142.181 +# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
142.182 +# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
142.183 +# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
142.184 +UCLIBC_HAS_STDIO_BUFSIZ_4096=y
142.185 +# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
142.186 +UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
142.187 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
142.188 +# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
142.189 +# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
142.190 +UCLIBC_HAS_STDIO_GETC_MACRO=y
142.191 +UCLIBC_HAS_STDIO_PUTC_MACRO=y
142.192 +UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
142.193 +# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
142.194 +# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
142.195 +# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
142.196 +UCLIBC_HAS_PRINTF_M_SPEC=y
142.197 +UCLIBC_HAS_ERRNO_MESSAGES=y
142.198 +# UCLIBC_HAS_SYS_ERRLIST is not set
142.199 +UCLIBC_HAS_SIGNUM_MESSAGES=y
142.200 +# UCLIBC_HAS_SYS_SIGLIST is not set
142.201 +UCLIBC_HAS_GNU_GETOPT=y
142.202 +UCLIBC_HAS_GNU_GETSUBOPT=y
142.203 +
142.204 +#
142.205 +# Big and Tall
142.206 +#
142.207 +UCLIBC_HAS_REGEX=y
142.208 +UCLIBC_HAS_REGEX_OLD=y
142.209 +UCLIBC_HAS_FNMATCH=y
142.210 +UCLIBC_HAS_FNMATCH_OLD=y
142.211 +# UCLIBC_HAS_WORDEXP is not set
142.212 +# UCLIBC_HAS_FTW is not set
142.213 +UCLIBC_HAS_GLOB=y
142.214 +UCLIBC_HAS_GNU_GLOB=y
142.215 +
142.216 +#
142.217 +# Library Installation Options
142.218 +#
142.219 +SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
142.220 +RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
142.221 +DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
142.222 +
142.223 +#
142.224 +# Security options
142.225 +#
142.226 +# UCLIBC_HAS_ARC4RANDOM is not set
142.227 +# HAVE_NO_SSP is not set
142.228 +# UCLIBC_HAS_SSP is not set
142.229 +UCLIBC_BUILD_RELRO=y
142.230 +# UCLIBC_BUILD_NOW is not set
142.231 +UCLIBC_BUILD_NOEXECSTACK=y
142.232 +
142.233 +#
142.234 +# uClibc development/debugging options
142.235 +#
142.236 +CROSS_COMPILER_PREFIX=""
142.237 +UCLIBC_EXTRA_CFLAGS=""
142.238 +# DODEBUG is not set
142.239 +# DODEBUG_PT is not set
142.240 +# DOSTRIP is not set
142.241 +# DOASSERTS is not set
142.242 +# SUPPORT_LD_DEBUG is not set
142.243 +# SUPPORT_LD_DEBUG_EARLY is not set
142.244 +# UCLIBC_MALLOC_DEBUGGING is not set
142.245 +WARNINGS="-Wall"
142.246 +# EXTRA_WARNINGS is not set
142.247 +# DOMULTI is not set
142.248 +# UCLIBC_MJN3_ONLY is not set
143.1 --- a/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config Sat Apr 11 19:03:02 2009 +0000
143.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
143.3 @@ -1,245 +0,0 @@
143.4 -#
143.5 -# Automatically generated make config: don't edit
143.6 -# Version: 0.9.30
143.7 -# Fri Nov 21 09:26:34 2008
143.8 -#
143.9 -# TARGET_alpha is not set
143.10 -# TARGET_arm is not set
143.11 -# TARGET_avr32 is not set
143.12 -# TARGET_bfin is not set
143.13 -# TARGET_cris is not set
143.14 -# TARGET_e1 is not set
143.15 -# TARGET_frv is not set
143.16 -# TARGET_h8300 is not set
143.17 -# TARGET_hppa is not set
143.18 -# TARGET_i386 is not set
143.19 -# TARGET_i960 is not set
143.20 -# TARGET_ia64 is not set
143.21 -# TARGET_m68k is not set
143.22 -# TARGET_microblaze is not set
143.23 -# TARGET_mips is not set
143.24 -# TARGET_nios is not set
143.25 -# TARGET_nios2 is not set
143.26 -# TARGET_powerpc is not set
143.27 -# TARGET_sh is not set
143.28 -# TARGET_sh64 is not set
143.29 -# TARGET_sparc is not set
143.30 -# TARGET_v850 is not set
143.31 -# TARGET_vax is not set
143.32 -TARGET_x86_64=y
143.33 -# TARGET_xtensa is not set
143.34 -
143.35 -#
143.36 -# Target Architecture Features and Options
143.37 -#
143.38 -TARGET_ARCH="x86_64"
143.39 -FORCE_OPTIONS_FOR_ARCH=y
143.40 -# CONFIG_ARM_OABI is not set
143.41 -# CONFIG_ARM_EABI is not set
143.42 -# CONFIG_GENERIC_ARM is not set
143.43 -# CONFIG_ARM610 is not set
143.44 -# CONFIG_ARM710 is not set
143.45 -# CONFIG_ARM7TDMI is not set
143.46 -# CONFIG_ARM720T is not set
143.47 -# CONFIG_ARM920T is not set
143.48 -# CONFIG_ARM922T is not set
143.49 -# CONFIG_ARM926T is not set
143.50 -# CONFIG_ARM10T is not set
143.51 -# CONFIG_ARM1136JF_S is not set
143.52 -# CONFIG_ARM1176JZ_S is not set
143.53 -# CONFIG_ARM1176JZF_S is not set
143.54 -# CONFIG_ARM_CORTEX_M3 is not set
143.55 -# CONFIG_ARM_CORTEX_M1 is not set
143.56 -# CONFIG_ARM_SA110 is not set
143.57 -# CONFIG_ARM_SA1100 is not set
143.58 -# CONFIG_ARM_XSCALE is not set
143.59 -# CONFIG_ARM_IWMMXT is not set
143.60 -TARGET_SUBARCH=""
143.61 -
143.62 -#
143.63 -# Using ELF file format
143.64 -#
143.65 -ARCH_LITTLE_ENDIAN=y
143.66 -# ARCH_WANTS_BIG_ENDIAN is not set
143.67 -# ARCH_WANTS_LITTLE_ENDIAN is not set
143.68 -
143.69 -#
143.70 -# Using Little Endian
143.71 -#
143.72 -ARCH_HAS_MMU=y
143.73 -ARCH_USE_MMU=y
143.74 -UCLIBC_HAS_FLOATS=y
143.75 -UCLIBC_HAS_FPU=y
143.76 -DO_C99_MATH=y
143.77 -UCLIBC_HAS_FENV=y
143.78 -UCLIBC_HAS_LONG_DOUBLE_MATH=y
143.79 -KERNEL_HEADERS="/usr/include"
143.80 -HAVE_DOT_CONFIG=y
143.81 -
143.82 -#
143.83 -# General Library Settings
143.84 -#
143.85 -# HAVE_NO_PIC is not set
143.86 -DOPIC=y
143.87 -# ARCH_HAS_NO_SHARED is not set
143.88 -# ARCH_HAS_NO_LDSO is not set
143.89 -HAVE_SHARED=y
143.90 -# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
143.91 -LDSO_LDD_SUPPORT=y
143.92 -LDSO_CACHE_SUPPORT=y
143.93 -# LDSO_PRELOAD_FILE_SUPPORT is not set
143.94 -LDSO_BASE_FILENAME="ld.so"
143.95 -UCLIBC_STATIC_LDCONFIG=y
143.96 -# LDSO_RUNPATH is not set
143.97 -UCLIBC_CTOR_DTOR=y
143.98 -# LDSO_GNU_HASH_SUPPORT is not set
143.99 -# HAS_NO_THREADS is not set
143.100 -UCLIBC_HAS_THREADS=y
143.101 -# PTHREADS_DEBUG_SUPPORT is not set
143.102 -LINUXTHREADS_OLD=y
143.103 -UCLIBC_HAS_SYSLOG=y
143.104 -UCLIBC_HAS_LFS=y
143.105 -# MALLOC is not set
143.106 -# MALLOC_SIMPLE is not set
143.107 -MALLOC_STANDARD=y
143.108 -# MALLOC_GLIBC_COMPAT is not set
143.109 -UCLIBC_DYNAMIC_ATEXIT=y
143.110 -# COMPAT_ATEXIT is not set
143.111 -# UCLIBC_SUSV3_LEGACY is not set
143.112 -# UCLIBC_SUSV3_LEGACY_MACROS is not set
143.113 -# UCLIBC_HAS_STUBS is not set
143.114 -UCLIBC_HAS_SHADOW=y
143.115 -# UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
143.116 -UCLIBC_HAS_PTY=y
143.117 -ASSUME_DEVPTS=y
143.118 -UNIX98PTY_ONLY=y
143.119 -# UCLIBC_HAS_GETPT is not set
143.120 -UCLIBC_HAS_TM_EXTENSIONS=y
143.121 -UCLIBC_HAS_TZ_CACHING=y
143.122 -UCLIBC_HAS_TZ_FILE=y
143.123 -UCLIBC_HAS_TZ_FILE_READ_MANY=y
143.124 -UCLIBC_TZ_FILE_PATH="/etc/TZ"
143.125 -
143.126 -#
143.127 -# Advanced Library Settings
143.128 -#
143.129 -UCLIBC_PWD_BUFFER_SIZE=256
143.130 -UCLIBC_GRP_BUFFER_SIZE=256
143.131 -
143.132 -#
143.133 -# Support various families of functions
143.134 -#
143.135 -UCLIBC_LINUX_MODULE_24=y
143.136 -UCLIBC_LINUX_SPECIFIC=y
143.137 -UCLIBC_HAS_GNU_ERROR=y
143.138 -# UCLIBC_BSD_SPECIFIC is not set
143.139 -UCLIBC_HAS_BSD_ERR=y
143.140 -# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
143.141 -# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
143.142 -# UCLIBC_NTP_LEGACY is not set
143.143 -# UCLIBC_SV4_DEPRECATED is not set
143.144 -UCLIBC_HAS_REALTIME=y
143.145 -UCLIBC_HAS_ADVANCED_REALTIME=y
143.146 -UCLIBC_HAS_EPOLL=y
143.147 -UCLIBC_HAS_XATTR=y
143.148 -UCLIBC_HAS_PROFILING=y
143.149 -UCLIBC_HAS_CRYPT_IMPL=y
143.150 -UCLIBC_HAS_CRYPT=y
143.151 -UCLIBC_HAS_NETWORK_SUPPORT=y
143.152 -UCLIBC_HAS_SOCKET=y
143.153 -UCLIBC_HAS_IPV4=y
143.154 -# UCLIBC_HAS_IPV6 is not set
143.155 -UCLIBC_HAS_RPC=y
143.156 -UCLIBC_HAS_FULL_RPC=y
143.157 -UCLIBC_HAS_REENTRANT_RPC=y
143.158 -UCLIBC_USE_NETLINK=y
143.159 -UCLIBC_SUPPORT_AI_ADDRCONFIG=y
143.160 -# UCLIBC_HAS_BSD_RES_CLOSE is not set
143.161 -
143.162 -#
143.163 -# String and Stdio Support
143.164 -#
143.165 -UCLIBC_HAS_STRING_GENERIC_OPT=y
143.166 -UCLIBC_HAS_STRING_ARCH_OPT=y
143.167 -UCLIBC_HAS_CTYPE_TABLES=y
143.168 -UCLIBC_HAS_CTYPE_SIGNED=y
143.169 -# UCLIBC_HAS_CTYPE_UNSAFE is not set
143.170 -# UCLIBC_HAS_CTYPE_CHECKED is not set
143.171 -UCLIBC_HAS_CTYPE_ENFORCED=y
143.172 -# UCLIBC_HAS_WCHAR is not set
143.173 -# UCLIBC_HAS_LOCALE is not set
143.174 -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
143.175 -UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
143.176 -# USE_OLD_VFPRINTF is not set
143.177 -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
143.178 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
143.179 -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
143.180 -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
143.181 -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
143.182 -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
143.183 -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
143.184 -UCLIBC_HAS_STDIO_BUFSIZ_4096=y
143.185 -# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
143.186 -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
143.187 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
143.188 -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
143.189 -# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
143.190 -UCLIBC_HAS_STDIO_GETC_MACRO=y
143.191 -UCLIBC_HAS_STDIO_PUTC_MACRO=y
143.192 -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
143.193 -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
143.194 -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
143.195 -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
143.196 -UCLIBC_HAS_PRINTF_M_SPEC=y
143.197 -UCLIBC_HAS_ERRNO_MESSAGES=y
143.198 -# UCLIBC_HAS_SYS_ERRLIST is not set
143.199 -UCLIBC_HAS_SIGNUM_MESSAGES=y
143.200 -# UCLIBC_HAS_SYS_SIGLIST is not set
143.201 -UCLIBC_HAS_GNU_GETOPT=y
143.202 -UCLIBC_HAS_GNU_GETSUBOPT=y
143.203 -
143.204 -#
143.205 -# Big and Tall
143.206 -#
143.207 -UCLIBC_HAS_REGEX=y
143.208 -UCLIBC_HAS_REGEX_OLD=y
143.209 -UCLIBC_HAS_FNMATCH=y
143.210 -UCLIBC_HAS_FNMATCH_OLD=y
143.211 -# UCLIBC_HAS_WORDEXP is not set
143.212 -# UCLIBC_HAS_FTW is not set
143.213 -UCLIBC_HAS_GLOB=y
143.214 -UCLIBC_HAS_GNU_GLOB=y
143.215 -
143.216 -#
143.217 -# Library Installation Options
143.218 -#
143.219 -SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
143.220 -RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
143.221 -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
143.222 -
143.223 -#
143.224 -# Security options
143.225 -#
143.226 -# UCLIBC_HAS_ARC4RANDOM is not set
143.227 -# HAVE_NO_SSP is not set
143.228 -# UCLIBC_HAS_SSP is not set
143.229 -UCLIBC_BUILD_RELRO=y
143.230 -# UCLIBC_BUILD_NOW is not set
143.231 -UCLIBC_BUILD_NOEXECSTACK=y
143.232 -
143.233 -#
143.234 -# uClibc development/debugging options
143.235 -#
143.236 -CROSS_COMPILER_PREFIX=""
143.237 -UCLIBC_EXTRA_CFLAGS=""
143.238 -# DODEBUG is not set
143.239 -# DODEBUG_PT is not set
143.240 -# DOSTRIP is not set
143.241 -# DOASSERTS is not set
143.242 -# SUPPORT_LD_DEBUG is not set
143.243 -# SUPPORT_LD_DEBUG_EARLY is not set
143.244 -# UCLIBC_MALLOC_DEBUGGING is not set
143.245 -WARNINGS="-Wall"
143.246 -# EXTRA_WARNINGS is not set
143.247 -# DOMULTI is not set
143.248 -# UCLIBC_MJN3_ONLY is not set
144.1 --- a/scripts/build/cc/gcc.sh Sat Apr 11 19:03:02 2009 +0000
144.2 +++ b/scripts/build/cc/gcc.sh Sun Apr 19 16:17:11 2009 +0000
144.3 @@ -4,15 +4,19 @@
144.4
144.5 # Download gcc
144.6 do_cc_get() {
144.7 + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}"
144.8 +
144.9 # Ah! gcc folks are kind of 'different': they store the tarballs in
144.10 # subdirectories of the same name! That's because gcc is such /crap/ that
144.11 # it is such /big/ that it needs being splitted for distribution! Sad. :-(
144.12 # Arrgghh! Some of those versions does not follow this convention:
144.13 # gcc-3.3.3 lives in releases/gcc-3.3.3, while gcc-2.95.* isn't in a
144.14 # subdirectory! You bastard!
144.15 - CT_GetFile "gcc-${CT_CC_VERSION}" \
144.16 - {ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/gcc-${CT_CC_VERSION}} \
144.17 - ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-${CT_CC_VERSION}
144.18 + CT_GetFile "gcc-${version}" \
144.19 + {ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/gcc-${version}} \
144.20 + ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-${version} \
144.21 + ftp://ftp.uvsq.fr/pub/gcc/snapshots/${version}
144.22 +
144.23 # Starting with GCC 4.3, ecj is used for Java, and will only be
144.24 # built if the configure script finds ecj.jar at the top of the
144.25 # GCC source tree, which will not be there unless we get it and
144.26 @@ -25,13 +29,16 @@
144.27
144.28 # Extract gcc
144.29 do_cc_extract() {
144.30 - CT_Extract "gcc-${CT_CC_VERSION}"
144.31 - CT_Patch "gcc-${CT_CC_VERSION}"
144.32 + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}"
144.33 +
144.34 + CT_Extract "gcc-${version}"
144.35 + CT_Patch "gcc-${version}"
144.36 +
144.37 # Copy ecj-latest.jar to ecj.jar at the top of the GCC source tree
144.38 - if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" \
144.39 - -a ! -f "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/ecj.jar" \
144.40 + if [ "${CT_CC_LANG_JAVA_USE_ECJ}" = "y" \
144.41 + -a ! -f "${CT_SRC_DIR}/gcc-${version}/ecj.jar" \
144.42 ]; then
144.43 - CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/ecj-latest.jar" "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/ecj.jar"
144.44 + CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/ecj-latest.jar" "${CT_SRC_DIR}/gcc-${version}/ecj.jar"
144.45 fi
144.46 }
144.47
144.48 @@ -83,6 +90,7 @@
144.49 local core_prefix_dir
144.50 local extra_config
144.51 local lang_opt
144.52 + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}"
144.53
144.54 eval $1
144.55 eval $2
144.56 @@ -142,7 +150,7 @@
144.57 CC_FOR_BUILD="${CT_BUILD}-gcc" \
144.58 CFLAGS="${CT_CFLAGS_FOR_HOST}" \
144.59 CT_DoExecLog ALL \
144.60 - "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \
144.61 + "${CT_SRC_DIR}/gcc-${version}/configure" \
144.62 --build=${CT_BUILD} \
144.63 --host=${CT_HOST} \
144.64 --target=${CT_TARGET} \
144.65 @@ -174,7 +182,7 @@
144.66 # so we configure then build it.
144.67 # Next we have to configure gcc, create libgcc.mk then edit it...
144.68 # So much easier if we just edit the source tree, but hey...
144.69 - if [ ! -f "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/BASE-VER" ]; then
144.70 + if [ ! -f "${CT_SRC_DIR}/gcc-${version}/gcc/BASE-VER" ]; then
144.71 CT_DoExecLog ALL make configure-libiberty
144.72 CT_DoExecLog ALL make ${PARALLELMFLAGS} -C libiberty libiberty.a
144.73 CT_DoExecLog ALL make configure-gcc configure-libcpp
144.74 @@ -184,7 +192,7 @@
144.75 CT_DoExecLog ALL make ${PARALLELMFLAGS} all-libcpp all-build-libiberty
144.76 fi
144.77 # HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here.
144.78 - if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libdecnumber" ]; then
144.79 + if [ -d "${CT_SRC_DIR}/gcc-${version}/libdecnumber" ]; then
144.80 CT_DoExecLog ALL make configure-libdecnumber
144.81 CT_DoExecLog ALL make ${PARALLELMFLAGS} -C libdecnumber libdecnumber.a
144.82 fi
144.83 @@ -230,6 +238,8 @@
144.84 #------------------------------------------------------------------------------
144.85 # Build final gcc
144.86 do_cc() {
144.87 + local version="${CT_CC_VERSION}${CT_CC_GCC_4_4_snapshot_date}"
144.88 +
144.89 # If building for bare metal, nothing to be done here, the static core conpiler is enough!
144.90 [ "${CT_BARE_METAL}" = "y" ] && return 0
144.91
144.92 @@ -286,7 +296,7 @@
144.93 CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \
144.94 LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \
144.95 CT_DoExecLog ALL \
144.96 - "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \
144.97 + "${CT_SRC_DIR}/gcc-${version}/configure" \
144.98 --build=${CT_BUILD} \
144.99 --host=${CT_HOST} \
144.100 --target=${CT_TARGET} \
145.1 --- a/scripts/build/debug/300-gdb.sh Sat Apr 11 19:03:02 2009 +0000
145.2 +++ b/scripts/build/debug/300-gdb.sh Sun Apr 19 16:17:11 2009 +0000
145.3 @@ -135,20 +135,55 @@
145.4 CT_DoStep INFO "Installing native gdb"
145.5
145.6 CT_DoStep INFO "Installing ncurses library"
145.7 - CT_DoLog EXTRA "Configuring ncurses"
145.8 - mkdir -p "${CT_BUILD_DIR}/build-ncurses"
145.9 - cd "${CT_BUILD_DIR}/build-ncurses"
145.10
145.11 ncurses_opts=
145.12 [ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts="${ncurses_opts} --without-cxx --without-cxx-binding"
145.13 [ "${CT_CC_LANG_ADA}" = "y" ] || ncurses_opts="${ncurses_opts} --without-ada"
145.14
145.15 + CT_DoStep INFO "Installing native ncurses tic"
145.16 + CT_DoLog EXTRA "Configuring ncurses tic"
145.17 + mkdir -p "${CT_BUILD_DIR}/build-ncurses-build-tic"
145.18 + cd "${CT_BUILD_DIR}/build-ncurses-build-tic"
145.19 +
145.20 + # Use build = CT_REAL_BUILD so that configure thinks it is
145.21 + # cross-compiling, and thus will use the ${CT_BUILD}-*
145.22 + # tools instead of searching for the native ones...
145.23 + CT_DoExecLog ALL \
145.24 + "${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \
145.25 + --build=${CT_REAL_BUILD} \
145.26 + --host=${CT_BUILD} \
145.27 + --prefix=/usr \
145.28 + --without-shared \
145.29 + --enable-symlinks \
145.30 + --with-build-cc=${CT_REAL_BUILD}-gcc \
145.31 + --with-build-cpp=${CT_REAL_BUILD}-gcc \
145.32 + --with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
145.33 + ${ncurses_opts}
145.34 +
145.35 + # Under some operating systems (eg. Winblows), there is an
145.36 + # extension appended to executables. Find that.
145.37 + tic_ext=$(grep -E '^x[[:space:]]*=' progs/Makefile |sed -r -e 's/^.*=[[:space:]]*//;')
145.38 +
145.39 + CT_DoLog EXTRA "Building ncurses tic"
145.40 + CT_DoExecLog ALL make ${PARALLELMFLAGS} -C include
145.41 + CT_DoExecLog ALL make ${PARALLELMFLAGS} -C progs "tic${tic_ext}"
145.42 +
145.43 + CT_DoLog EXTRA "Installing ncurses tic"
145.44 + CT_DoExecLog ALL install -d -m 0755 "${CT_PREFIX_DIR}/bin"
145.45 + CT_DoExecLog ALL install -m 0755 "progs/tic${tic_ext}" "${CT_PREFIX_DIR}/bin"
145.46 +
145.47 + CT_EndStep # tic build
145.48 +
145.49 + CT_DoLog EXTRA "Configuring ncurses"
145.50 + mkdir -p "${CT_BUILD_DIR}/build-ncurses"
145.51 + cd "${CT_BUILD_DIR}/build-ncurses"
145.52 +
145.53 CT_DoExecLog ALL \
145.54 "${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \
145.55 --build=${CT_BUILD} \
145.56 --host=${CT_TARGET} \
145.57 - --with-build-cc=${CT_CC} \
145.58 - --with-build-cpp=${CT_CC} \
145.59 + --with-build-cc=${CT_BUILD}-gcc \
145.60 + --with-build-cpp=${CT_BUILD}-gcc \
145.61 --with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
145.62 --prefix=/usr \
145.63 --with-shared \
145.64 @@ -164,7 +199,10 @@
145.65 mkdir -p "${CT_SYSROOT_DIR}/usr/bin"
145.66 CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install
145.67
145.68 - CT_EndStep
145.69 + # We no longer need the temporary tic. Remove it
145.70 + CT_DoExecLog DEBUG rm -fv "${CT_PREFIX_DIR}/bin/tic"
145.71 +
145.72 + CT_EndStep # ncurses build
145.73
145.74 CT_DoLog EXTRA "Configuring native gdb"
145.75
145.76 @@ -222,7 +260,7 @@
145.77
145.78 unset ac_cv_func_strncmp_works
145.79
145.80 - CT_EndStep
145.81 + CT_EndStep # native gdb build
145.82 fi
145.83
145.84 if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
146.1 --- a/scripts/build/kernel/linux.sh Sat Apr 11 19:03:02 2009 +0000
146.2 +++ b/scripts/build/kernel/linux.sh Sun Apr 19 16:17:11 2009 +0000
146.3 @@ -47,7 +47,7 @@
146.4
146.5 # Only starting with 2.6.18 does headers_install is usable. We only
146.6 # have 2.6 version available, so only test for sublevel.
146.7 - k_sublevel=$(gawk '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile")
146.8 + k_sublevel=$("${awk}" '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile")
146.9 [ ${k_sublevel} -ge 18 ] || CT_Abort "Kernel version >= 2.6.18 is needed to install kernel headers."
146.10
146.11 V_OPT="V=${CT_KERNEL_LINUX_VERBOSE_LEVEL}"
147.1 --- a/scripts/build/libc/uClibc.sh Sat Apr 11 19:03:02 2009 +0000
147.2 +++ b/scripts/build/libc/uClibc.sh Sun Apr 19 16:17:11 2009 +0000
147.3 @@ -47,7 +47,7 @@
147.4 fi
147.5
147.6 CT_DoLog EXTRA "Munging uClibc configuration"
147.7 - mungeuClibcConfig "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_STATE_DIR}/uClibc.config"
147.8 + mungeuClibcConfig "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${CT_CONFIG_DIR}/uClibc.config"
147.9
147.10 CT_EndStep
147.11 }
147.12 @@ -64,7 +64,7 @@
147.13 { cd "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}"; tar cf - .; } |tar xf -
147.14
147.15 # Retrieve the config file
147.16 - cp "${CT_STATE_DIR}/uClibc.config" .config
147.17 + cp "${CT_CONFIG_DIR}/uClibc.config" .config
147.18
147.19 # uClibc uses the CROSS environment variable as a prefix to the
147.20 # compiler tools to use. Setting it to the empty string forces
147.21 @@ -99,7 +99,7 @@
147.22 { cd "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}"; tar cf - .; } |tar xf -
147.23
147.24 # Retrieve the config file
147.25 - cp "${CT_STATE_DIR}/uClibc.config" .config
147.26 + cp "${CT_CONFIG_DIR}/uClibc.config" .config
147.27
147.28 # uClibc uses the CROSS environment variable as a prefix to the compiler
147.29 # tools to use. The newly built tools should be in our path, so we need
148.1 --- a/scripts/build/mpfr.sh Sat Apr 11 19:03:02 2009 +0000
148.2 +++ b/scripts/build/mpfr.sh Sun Apr 19 16:17:11 2009 +0000
148.3 @@ -42,7 +42,7 @@
148.4 # See: http://sourceware.org/ml/crossgcc/2008-11/msg00046.html
148.5 # and: http://sourceware.org/ml/crossgcc/2008-11/msg00048.html
148.6 libtoolize_opt=
148.7 - case "$(libtoolize --version |head -n 1 |gawk '{ print $(NF); }')" in
148.8 + case "$(libtoolize --version |head -n 1 |"${awk}" '{ print $(NF); }')" in
148.9 0.*) ;;
148.10 1.*) ;;
148.11 *) libtoolize_opt=-i;;
149.1 --- a/scripts/crosstool-NG.sh.in Sat Apr 11 19:03:02 2009 +0000
149.2 +++ b/scripts/crosstool-NG.sh.in Sun Apr 19 16:17:11 2009 +0000
149.3 @@ -30,6 +30,12 @@
149.4
149.5 # Where will we work?
149.6 CT_WORK_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/targets}"
149.7 +CT_DoExecLog ALL mkdir -p "${CT_WORK_DIR}"
149.8 +
149.9 +# Check build file system case-sensitiveness
149.10 +CT_DoExecLog DEBUG touch "${CT_WORK_DIR}/foo"
149.11 +CT_TestAndAbort "Your file system in '${CT_WORK_DIR}' is *not* case-sensitive!" -f "${CT_WORK_DIR}/FOO"
149.12 +CT_DoExecLog DEBUG rm -f "${CT_WORK_DIR}/foo"
149.13
149.14 # Create the bin-overide early
149.15 # Contains symlinks to the tools found by ./configure
149.16 @@ -109,11 +115,13 @@
149.17 CT_TARBALLS_DIR="${CT_WORK_DIR}/tarballs"
149.18 CT_SRC_DIR="${CT_WORK_DIR}/src"
149.19 CT_BUILD_DIR="${CT_WORK_DIR}/${CT_TARGET}/build"
149.20 +CT_STATE_DIR="${CT_WORK_DIR}/${CT_TARGET}/state"
149.21 +CT_CONFIG_DIR="${CT_BUILD_DIR}/configs"
149.22 +
149.23 # Note: we'll always install the core compiler in its own directory, so as to
149.24 # not mix the two builds: core and final.
149.25 CT_CC_CORE_STATIC_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-static"
149.26 CT_CC_CORE_SHARED_PREFIX_DIR="${CT_BUILD_DIR}/${CT_CC}-core-shared"
149.27 -CT_STATE_DIR="${CT_WORK_DIR}/${CT_TARGET}/state"
149.28
149.29 # We must ensure that we can restart if asked for!
149.30 if [ -n "${CT_RESTART}" -a ! -d "${CT_STATE_DIR}" ]; then
149.31 @@ -189,11 +197,19 @@
149.32 CT_DoExecLog ALL mkdir -p "${CT_TARBALLS_DIR}"
149.33 CT_DoExecLog ALL mkdir -p "${CT_SRC_DIR}"
149.34 CT_DoExecLog ALL mkdir -p "${CT_BUILD_DIR}"
149.35 +CT_DoExecLog ALL mkdir -p "${CT_CONFIG_DIR}"
149.36 CT_DoExecLog ALL mkdir -p "${CT_INSTALL_DIR}"
149.37 CT_DoExecLog ALL mkdir -p "${CT_PREFIX_DIR}"
149.38 CT_DoExecLog ALL mkdir -p "${CT_CC_CORE_STATIC_PREFIX_DIR}"
149.39 CT_DoExecLog ALL mkdir -p "${CT_CC_CORE_SHARED_PREFIX_DIR}"
149.40 -CT_DoExecLog ALL mkdir -p "${CT_STATE_DIR}"
149.41 +
149.42 +# Only create the state dir if asked for a restartable build
149.43 +[ -n "${CT_DEBUG_CT_SAVE_STEPS}" ] && CT_DoExecLog ALL mkdir -p "${CT_STATE_DIR}"
149.44 +
149.45 +# Check install file system case-sensitiveness
149.46 +CT_DoExecLog DEBUG touch "${CT_PREFIX_DIR}/foo"
149.47 +CT_TestAndAbort "Your file system in '${CT_PREFIX_DIR}' is *not* case-sensitive!" -f "${CT_PREFIX_DIR}/FOO"
149.48 +CT_DoExecLog DEBUG rm -f "${CT_PREFIX_DIR}/foo"
149.49
149.50 # Kludge: CT_INSTALL_DIR and CT_PREFIX_DIR might have grown read-only if
149.51 # the previous build was successful. To be able to move the logfile there,
150.1 --- a/scripts/functions Sat Apr 11 19:03:02 2009 +0000
150.2 +++ b/scripts/functions Sun Apr 19 16:17:11 2009 +0000
150.3 @@ -317,7 +317,7 @@
150.4 # Find all interfaces and build locally accessible networks
150.5 server_ip=$(ping -c 1 -W 2 "${CT_PROXY_HOST}" |head -n 1 |sed -r -e 's/^[^\(]+\(([^\)]+)\).*$/\1/;' || true)
150.6 CT_TestOrAbort "SOCKS proxy '${CT_PROXY_HOST}' has no IP." -n "${server_ip}"
150.7 - /sbin/ifconfig |gawk -v server_ip="${server_ip}" '
150.8 + /sbin/ifconfig |"${awk}" -v server_ip="${server_ip}" '
150.9 BEGIN {
150.10 split( server_ip, tmp, "\\." );
150.11 server_ip_num = tmp[1] * 2^24 + tmp[2] * 2^16 + tmp[3] * 2^8 + tmp[4] * 2^0;
150.12 @@ -642,9 +642,9 @@
150.13 # Some tarballs have read-only files... :-(
150.14 # Because of nochdir, we don't know where we are, so chmod all
150.15 # the src tree
150.16 - chmod -R u+w "${CT_SRC_DIR}"
150.17 + CT_DoExecLog DEBUG chmod -R u+w "${CT_SRC_DIR}"
150.18
150.19 - touch "${CT_SRC_DIR}/.${basename}.extracted"
150.20 + CT_DoExecLog DEBUG touch "${CT_SRC_DIR}/.${basename}.extracted"
150.21
150.22 [ "${nochdir}" = "nochdir" ] || CT_Popd
150.23 }
150.24 @@ -665,6 +665,17 @@
150.25 return 0
150.26 fi
150.27
150.28 + # Check if already partially patched
150.29 + if [ -e "${CT_SRC_DIR}/.${basename}.patching" ]; then
150.30 + CT_DoLog ERROR "The '${basename}' sources were partially patched."
150.31 + CT_DoLog ERROR "Please remove first:"
150.32 + CT_DoLog ERROR " - the source dir for '${basename}', in '${CT_SRC_DIR}'"
150.33 + CT_DoLog ERROR " - the file '${CT_SRC_DIR}/.${basename}.extracted'"
150.34 + CT_DoLog ERROR " - the file '${CT_SRC_DIR}/.${basename}.patching'"
150.35 + CT_Abort "I'll stop now to avoid any carnage..."
150.36 + fi
150.37 + touch "${CT_SRC_DIR}/.${basename}.patching"
150.38 +
150.39 [ "${nochdir}" = "nochdir" ] || CT_Pushd "${CT_SRC_DIR}/${basename}"
150.40
150.41 CT_DoLog EXTRA "Patching '${basename}'"
150.42 @@ -695,7 +706,8 @@
150.43 done
150.44 fi
150.45
150.46 - touch "${CT_SRC_DIR}/.${basename}.patched"
150.47 + CT_DoExecLog DEBUG rm -f "${CT_SRC_DIR}/.${basename}.patching"
150.48 + CT_DoExecLog DEBUG touch "${CT_SRC_DIR}/.${basename}.patched"
150.49
150.50 [ "${nochdir}" = "nochdir" ] || CT_Popd
150.51 }
150.52 @@ -818,7 +830,8 @@
150.53 local state_name="$1"
150.54 local state_dir="${CT_STATE_DIR}/${state_name}"
150.55
150.56 - CT_DoLog DEBUG "Saving state to restart at step '${state_name}'..."
150.57 + # Log this to the log level required by the user
150.58 + CT_DoLog ${CT_LOG_LEVEL_MAX} "Saving state to restart at step '${state_name}'..."
150.59
150.60 rm -rf "${state_dir}"
150.61 mkdir -p "${state_dir}"
150.62 @@ -832,7 +845,7 @@
150.63 # We must omit shell functions, and some specific bash variables
150.64 # that break when restoring the environment, later. We could do
150.65 # all the processing in the gawk script, but a sed is easier...
150.66 - set |gawk '
150.67 + set |"${awk}" '
150.68 BEGIN { _p = 1; }
150.69 $0~/^[^ ]+ \(\)/ { _p = 0; }
150.70 _p == 1
150.71 @@ -841,6 +854,11 @@
150.72 /^(UID|EUID)=/d;
150.73 /^(FUNCNAME|GROUPS|PPID|SHELLOPTS)=/d;' >"${state_dir}/env.sh"
150.74
150.75 + CT_DoLog DEBUG " Saving CT_CONFIG_DIR='${CT_CONFIG_DIR}'"
150.76 + CT_Pushd "${CT_CONFIG_DIR}"
150.77 + CT_DoExecLog DEBUG tar cv${tar_opt}f "${state_dir}/config_dir.tar${tar_ext}" .
150.78 + CT_Popd
150.79 +
150.80 CT_DoLog DEBUG " Saving CT_CC_CORE_STATIC_PREFIX_DIR='${CT_CC_CORE_STATIC_PREFIX_DIR}'"
150.81 CT_Pushd "${CT_CC_CORE_STATIC_PREFIX_DIR}"
150.82 CT_DoExecLog DEBUG tar cv${tar_opt}f "${state_dir}/cc_core_static_prefix_dir.tar${tar_ext}" .
150.83 @@ -881,7 +899,9 @@
150.84 if [ "${CT_LOG_TO_FILE}" = "y" ]; then
150.85 exec >"${state_dir}/tail.log"
150.86 fi
150.87 - CT_DoLog INFO "Restoring state at step '${state_name}', as requested."
150.88 +
150.89 + # Log this to the log level required by the user
150.90 + CT_DoLog ${CT_LOG_LEVEL_MAX} "Restoring state at step '${state_name}', as requested."
150.91
150.92 case "${CT_DEBUG_CT_SAVE_STEPS_GZIP}" in
150.93 y) tar_opt=z; tar_ext=.gz;;
150.94 @@ -889,9 +909,8 @@
150.95 esac
150.96
150.97 CT_DoLog DEBUG " Removing previous build directories"
150.98 - chmod -R u+rwX "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}"
150.99 - rm -rf "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}"
150.100 - mkdir -p "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}"
150.101 + CT_DoForceRmdir "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${CT_CONFIG_DIR}"
150.102 + CT_DoExecLog DEBUG mkdir -p "${CT_PREFIX_DIR}" "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${CT_CONFIG_DIR}"
150.103
150.104 CT_DoLog DEBUG " Restoring CT_PREFIX_DIR='${CT_PREFIX_DIR}'"
150.105 CT_Pushd "${CT_PREFIX_DIR}"
150.106 @@ -908,6 +927,11 @@
150.107 CT_DoExecLog DEBUG tar xv${tar_opt}f "${state_dir}/cc_core_static_prefix_dir.tar${tar_ext}"
150.108 CT_Popd
150.109
150.110 + CT_DoLog DEBUG " Restoring CT_CONFIG_DIR='${CT_CONFIG_DIR}'"
150.111 + CT_Pushd "${CT_CONFIG_DIR}"
150.112 + CT_DoExecLog DEBUG tar xv${tar_opt}f "${state_dir}/config_dir.tar${tar_ext}"
150.113 + CT_Popd
150.114 +
150.115 # Restore the environment, discarding any error message
150.116 # (for example, read-only bash internals)
150.117 CT_DoLog DEBUG " Restoring environment"