summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-05-13 20:51:23 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-05-13 20:51:23 +0000
commit370371da41a839d7e87c1420cfe450355cce69d5 (patch)
tree7b84223c843ac235bf18186abf5d98e1d8ba40c7 /patches
parentd6b8465fe890889d6f1ace73c4e111067cdb474a (diff)
downloadOSELAS.Toolchain-370371da41a839d7e87c1420cfe450355cce69d5.tar.gz
OSELAS.Toolchain-370371da41a839d7e87c1420cfe450355cce69d5.tar.xz
* glibc-2.6.1:
obsolete git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/branches/OSELAS.Toolchain-mkl@6334 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'patches')
-rw-r--r--patches/glibc-2.6.1/generic/configure-sane_readelf.diff119
-rw-r--r--patches/glibc-2.6.1/generic/configure_in-sane_readelf.diff35
-rw-r--r--patches/glibc-2.6.1/generic/glibc-configure-apple-as.patch43
-rw-r--r--patches/glibc-2.6.1/generic/glibc-configure-old-gcc.patch13
-rw-r--r--patches/glibc-2.6.1/generic/local-2.6.19-linux-libc-dev.diff82
-rw-r--r--patches/glibc-2.6.1/generic/make-install-lib-all.patch41
-rw-r--r--patches/glibc-2.6.1/generic/oe/arm-longlong.patch62
-rw-r--r--patches/glibc-2.6.1/generic/series8
-rw-r--r--patches/glibc-2.6.1/generic/sysdeps_unix_sysv_linux_getcwd_c-include-sys_param_h.diff109
9 files changed, 0 insertions, 512 deletions
diff --git a/patches/glibc-2.6.1/generic/configure-sane_readelf.diff b/patches/glibc-2.6.1/generic/configure-sane_readelf.diff
deleted file mode 100644
index 1199c46..0000000
--- a/patches/glibc-2.6.1/generic/configure-sane_readelf.diff
+++ /dev/null
@@ -1,119 +0,0 @@
----
- configure | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
- 1 file changed, 88 insertions(+), 2 deletions(-)
-
-Index: glibc-2.6.1/configure
-===================================================================
---- glibc-2.6.1.orig/configure 2007-08-28 11:12:06.000000000 +0200
-+++ glibc-2.6.1/configure 2007-08-28 11:14:03.000000000 +0200
-@@ -5478,6 +5478,92 @@
- fi
- fi
-
-+ # Extract the first word of "$target_alias-readelf", so it can be a program name with args.
-+set dummy $target_alias-readelf; ac_word=$2
-+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-+if test "${ac_cv_prog_READELF+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+ if test -n "$READELF"; then
-+ ac_cv_prog_READELF="$READELF" # Let the user override the test.
-+else
-+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-+for as_dir in $PATH
-+do
-+ IFS=$as_save_IFS
-+ test -z "$as_dir" && as_dir=.
-+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
-+ ac_cv_prog_READELF="$target_alias-readelf"
-+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-+ break 2
-+ fi
-+done
-+done
-+IFS=$as_save_IFS
-+
-+fi
-+fi
-+READELF=$ac_cv_prog_READELF
-+if test -n "$READELF"; then
-+ { echo "$as_me:$LINENO: result: $READELF" >&5
-+echo "${ECHO_T}$READELF" >&6; }
-+else
-+ { echo "$as_me:$LINENO: result: no" >&5
-+echo "${ECHO_T}no" >&6; }
-+fi
-+
-+
-+if test -z "$ac_cv_prog_READELF"; then
-+ if test "$build" = "$target"; then
-+ ac_ct_READELF=$READELF
-+ # Extract the first word of "readelf", so it can be a program name with args.
-+set dummy readelf; ac_word=$2
-+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-+if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+ if test -n "$ac_ct_READELF"; then
-+ ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
-+else
-+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-+for as_dir in $PATH
-+do
-+ IFS=$as_save_IFS
-+ test -z "$as_dir" && as_dir=.
-+ for ac_exec_ext in '' $ac_executable_extensions; do
-+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
-+ ac_cv_prog_ac_ct_READELF="readelf"
-+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-+ break 2
-+ fi
-+done
-+done
-+IFS=$as_save_IFS
-+
-+ test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF="readelf"
-+fi
-+fi
-+ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
-+if test -n "$ac_ct_READELF"; then
-+ { echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
-+echo "${ECHO_T}$ac_ct_READELF" >&6; }
-+else
-+ { echo "$as_me:$LINENO: result: no" >&5
-+echo "${ECHO_T}no" >&6; }
-+fi
-+
-+ READELF=ac_ct_READELF
-+ else
-+ READELF="readelf"
-+ fi
-+else
-+ READELF="$ac_cv_prog_READELF"
-+fi
-+
-+
- echo "$as_me:$LINENO: checking for .preinit_array/.init_array/.fini_array support" >&5
- echo $ECHO_N "checking for .preinit_array/.init_array/.fini_array support... $ECHO_C" >&6
- if test "${libc_cv_initfini_array+set}" = set; then
-@@ -5497,7 +5583,7 @@
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }
- then
-- if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
-+ if ${READELF} -S conftest | fgrep INIT_ARRAY > /dev/null; then
- libc_cv_initfini_array=yes
- else
- libc_cv_initfini_array=no
-@@ -5797,7 +5883,7 @@
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }
- then
-- if readelf -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
-+ if ${READELF} -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
- libc_cv_z_combreloc=yes
- else
- libc_cv_z_combreloc=no
diff --git a/patches/glibc-2.6.1/generic/configure_in-sane_readelf.diff b/patches/glibc-2.6.1/generic/configure_in-sane_readelf.diff
deleted file mode 100644
index 24f8f39..0000000
--- a/patches/glibc-2.6.1/generic/configure_in-sane_readelf.diff
+++ /dev/null
@@ -1,35 +0,0 @@
----
- configure.in | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-Index: glibc-2.6.1/configure.in
-===================================================================
---- glibc-2.6.1.orig/configure.in 2007-08-28 11:09:54.000000000 +0200
-+++ glibc-2.6.1/configure.in 2007-08-28 11:12:09.000000000 +0200
-@@ -1347,6 +1347,8 @@
- fi
- fi
-
-+ AC_CHECK_TARGET_TOOL([READELF],[readelf],[readelf],[$PATH])
-+
- AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support,
- libc_cv_initfini_array, [dnl
- cat > conftest.c <<EOF
-@@ -1358,7 +1360,7 @@
- if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -o conftest conftest.c
- -static -nostartfiles -nostdlib 1>&AS_MESSAGE_LOG_FD])
- then
-- if readelf -S conftest | fgrep INIT_ARRAY > /dev/null; then
-+ if $READELF -S conftest | fgrep INIT_ARRAY > /dev/null; then
- libc_cv_initfini_array=yes
- else
- libc_cv_initfini_array=no
-@@ -1543,7 +1545,7 @@
- dnl introducing new options this is not easily doable. Instead use a tool
- dnl which always is cross-platform: readelf. To detect whether -z combreloc
- dnl look for a section named .rel.dyn.
-- if readelf -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
-+ if $READELF -S conftest.so | grep '\.rel\(a\|\)\.dyn' > /dev/null; then
- libc_cv_z_combreloc=yes
- else
- libc_cv_z_combreloc=no
diff --git a/patches/glibc-2.6.1/generic/glibc-configure-apple-as.patch b/patches/glibc-2.6.1/generic/glibc-configure-apple-as.patch
deleted file mode 100644
index 4910263..0000000
--- a/patches/glibc-2.6.1/generic/glibc-configure-apple-as.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-http://in3www.epfl.ch/~schaffne/glibc-configure-apple-as.patch
-http://sources.redhat.com/ml/crossgcc/2004-02/msg00151.html
-
-The following makes it possible to configure glibc-2.3.2 on Mac OS X,
-where the assembler but doesn't understand the --version flag.
-
-Fixes the symptom
-checking whether ld is GNU ld... no
-checking for /usr/libexec/gcc/darwin/ppc/as... /usr/libexec/gcc/darwin/ppc/as
-checking version of /usr/libexec/gcc/darwin/ppc/as...
-<PAUSES HERE AND JUST SITS THERE DOING NOTHING>
-
-Index: glibc-2.5/configure
-===================================================================
---- glibc-2.5.orig/configure
-+++ glibc-2.5/configure
-@@ -4039,7 +4039,7 @@ else
- # Found it, now check the version.
- echo "$as_me:$LINENO: checking version of $AS" >&5
- echo $ECHO_N "checking version of $AS... $ECHO_C" >&6
-- ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
-+ ac_prog_version=`$AS -v </dev/null 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
- case $ac_prog_version in
- '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*)
-@@ -4050,7 +4050,7 @@ echo $ECHO_N "checking version of $AS...
- echo "$as_me:$LINENO: result: $ac_prog_version" >&5
- echo "${ECHO_T}$ac_prog_version" >&6
- fi
--if test $ac_verc_fail = yes; then
-+if test $ac_verc_fail = yes -a -z "$enable_hacker_mode"; then
- AS=: critic_missing="$critic_missing as"
- fi
-
-@@ -4111,7 +4111,7 @@ echo $ECHO_N "checking version of $LD...
- echo "$as_me:$LINENO: result: $ac_prog_version" >&5
- echo "${ECHO_T}$ac_prog_version" >&6
- fi
--if test $ac_verc_fail = yes; then
-+if test $ac_verc_fail = yes -a -z "$enable_hacker_mode"; then
- LD=: critic_missing="$critic_missing ld"
- fi
-
diff --git a/patches/glibc-2.6.1/generic/glibc-configure-old-gcc.patch b/patches/glibc-2.6.1/generic/glibc-configure-old-gcc.patch
deleted file mode 100644
index b98881f..0000000
--- a/patches/glibc-2.6.1/generic/glibc-configure-old-gcc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: glibc-2.5/configure
-===================================================================
---- glibc-2.5.orig/configure
-+++ glibc-2.5/configure
-@@ -4226,7 +4226,7 @@ echo $ECHO_N "checking version of $CC...
- echo "$as_me:$LINENO: result: $ac_prog_version" >&5
- echo "${ECHO_T}$ac_prog_version" >&6
- fi
--if test $ac_verc_fail = yes; then
-+if test $ac_verc_fail = yes -a -z "$enable_hacker_mode"; then
- critic_missing="$critic_missing gcc"
- fi
-
diff --git a/patches/glibc-2.6.1/generic/local-2.6.19-linux-libc-dev.diff b/patches/glibc-2.6.1/generic/local-2.6.19-linux-libc-dev.diff
deleted file mode 100644
index e984419..0000000
--- a/patches/glibc-2.6.1/generic/local-2.6.19-linux-libc-dev.diff
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-# Submitted-By: Marc Kleine-Budde, 2006-11-23
-# Committed-By: Marc Kleine-Budde
-#
-# Error:
-#
-# glibc cannot be compiled with samitized headers from 2.6.19rc6
-#
-# Description:
-#
-# http://sourceware.org/ml/libc-alpha/2006-10/msg00024.html
-#
-# State:
-#
-# this patch is from ubuntu's glibc-2.5 patch:
-# https://patches.ubuntu.com/g/glibc/glibc_2.5-0ubuntu2.patch
-#
-
-# DP: Description: Add missing bits in 2.6.19 kernel headers
-# DP: Author: Jeff Bailey <jbailey@ubuntu.com>
-# DP: Upstream status: Not Submitted.
-# DP: Status Details: No response on http://sourceware.org/ml/libc-alpha/2006-10/msg00024.html
-# DP: Date: 2006-10-27
-
-Index: glibc-2.5/sysdeps/unix/sysv/linux/check_pf.c
-===================================================================
---- glibc-2.5.orig/sysdeps/unix/sysv/linux/check_pf.c
-+++ glibc-2.5/sysdeps/unix/sysv/linux/check_pf.c
-@@ -30,10 +30,15 @@
- #include <asm/types.h>
- #include <linux/netlink.h>
- #include <linux/rtnetlink.h>
-+#include <linux/if_addr.h>
-
- #include <not-cancel.h>
- #include <kernel-features.h>
-
-+#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
-+#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
-+#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
-+#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
-
- #ifndef IFA_F_TEMPORARY
- # define IFA_F_TEMPORARY IFA_F_SECONDARY
-Index: glibc-2.5/sysdeps/unix/sysv/linux/if_index.c
-===================================================================
---- glibc-2.5.orig/sysdeps/unix/sysv/linux/if_index.c
-+++ glibc-2.5/sysdeps/unix/sysv/linux/if_index.c
-@@ -28,9 +28,14 @@
- #include <sys/ioctl.h>
- #include <bits/libc-lock.h>
- #include <not-cancel.h>
-+#include <linux/if_addr.h>
-
- #include "netlinkaccess.h"
-
-+#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
-+#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
-+#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
-+#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
-
- /* Variable to signal whether SIOCGIFCONF is not available. */
- # if __ASSUME_SIOCGIFNAME == 0
-Index: glibc-2.5/sysdeps/unix/sysv/linux/ifaddrs.c
-===================================================================
---- glibc-2.5.orig/sysdeps/unix/sysv/linux/ifaddrs.c
-+++ glibc-2.5/sysdeps/unix/sysv/linux/ifaddrs.c
-@@ -33,9 +33,14 @@
- #include <sysdep.h>
- #include <time.h>
- #include <unistd.h>
-+#include <linux/if_addr.h>
-
- #include "netlinkaccess.h"
-
-+#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
-+#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
-+#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
-+#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
-
- /* We don't know if we have NETLINK support compiled in in our
- Kernel, so include the old implementation as fallback. */
diff --git a/patches/glibc-2.6.1/generic/make-install-lib-all.patch b/patches/glibc-2.6.1/generic/make-install-lib-all.patch
deleted file mode 100644
index 8935754..0000000
--- a/patches/glibc-2.6.1/generic/make-install-lib-all.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-# --- T2-COPYRIGHT-NOTE-BEGIN ---
-# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
-#
-# T2 SDE: package/.../glibc32/make-install-lib-all.patch
-# Copyright (C) 2004 - 2005 The T2 SDE Project
-#
-# More information can be found in the files COPYING and README.
-#
-# This patch file is dual-licensed. It is available under the license the
-# patched project is licensed under, as long as it is an OpenSource license
-# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
-# of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or (at your option) any later
-# version.
-# --- T2-COPYRIGHT-NOTE-END ---
-Index: glibc-2.5/Makerules
-===================================================================
---- glibc-2.5.orig/Makerules
-+++ glibc-2.5/Makerules
-@@ -864,6 +864,13 @@ endef
- installed-libcs := $(foreach o,$(filter-out .os,$(object-suffixes-for-libc)),\
- $(inst_libdir)/$(patsubst %,$(libtype$o),\
- $(libprefix)$(libc-name)))
-+
-+install-lib-all: $(inst_slibdir)/libc.so$(libc.so-version) \
-+ $(inst_slibdir)/libc-$(version).so \
-+ $(inst_libdir)/libc.so \
-+ $(inst_libdir)/libc.a \
-+ install-lib
-+
- install: $(installed-libcs)
- $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force)
- $(make-target-directory)
-@@ -887,6 +894,7 @@ endef
- install-lib.so := $(filter %.so,$(install-lib:%_pic.a=%.so))
- install-lib := $(filter-out %.so %_pic.a,$(install-lib))
-
-+
- ifeq (yes,$(build-shared))
- # Find which .so's have versions.
- versioned := $(strip $(foreach so,$(install-lib.so),\
diff --git a/patches/glibc-2.6.1/generic/oe/arm-longlong.patch b/patches/glibc-2.6.1/generic/oe/arm-longlong.patch
deleted file mode 100644
index a8e529f..0000000
--- a/patches/glibc-2.6.1/generic/oe/arm-longlong.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-Index: glibc-2.5/stdlib/longlong.h
-===================================================================
---- glibc-2.5.orig/stdlib/longlong.h
-+++ glibc-2.5/stdlib/longlong.h
-@@ -205,6 +205,14 @@ UDItype __umulsidi3 (USItype, USItype);
- "rI" ((USItype) (bh)), \
- "r" ((USItype) (al)), \
- "rI" ((USItype) (bl)) __CLOBBER_CC)
-+/* v3m and all higher arches have long multiply support. */
-+#if !defined(__ARM_ARCH_2__) && !defined(__ARM_ARCH_3__)
-+#define umul_ppmm(xh, xl, a, b) \
-+ __asm__ ("umull %0,%1,%2,%3" : "=&r" (xl), "=&r" (xh) : "r" (a), "r" (b))
-+#define UMUL_TIME 5
-+#define smul_ppmm(xh, xl, a, b) \
-+ __asm__ ("smull %0,%1,%2,%3" : "=&r" (xl), "=&r" (xh) : "r" (a), "r" (b))
-+#else
- #define umul_ppmm(xh, xl, a, b) \
- {register USItype __t0, __t1, __t2; \
- __asm__ ("%@ Inlined umul_ppmm\n" \
-@@ -226,7 +234,13 @@ UDItype __umulsidi3 (USItype, USItype);
- : "r" ((USItype) (a)), \
- "r" ((USItype) (b)) __CLOBBER_CC );}
- #define UMUL_TIME 20
-+#endif
- #define UDIV_TIME 100
-+#if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__)
-+#define count_leading_zeros(COUNT,X) ((COUNT) = __builtin_clz (X))
-+#define COUNT_LEADING_ZEROS_0 32
-+#endif
-+
- #endif /* __arm__ */
-
- #if defined (__hppa) && W_TYPE_SIZE == 32
-Index: glibc-2.5/ports/sysdeps/arm/mp_clz_tab.c
-===================================================================
---- /dev/null
-+++ glibc-2.5/ports/sysdeps/arm/mp_clz_tab.c
-@@ -0,0 +1,24 @@
-+/* __clz_tab -- support for longlong.h
-+ Copyright (C) 2004 Free Software Foundation, Inc.
-+ This file is part of the GNU C Library.
-+
-+ The GNU C Library is free software; you can redistribute it and/or
-+ modify it under the terms of the GNU Lesser General Public
-+ License as published by the Free Software Foundation; either
-+ version 2.1 of the License, or (at your option) any later version.
-+
-+ The GNU C Library is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ Lesser General Public License for more details.
-+
-+ You should have received a copy of the GNU Lesser General Public
-+ License along with the GNU C Library; if not, write to the Free
-+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-+ 02111-1307 USA. */
-+
-+#if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__)
-+/* Nothing required. */
-+#else
-+#include <stdlib/mp_clz_tab.c>
-+#endif
diff --git a/patches/glibc-2.6.1/generic/series b/patches/glibc-2.6.1/generic/series
deleted file mode 100644
index 958997b..0000000
--- a/patches/glibc-2.6.1/generic/series
+++ /dev/null
@@ -1,8 +0,0 @@
-make-install-lib-all.patch
-glibc-configure-apple-as.patch
-glibc-configure-old-gcc.patch
-configure_in-sane_readelf.diff
-configure-sane_readelf.diff
-
-sysdeps_unix_sysv_linux_getcwd_c-include-sys_param_h.diff
-#local-2.6.19-linux-libc-dev.diff
diff --git a/patches/glibc-2.6.1/generic/sysdeps_unix_sysv_linux_getcwd_c-include-sys_param_h.diff b/patches/glibc-2.6.1/generic/sysdeps_unix_sysv_linux_getcwd_c-include-sys_param_h.diff
deleted file mode 100644
index 65246b9..0000000
--- a/patches/glibc-2.6.1/generic/sysdeps_unix_sysv_linux_getcwd_c-include-sys_param_h.diff
+++ /dev/null
@@ -1,109 +0,0 @@
-#
-# Submitted-By: Marc Kleine-Budde, 2006-12-04
-#
-# Error:
-#
-#
-# arm-v4t-linux-gnu-gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs
-# -Wl,-dynamic-linker=/lib/ld-linux.so.2
-# -B/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/csu/
-# -Wl,--version-script=/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/libc.map
-# -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -nostdlib
-# -nostartfiles -e __libc_main
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/math
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/elf
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/dlfcn
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/nss
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/nis
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/rt
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/resolv
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/crypt
-# -L/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/linuxthreads
-# -Wl,-rpath-link=/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/math:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/elf:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/dlfcn:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/nss:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/nis:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/rt:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/resolv:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/crypt:/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/linuxthreads
-# -o
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/libc.so
-# -T
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/shlib.lds
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/csu/abi-note.o
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/elf/soinit.os
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/libc_pic.os
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/elf/sofini.os
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/elf/interp.os
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/elf/ld.so
-# -lgcc
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/libc_pic.os:
-# In function `__getcwd': ../sysdeps/unix/sysv/linux/getcwd.c:90:
-# undefined reference to `MAX' MAX is undefined during compilation of
-# "sysdeps/unix/sysv/linux/getcwd.c": arm-v4t-linux-gnu-gcc
-# ../sysdeps/unix/sysv/linux/getcwd.c -c -std=gnu99 -O2 -Wall -Winline
-# -Wwrite-strings -fmerge-all-constants -g -Wstr ict-prototypes
-# -I../include
-# -I/home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/io
-# -I/home/mkl
-# /pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build
-# -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/li
-# nux/arm/linuxthreads -I../ports/sysdeps/unix/sysv/linux/arm
-# -I../ports/sysdeps/unix/sysv/linux
-# -I../linuxthreads/sysdeps/unix/sysv/linux
-# -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-# -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-# -I../sysdeps/unix/common -I../sysdep s/unix/mman
-# -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv
-# -I../linuxthreads/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-# -I../ports/sys deps/unix/arm -I../ports/sysdeps/unix
-# -I../linuxthreads/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
-# -I../ports/sysdeps/arm/linuxthr eads -I../ports/sysdeps/arm
-# -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-# -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754
-# -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports
-# -I../linuxthreads -I.. -I../libio -I. -nostdinc -isystem
-# /opt/OSELAS.Toolchain-trunk/arm-v4t-linux-gnu/gcc-4.1.1-glibc-2.5/lib/gcc/arm-v4t-linux-gnu/4.1.1/include-isystem
-# /opt/OSELAS.Toolchain-trunk/arm-v4t-linux-gnu/gcc-4.1.1-glibc-2.5/sysroot-arm-v4t-linux-gnu/usr/include
-# -D_LIBC_REENTRANT -include../include/libc-symbols.h -o
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/io/getcwd.o
-# -MD -MP -MF
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/io/getcwd.o.dt
-# -MT
-# /home/mkl/pengutronix/ptxdist/build/OSELAS.Toolchain-trunk/build-target/glibc-2.5-build/io/getcwd.o
-# ../sysdeps/unix/sysv/linux/getcwd.c: In function '__getcwd':
-# ../sysdeps/unix/sysv/linux/getcwd.c:90: warning: implicit
-# declaration of function 'MAX'
-#
-# Description:
-#
-# the recent change to use MAX(getpagesize()) in the linux getcwd.c
-# assumes that the header files it includes already will eventually
-# pull in sys/param.h and setup the MAX() define
-#
-# http://sourceware.org/bugzilla/show_bug.cgi?id=3335
-#
-# State:
-#
-# not fixed yet, but this is:
-# http://sourceware.org/ml/libc-alpha/2006-06/msg00068.html
-#
-
-the recent change to use MAX(getpagesize()) in the linux getcwd.c assumes that
-the header files it includes already will eventually pull in sys/param.h and
-setup the MAX() define ... the attached patch adds an explicit sys/param.h
-include to get rid of this implicit include path
-
--mike
-
-2006-06-18 Mike Frysinger <vapier@gentoo.org>
-
- * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
-
-Index: glibc-2.5/sysdeps/unix/sysv/linux/getcwd.c
-===================================================================
---- glibc-2.5.orig/sysdeps/unix/sysv/linux/getcwd.c
-+++ glibc-2.5/sysdeps/unix/sysv/linux/getcwd.c
-@@ -24,6 +24,7 @@
- #include <limits.h>
- #include <stdlib.h>
- #include <unistd.h>
-+#include <sys/param.h>
-
- #include <sysdep.h>
- #include <sys/syscall.h>