summaryrefslogtreecommitdiff
path: root/meta/packages/glibc/files
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-08-19 16:18:28 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-20 16:07:43 +0100
commit735210556dc709b3c2367389fa6ea9c0109412b1 (patch)
treeb042ff7f78c7850460e6994d78b49a60be7db544 /meta/packages/glibc/files
parent7e8f14d2d8c11d57ccd77974672bd959f8e95e35 (diff)
downloadopenembedded-core-735210556dc709b3c2367389fa6ea9c0109412b1.tar.gz
openembedded-core-735210556dc709b3c2367389fa6ea9c0109412b1.tar.bz2
openembedded-core-735210556dc709b3c2367389fa6ea9c0109412b1.zip
glibc: remove all old recipes
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/packages/glibc/files')
-rw-r--r--meta/packages/glibc/files/5090_all_stubs-rule-fix.patch39
-rw-r--r--meta/packages/glibc/files/etc/ld.so.conf2
-rw-r--r--meta/packages/glibc/files/fhs-linux-paths.patch11
-rw-r--r--meta/packages/glibc/files/generate-supported.mk11
-rw-r--r--meta/packages/glibc/files/glibc-2.5-local-dynamic-resolvconf.patch41
-rw-r--r--meta/packages/glibc/files/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch20
-rw-r--r--meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch30
-rw-r--r--meta/packages/glibc/files/no-hwcaps.patch52
-rw-r--r--meta/packages/glibc/files/nopageheader.patch12
-rw-r--r--meta/packages/glibc/files/nptl-crosscompile-2.3.6.patch175
10 files changed, 0 insertions, 393 deletions
diff --git a/meta/packages/glibc/files/5090_all_stubs-rule-fix.patch b/meta/packages/glibc/files/5090_all_stubs-rule-fix.patch
deleted file mode 100644
index c445a5296e..0000000000
--- a/meta/packages/glibc/files/5090_all_stubs-rule-fix.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: Makerules
-===================================================================
-RCS file: /cvs/glibc/libc/Makerules,v
-retrieving revision 1.430
-diff -u -r1.430 Makerules
---- libc/Makerules 5 Mar 2005 19:24:32 -0000 1.430
-+++ libc/Makerules 22 Apr 2005 18:31:27 -0000
-@@ -1390,15 +1390,26 @@
- $(addprefix $(objpfx),$(extra-objs))
- $(objpfx)stubs: $(objs-for-stubs)
- ifneq (,$(strip $(objs-for-stubs)))
-- $(OBJDUMP) -h $^ | \
-- $(AWK) '/\.gnu\.glibc-stub\./ { \
-- sub(/\.gnu\.glibc-stub\./, "", $$2); \
-- stubs[$$2] = 1; } \
-- END { for (s in stubs) print "#define __stub_" s }' > $@T
-+ $(stub-obj-list)
-+ cat $@L | xargs \
-+ $(OBJDUMP) -h | \
-+ $(AWK) '/\.gnu\.glibc-stub\./ { \
-+ sub(/\.gnu\.glibc-stub\./, "", $$2); \
-+ stubs[$$2] = 1; } \
-+ END { for (s in stubs) print "#define __stub_" s }' \
-+ > $@T
-+ -rm -f $@L
- mv -f $@T $@
- else
- > $@
- endif
-+
-+define stub-obj-list
-+-@rm -f $@L
-+-@echo "Generating stub obj list..."
-+$(foreach file,$^,
-+@echo >> $@L '$(file)')
-+endef
-
- # This information is not used for making distributions any more.
- # But it's used by MakeTAGS for making TAGS files and the .pot files.
diff --git a/meta/packages/glibc/files/etc/ld.so.conf b/meta/packages/glibc/files/etc/ld.so.conf
deleted file mode 100644
index ddd777db2a..0000000000
--- a/meta/packages/glibc/files/etc/ld.so.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-/usr/local/lib
-include /etc/ld.so.conf.d/*
diff --git a/meta/packages/glibc/files/fhs-linux-paths.patch b/meta/packages/glibc/files/fhs-linux-paths.patch
deleted file mode 100644
index 1f32f6d7f2..0000000000
--- a/meta/packages/glibc/files/fhs-linux-paths.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- glibc-2.1.1/sysdeps/unix/sysv/linux/paths.h~ Thu May 27 13:16:33 1999
-+++ glibc-2.1.1/sysdeps/unix/sysv/linux/paths.h Thu May 27 13:17:55 1999
-@@ -71,7 +71,7 @@
- /* Provide trailing slash, since mostly used for building pathnames. */
- #define _PATH_DEV "/dev/"
- #define _PATH_TMP "/tmp/"
--#define _PATH_VARDB "/var/db/"
-+#define _PATH_VARDB "/var/lib/misc/"
- #define _PATH_VARRUN "/var/run/"
- #define _PATH_VARTMP "/var/tmp/"
-
diff --git a/meta/packages/glibc/files/generate-supported.mk b/meta/packages/glibc/files/generate-supported.mk
deleted file mode 100644
index d2a28c2dc6..0000000000
--- a/meta/packages/glibc/files/generate-supported.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/make
-
-include $(IN)
-
-all:
- rm -f $(OUT)
- touch $(OUT)
- for locale in $(SUPPORTED-LOCALES); do \
- [ $$locale = true ] && continue; \
- echo $$locale | sed 's,/, ,' >> $(OUT); \
- done
diff --git a/meta/packages/glibc/files/glibc-2.5-local-dynamic-resolvconf.patch b/meta/packages/glibc/files/glibc-2.5-local-dynamic-resolvconf.patch
deleted file mode 100644
index e137287dd1..0000000000
--- a/meta/packages/glibc/files/glibc-2.5-local-dynamic-resolvconf.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-# All lines beginning with `# DP:' are a description of the patch.
-# DP: Description: allow dynamic long-running processes to
-# DP: re-read a dynamically updated resolv.conf on the fly
-# DP: Dpatch author: Adam Conrad <adconrad@ubuntu.com>
-# DP: Patch author: Thorsten Kukuk <kukuk@suse.de>
-# DP: Upstream status: Ubuntu-Specific
-# DP: Date: 2006-01-13 08:14:21 UTC
-
-Index: resolv/res_libc.c
-===================================================================
---- resolv/res_libc.c.orig
-+++ resolv/res_libc.c
-@@ -22,7 +22,7 @@
- #include <arpa/nameser.h>
- #include <resolv.h>
- #include <bits/libc-lock.h>
--
-+#include <sys/stat.h>
-
- /* The following bit is copied from res_data.c (where it is #ifdef'ed
- out) since res_init() should go into libc.so but the rest of that
-@@ -94,8 +94,17 @@
- int
- __res_maybe_init (res_state resp, int preinit)
- {
-- if (resp->options & RES_INIT) {
-- if (__res_initstamp != resp->_u._ext.initstamp) {
-+ static time_t last_mtime;
-+ struct stat statbuf;
-+ int ret;
-+
-+
-+ if (resp->options & RES_INIT) {
-+ ret = stat (_PATH_RESCONF, &statbuf);
-+ if (__res_initstamp != resp->_u._ext.initstamp
-+ || (ret == 0) && (last_mtime != statbuf.st_mtime))
-+ {
-+ last_mtime = statbuf.st_mtime;
- if (resp->nscount > 0) {
- __res_iclose (resp, true);
- return __res_vinit (resp, 1);
diff --git a/meta/packages/glibc/files/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch b/meta/packages/glibc/files/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch
deleted file mode 100644
index 33d5282b90..0000000000
--- a/meta/packages/glibc/files/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
-Date: 07-02-2007
-Initial Package Version: 2.6
-Origin: http://sourceware.org/ml/libc-ports/2007-05/msg00051.html
-Upstream Status: Unknown
-Description: Defines RTLD_SINGLE_THREAD_P for arm.
-
-diff -Naur glibc-2.6.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h glibc-2.6/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
---- glibc-2.6.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-07-02 17:39:22.000000000 -0400
-+++ glibc-2.6/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h 2007-07-02 17:39:36.000000000 -0400
-@@ -126,3 +126,9 @@
- # define NO_CANCELLATION 1
-
- #endif
-+
-+#ifndef __ASSEMBLER__
-+# define RTLD_SINGLE_THREAD_P \
-+ __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
-+ header.multiple_threads) == 0, 1)
-+#endif
diff --git a/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch b/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch
deleted file mode 100644
index 6979229279..0000000000
--- a/meta/packages/glibc/files/glibc-2.6.1-use-short-for-fnstsw.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Source: http://sourceware.org/ml/libc-alpha/2008-01/msg00017.html
-
-I am checking this x86 assembler patch:
-
-http://sourceware.org/ml/binutils/2008-01/msg00148.html
-
-to check operand size. fnstsw stores 16bit into %ax. The upper
-16bit of %eax is unchanged. The new assembler will disallow
-"fnstsw %eax". Here is a patch for glibc.
-
-
-H.J.
-
----
- sysdeps/i386/fpu/ftestexcept.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c
-===================================================================
---- glibc-2.6.1.orig/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:00:45.000000000 -0700
-+++ glibc-2.6.1/sysdeps/i386/fpu/ftestexcept.c 2008-07-19 11:01:25.000000000 -0700
-@@ -26,7 +26,7 @@
- int
- fetestexcept (int excepts)
- {
-- int temp;
-+ short temp;
- int xtemp = 0;
-
- /* Get current exceptions. */
diff --git a/meta/packages/glibc/files/no-hwcaps.patch b/meta/packages/glibc/files/no-hwcaps.patch
deleted file mode 100644
index 5cc2821c2f..0000000000
--- a/meta/packages/glibc/files/no-hwcaps.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Disable the extra hwcaps fields, they cause ld.so to look in many strange paths
-before searching for binaries in /lib. We don't install binaries into any other
-place so this just wastes time.
-
-RP - 20/08/2008
-
-Index: glibc-2.6.1/elf/dl-sysdep.c
-===================================================================
---- glibc-2.6.1.orig/elf/dl-sysdep.c 2008-08-15 15:54:49.000000000 +0100
-+++ glibc-2.6.1/elf/dl-sysdep.c 2008-08-15 17:45:28.000000000 +0100
-@@ -346,7 +346,7 @@
- {
- /* Determine how many important bits are set. */
- uint64_t masked = GLRO(dl_hwcap) & GLRO(dl_hwcap_mask);
-- size_t cnt = platform != NULL;
-+ size_t cnt = 0;
- size_t n, m;
- size_t total;
- struct r_strlenpair *temp;
-@@ -354,11 +354,6 @@
- struct r_strlenpair *rp;
- char *cp;
-
-- /* Count the number of bits set in the masked value. */
-- for (n = 0; (~((1ULL << n) - 1) & masked) != 0; ++n)
-- if ((masked & (1ULL << n)) != 0)
-- ++cnt;
--
- #if (defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO) && defined SHARED
- /* The system-supplied DSO can contain a note of type 2, vendor "GNU".
- This gives us a list of names to treat as fake hwcap bits. */
-@@ -434,20 +429,6 @@
- }
- }
- #endif
-- for (n = 0; masked != 0; ++n)
-- if ((masked & (1ULL << n)) != 0)
-- {
-- temp[m].str = _dl_hwcap_string (n);
-- temp[m].len = strlen (temp[m].str);
-- masked ^= 1ULL << n;
-- ++m;
-- }
-- if (platform != NULL)
-- {
-- temp[m].str = platform;
-- temp[m].len = platform_len;
-- ++m;
-- }
-
- temp[m].str = "tls";
- temp[m].len = 3;
diff --git a/meta/packages/glibc/files/nopageheader.patch b/meta/packages/glibc/files/nopageheader.patch
deleted file mode 100644
index 0416711586..0000000000
--- a/meta/packages/glibc/files/nopageheader.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c
-===================================================================
---- glibc-2.6.1.orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 11:12:09.000000000 +0000
-+++ glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2009-06-16 21:16:16.007016198 +0000
-@@ -45,7 +45,6 @@
- #include <sys/mman.h>
-
- #include <linux/version.h>
--#include <asm/page.h>
- #include <sys/sysctl.h>
-
- #define PATH_ARM_SYSTYPE "/etc/arm_systype"
diff --git a/meta/packages/glibc/files/nptl-crosscompile-2.3.6.patch b/meta/packages/glibc/files/nptl-crosscompile-2.3.6.patch
deleted file mode 100644
index 2df3cd998b..0000000000
--- a/meta/packages/glibc/files/nptl-crosscompile-2.3.6.patch
+++ /dev/null
@@ -1,175 +0,0 @@
-diff
---- glibc-2.3.6/nptl/sysdeps/pthread/configure.in.orig 2006-09-14 11:12:16.000000000 +0100
-+++ glibc-2.3.6/nptl/sysdeps/pthread/configure.in 2006-09-14 11:12:16.000000000 +0100
-@@ -21,29 +21,4 @@
-
- dnl Iff <unwind.h> is available, make sure it is the right one and it
- dnl contains struct _Unwind_Exception.
--AC_CACHE_CHECK(dnl
--for forced unwind support, libc_cv_forced_unwind, [dnl
--AC_TRY_LINK([#include <unwind.h>], [
--struct _Unwind_Exception exc;
--struct _Unwind_Context *context;
--_Unwind_GetCFA (context)],
--libc_cv_forced_unwind=yes, libc_cv_forced_unwind=no)])
--if test $libc_cv_forced_unwind = yes; then
-- AC_DEFINE(HAVE_FORCED_UNWIND)
--dnl Check for C cleanup handling.
-- old_CFLAGS="$CFLAGS"
-- CFLAGS="$CFLAGS -Werror -fexceptions"
-- AC_CACHE_CHECK([for C cleanup handling], libc_cv_c_cleanup, [dnl
-- AC_TRY_LINK([
--#include <stdio.h>
--void cl (void *a) { }], [
-- int a __attribute__ ((cleanup (cl)));
-- puts ("test")],
--libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)])
-- CFLAGS="$old_CFLAGS"
-- if test $libc_cv_c_cleanup = no; then
-- AC_MSG_ERROR([the compiler must support C cleanup handling])
-- fi
--else
-- AC_MSG_ERROR(forced unwind support is required)
--fi
-+AC_DEFINE(HAVE_FORCED_UNWIND)
-diff
---- glibc-2.3.6/nptl/sysdeps/pthread/configure.orig 2006-09-14 11:11:12.000000000 +0100
-+++ glibc-2.3.6/nptl/sysdeps/pthread/configure 2006-09-14 11:11:12.000000000 +0100
-@@ -24,136 +24,7 @@
- fi
-
-
--echo "$as_me:$LINENO: checking for forced unwind support" >&5
--echo $ECHO_N "checking for forced unwind support... $ECHO_C" >&6
--if test "${libc_cv_forced_unwind+set}" = set; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
-- cat >conftest.$ac_ext <<_ACEOF
--/* confdefs.h. */
--_ACEOF
--cat confdefs.h >>conftest.$ac_ext
--cat >>conftest.$ac_ext <<_ACEOF
--/* end confdefs.h. */
--#include <unwind.h>
--int
--main ()
--{
--
--struct _Unwind_Exception exc;
--struct _Unwind_Context *context;
--_Unwind_GetCFA (context)
-- ;
-- return 0;
--}
--_ACEOF
--rm -f conftest.$ac_objext conftest$ac_exeext
--if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-- (eval $ac_link) 2>conftest.er1
-- ac_status=$?
-- grep -v '^ *+' conftest.er1 >conftest.err
-- rm -f conftest.er1
-- cat conftest.err >&5
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); } &&
-- { ac_try='test -z "$ac_c_werror_flag"
-- || test ! -s conftest.err'
-- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-- (eval $ac_try) 2>&5
-- ac_status=$?
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); }; } &&
-- { ac_try='test -s conftest$ac_exeext'
-- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-- (eval $ac_try) 2>&5
-- ac_status=$?
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); }; }; then
-- libc_cv_forced_unwind=yes
--else
-- echo "$as_me: failed program was:" >&5
--sed 's/^/| /' conftest.$ac_ext >&5
--
--libc_cv_forced_unwind=no
--fi
--rm -f conftest.err conftest.$ac_objext \
-- conftest$ac_exeext conftest.$ac_ext
--fi
--echo "$as_me:$LINENO: result: $libc_cv_forced_unwind" >&5
--echo "${ECHO_T}$libc_cv_forced_unwind" >&6
--if test $libc_cv_forced_unwind = yes; then
-- cat >>confdefs.h <<\_ACEOF
-+cat >>confdefs.h <<\_ACEOF
- #define HAVE_FORCED_UNWIND 1
- _ACEOF
-
-- old_CFLAGS="$CFLAGS"
-- CFLAGS="$CFLAGS -Werror -fexceptions"
-- echo "$as_me:$LINENO: checking for C cleanup handling" >&5
--echo $ECHO_N "checking for C cleanup handling... $ECHO_C" >&6
--if test "${libc_cv_c_cleanup+set}" = set; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
-- cat >conftest.$ac_ext <<_ACEOF
--/* confdefs.h. */
--_ACEOF
--cat confdefs.h >>conftest.$ac_ext
--cat >>conftest.$ac_ext <<_ACEOF
--/* end confdefs.h. */
--
--#include <stdio.h>
--void cl (void *a) { }
--int
--main ()
--{
--
-- int a __attribute__ ((cleanup (cl)));
-- puts ("test")
-- ;
-- return 0;
--}
--_ACEOF
--rm -f conftest.$ac_objext conftest$ac_exeext
--if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-- (eval $ac_link) 2>conftest.er1
-- ac_status=$?
-- grep -v '^ *+' conftest.er1 >conftest.err
-- rm -f conftest.er1
-- cat conftest.err >&5
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); } &&
-- { ac_try='test -z "$ac_c_werror_flag"
-- || test ! -s conftest.err'
-- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-- (eval $ac_try) 2>&5
-- ac_status=$?
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); }; } &&
-- { ac_try='test -s conftest$ac_exeext'
-- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-- (eval $ac_try) 2>&5
-- ac_status=$?
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); }; }; then
-- libc_cv_c_cleanup=yes
--else
-- echo "$as_me: failed program was:" >&5
--sed 's/^/| /' conftest.$ac_ext >&5
--
--libc_cv_c_cleanup=no
--fi
--rm -f conftest.err conftest.$ac_objext \
-- conftest$ac_exeext conftest.$ac_ext
--fi
--echo "$as_me:$LINENO: result: $libc_cv_c_cleanup" >&5
--echo "${ECHO_T}$libc_cv_c_cleanup" >&6
-- CFLAGS="$old_CFLAGS"
-- if test $libc_cv_c_cleanup = no; then
-- { { echo "$as_me:$LINENO: error: the compiler must support C cleanup handling" >&5
--echo "$as_me: error: the compiler must support C cleanup handling" >&2;}
-- { (exit 1); exit 1; }; }
-- fi
--else
-- { { echo "$as_me:$LINENO: error: forced unwind support is required" >&5
--echo "$as_me: error: forced unwind support is required" >&2;}
-- { (exit 1); exit 1; }; }
--fi