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 diff -durN gcc-4.2.1.orig/boehm-gc/configure gcc-4.2.1/boehm-gc/configure
2 --- gcc-4.2.1.orig/boehm-gc/configure 2007-07-19 16:33:56.000000000 +0200
3 +++ gcc-4.2.1/boehm-gc/configure 2007-08-03 20:29:22.000000000 +0200
7 # This must be Linux ELF.
10 lt_cv_deplibs_check_method=pass_all
13 diff -durN gcc-4.2.1.orig/contrib/regression/objs-gcc.sh gcc-4.2.1/contrib/regression/objs-gcc.sh
14 --- gcc-4.2.1.orig/contrib/regression/objs-gcc.sh 2005-08-15 02:41:31.000000000 +0200
15 +++ gcc-4.2.1/contrib/regression/objs-gcc.sh 2007-08-03 20:29:22.000000000 +0200
18 make all-gdb all-dejagnu all-ld || exit 1
19 make install-gdb install-dejagnu install-ld || exit 1
20 +elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
22 + make all-gdb all-dejagnu all-ld || exit 1
23 + make install-gdb install-dejagnu install-ld || exit 1
24 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
25 make bootstrap || exit 1
26 make install || exit 1
27 diff -durN gcc-4.2.1.orig/gcc/config/cris/linux.h gcc-4.2.1/gcc/config/cris/linux.h
28 --- gcc-4.2.1.orig/gcc/config/cris/linux.h 2006-02-18 12:12:51.000000000 +0100
29 +++ gcc-4.2.1/gcc/config/cris/linux.h 2007-08-03 20:29:22.000000000 +0200
31 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
33 #undef CRIS_SUBTARGET_VERSION
34 -#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
36 +# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"
38 +# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
41 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
43 diff -durN gcc-4.2.1.orig/libffi/configure gcc-4.2.1/libffi/configure
44 --- gcc-4.2.1.orig/libffi/configure 2007-07-19 16:33:56.000000000 +0200
45 +++ gcc-4.2.1/libffi/configure 2007-08-03 20:29:22.000000000 +0200
49 # This must be Linux ELF.
52 lt_cv_deplibs_check_method=pass_all
55 diff -durN gcc-4.2.1.orig/libgfortran/configure gcc-4.2.1/libgfortran/configure
56 --- gcc-4.2.1.orig/libgfortran/configure 2007-07-19 16:33:56.000000000 +0200
57 +++ gcc-4.2.1/libgfortran/configure 2007-08-03 20:29:22.000000000 +0200
61 # This must be Linux ELF.
64 lt_cv_deplibs_check_method=pass_all
67 diff -durN gcc-4.2.1.orig/libgomp/configure gcc-4.2.1/libgomp/configure
68 --- gcc-4.2.1.orig/libgomp/configure 2007-07-19 16:33:56.000000000 +0200
69 +++ gcc-4.2.1/libgomp/configure 2007-08-03 20:29:22.000000000 +0200
73 # This must be Linux ELF.
76 lt_cv_deplibs_check_method=pass_all
79 diff -durN gcc-4.2.1.orig/libjava/classpath/configure gcc-4.2.1/libjava/classpath/configure
80 --- gcc-4.2.1.orig/libjava/classpath/configure 2007-01-17 19:10:26.000000000 +0100
81 +++ gcc-4.2.1/libjava/classpath/configure 2007-08-03 20:29:22.000000000 +0200
85 # This must be Linux ELF.
88 lt_cv_deplibs_check_method=pass_all
91 diff -durN gcc-4.2.1.orig/libjava/classpath/ltconfig gcc-4.2.1/libjava/classpath/ltconfig
92 --- gcc-4.2.1.orig/libjava/classpath/ltconfig 2006-08-07 22:37:50.000000000 +0200
93 +++ gcc-4.2.1/libjava/classpath/ltconfig 2007-08-03 20:29:22.000000000 +0200
96 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
99 +linux-gnu*|linux-uclibc*) ;;
100 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
103 @@ -1251,7 +1251,7 @@
106 # This must be Linux ELF.
112 diff -durN gcc-4.2.1.orig/libjava/configure gcc-4.2.1/libjava/configure
113 --- gcc-4.2.1.orig/libjava/configure 2007-07-19 16:33:56.000000000 +0200
114 +++ gcc-4.2.1/libjava/configure 2007-08-03 20:29:22.000000000 +0200
115 @@ -5424,7 +5424,7 @@
118 # This must be Linux ELF.
121 lt_cv_deplibs_check_method=pass_all
124 diff -durN gcc-4.2.1.orig/libmudflap/configure gcc-4.2.1/libmudflap/configure
125 --- gcc-4.2.1.orig/libmudflap/configure 2006-12-04 12:13:07.000000000 +0100
126 +++ gcc-4.2.1/libmudflap/configure 2007-08-03 20:29:22.000000000 +0200
127 @@ -5394,7 +5394,7 @@
130 # This must be Linux ELF.
133 lt_cv_deplibs_check_method=pass_all
136 diff -durN gcc-4.2.1.orig/libobjc/configure gcc-4.2.1/libobjc/configure
137 --- gcc-4.2.1.orig/libobjc/configure 2006-10-15 09:42:57.000000000 +0200
138 +++ gcc-4.2.1/libobjc/configure 2007-08-03 20:29:22.000000000 +0200
139 @@ -3314,7 +3314,7 @@
142 # This must be Linux ELF.
145 lt_cv_deplibs_check_method=pass_all
148 diff -durN gcc-4.2.1.orig/libssp/configure gcc-4.2.1/libssp/configure
149 --- gcc-4.2.1.orig/libssp/configure 2006-10-15 09:42:57.000000000 +0200
150 +++ gcc-4.2.1/libssp/configure 2007-08-03 20:29:22.000000000 +0200
151 @@ -4480,7 +4480,7 @@
154 # This must be Linux ELF.
157 lt_cv_deplibs_check_method=pass_all
160 diff -durN gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
161 --- gcc-4.2.1.orig/libstdc++-v3/configure 2007-06-29 01:02:05.000000000 +0200
162 +++ gcc-4.2.1/libstdc++-v3/configure 2007-08-03 20:29:22.000000000 +0200
163 @@ -4283,7 +4283,7 @@
166 # This must be Linux ELF.
169 lt_cv_deplibs_check_method=pass_all
172 diff -durN gcc-4.2.1.orig/libtool.m4 gcc-4.2.1/libtool.m4
173 --- gcc-4.2.1.orig/libtool.m4 2005-07-16 04:30:53.000000000 +0200
174 +++ gcc-4.2.1/libtool.m4 2007-08-03 20:29:22.000000000 +0200
178 # This must be Linux ELF.
181 lt_cv_deplibs_check_method=pass_all
184 diff -durN gcc-4.2.1.orig/ltconfig gcc-4.2.1/ltconfig
185 --- gcc-4.2.1.orig/ltconfig 2007-02-14 18:08:35.000000000 +0100
186 +++ gcc-4.2.1/ltconfig 2007-08-03 20:29:22.000000000 +0200
189 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
192 +linux-gnu*|linux-uclibc*) ;;
193 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
196 @@ -1251,7 +1251,7 @@
199 # This must be Linux ELF.
205 diff -durN gcc-4.2.1.orig/zlib/configure gcc-4.2.1/zlib/configure
206 --- gcc-4.2.1.orig/zlib/configure 2007-01-17 19:10:26.000000000 +0100
207 +++ gcc-4.2.1/zlib/configure 2007-08-03 20:29:22.000000000 +0200
208 @@ -3429,7 +3429,7 @@
211 # This must be Linux ELF.
214 lt_cv_deplibs_check_method=pass_all