Add a patchset for glibc 2_9. Vampirised from the gentoo repository.
/trunk/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch | 414 414 0 0 ++++++++++
/trunk/patches/glibc/2_9/140-regex-BZ9697.patch | 111 111 0 0 +++
/trunk/patches/glibc/2_9/190-queue-header-updates.patch | 89 89 0 0 ++
/trunk/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch | 249 249 0 0 ++++++
/trunk/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch | 32 32 0 0 +
/trunk/patches/glibc/2_9/270-ldbl-nexttowardf.patch | 68 68 0 0 ++
/trunk/patches/glibc/2_9/330-2.3.3-china.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/340-new-valencian-locale.patch | 120 120 0 0 +++
/trunk/patches/glibc/2_9/410-2.9-fnmatch.patch | 64 64 0 0 ++
/trunk/patches/glibc/2_9/350-2.4-undefine-__i686.patch | 47 47 0 0 +
/trunk/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch | 53 53 0 0 +
/trunk/patches/glibc/2_9/420-dont-build-timezone.patch | 19 19 0 0 +
/trunk/patches/glibc/2_9/150-regex-BZ697.patch | 28 28 0 0 +
/trunk/patches/glibc/2_9/290-no-inline-gmon.patch | 38 38 0 0 +
/trunk/patches/glibc/2_9/280-section-comments.patch | 29 29 0 0 +
/trunk/patches/glibc/2_9/180-math-tests.patch | 72 72 0 0 ++
/trunk/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/250-resolv-dynamic.patch | 44 44 0 0 +
/trunk/patches/glibc/2_9/300-2.9-check_native-headers.patch | 22 22 0 0 +
/trunk/patches/glibc/2_9/310-2.3.6-fix-pr631.patch | 50 50 0 0 +
/trunk/patches/glibc/2_9/130-add_prio-macros.patch | 26 26 0 0 +
/trunk/patches/glibc/2_9/260-fadvise64_64.patch | 30 30 0 0 +
/trunk/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch | 249 249 0 0 ++++++
/trunk/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch | 74 74 0 0 ++
/trunk/patches/glibc/2_9/360-2.8-nscd-one-fork.patch | 45 45 0 0 +
/trunk/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch | 18 18 0 0 +
/trunk/patches/glibc/2_9/210-2.9-strlen-hack.patch | 109 109 0 0 +++
/trunk/patches/glibc/2_9/320-2.9-assume-pipe2.patch | 59 59 0 0 +
/trunk/patches/glibc/2_9/100-ssp-compat.patch | 193 193 0 0 +++++
/trunk/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch | 30 30 0 0 +
/trunk/patches/glibc/2_9/220-manual-no-perl.patch | 29 29 0 0 +
/trunk/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch | 35 35 0 0 +
/trunk/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch | 38 38 0 0 +
/trunk/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch | 198 198 0 0 +++++
/trunk/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch | 23 23 0 0 +
/trunk/patches/glibc/2_9/200-awk-in-C-locale.patch | 23 23 0 0 +
/trunk/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch | 57 57 0 0 +
/trunk/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch | 71 71 0 0 ++
/trunk/patches/glibc/2_9/490-ptr-mangling.patch | 114 114 0 0 +++
/trunk/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch | 19 19 0 0 +
41 files changed, 3094 insertions(+)
1 diff -ur gdb-6.4/gdb/configure gdb-6.4-patched/gdb/configure
2 --- gdb-6.4/gdb/configure 2005-07-25 10:08:40.000000000 -0500
3 +++ gdb-6.4-patched/gdb/configure 2007-02-05 13:22:36.000000000 -0600
8 -ac_subdirs_all="$ac_subdirs_all doc testsuite"
9 +ac_subdirs_all="$ac_subdirs_all doc"
10 ac_subdirs_all="$ac_subdirs_all gdbtk"
11 ac_subdirs_all="$ac_subdirs_all multi-ice"
12 ac_subdirs_all="$ac_subdirs_all gdbserver"
17 -subdirs="$subdirs doc testsuite"
18 +subdirs="$subdirs doc"
21 . $srcdir/configure.host
22 diff -ur gdb-6.4/gdb/gdbserver/configure gdb-6.4-patched/gdb/gdbserver/configure
23 --- gdb-6.4/gdb/gdbserver/configure 2005-09-17 18:14:37.000000000 -0500
24 +++ gdb-6.4-patched/gdb/gdbserver/configure 2007-02-05 13:22:58.000000000 -0600
26 ac_cache_corrupted=: ;;
29 - if test "x$ac_old_val" != "x$ac_new_val"; then
30 + if test "`echo $ac_old_val`" != "`echo $ac_new_val`"; then
31 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
32 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
33 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
34 diff -ur gdb-6.4/gdb/testsuite/configure gdb-6.4-patched/gdb/testsuite/configure
35 --- gdb-6.4/gdb/testsuite/configure 2005-04-11 09:13:12.000000000 -0500
36 +++ gdb-6.4-patched/gdb/testsuite/configure 2007-02-05 13:22:36.000000000 -0600
38 ac_cache_corrupted=: ;;
41 - if test "x$ac_old_val" != "x$ac_new_val"; then
42 + if test "`echo $ac_old_val" != "`echo $ac_new_val"; then
43 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
44 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
45 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
46 diff -ur gdb-6.4/Makefile.in gdb-6.4-patched/Makefile.in
47 --- gdb-6.4/Makefile.in 2005-12-01 23:29:54.000000000 -0600
48 +++ gdb-6.4-patched/Makefile.in 2007-02-05 13:22:36.000000000 -0600
50 # CFLAGS will be just -g. We want to ensure that TARGET libraries
51 # (which we know are built with gcc) are built with optimizations so
52 # prepend -O2 when setting CFLAGS_FOR_TARGET.
53 -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
54 +CFLAGS_FOR_TARGET = $(strip $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET))
55 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
57 # If GCC_FOR_TARGET is not overriden on the command line, then this
58 diff -ur gdb-6.4/Makefile.tpl gdb-6.4-patched/Makefile.tpl
59 --- gdb-6.4/Makefile.tpl 2005-10-22 05:37:55.000000000 -0500
60 +++ gdb-6.4-patched/Makefile.tpl 2007-02-05 13:22:36.000000000 -0600
62 # CFLAGS will be just -g. We want to ensure that TARGET libraries
63 # (which we know are built with gcc) are built with optimizations so
64 # prepend -O2 when setting CFLAGS_FOR_TARGET.
65 -CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
66 +CFLAGS_FOR_TARGET = $(strip $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET))
67 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
69 # If GCC_FOR_TARGET is not overriden on the command line, then this