summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-25 20:47:51 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-25 20:47:51 (GMT)
commit4fd776245435ef18178fcc70c0a716f4b9cc381a (patch)
tree2da046e65df0d7e8dcac28f88048fec7e2e520f5 /patches
parent69e0647a025e5e86993820f121115b67ff52a104 (diff)
libc/glibc: update 2.10.1 patchset
According to: http://sourceware.org/ml/crossgcc/2009-11/msg00109.html update the patchset for correct Alpha build.
Diffstat (limited to 'patches')
-rw-r--r--patches/glibc/ports-2.10.1/440-alpha-cache-shape.patch5
-rw-r--r--patches/glibc/ports-2.10.1/640-alpha-atfcts.patch12
-rw-r--r--patches/glibc/ports-2.10.1/650-syslog.patch12
-rw-r--r--patches/glibc/ports-2.10.1/660-debug-readlink_chk-readklinkat_chk.patch24
4 files changed, 50 insertions, 3 deletions
diff --git a/patches/glibc/ports-2.10.1/440-alpha-cache-shape.patch b/patches/glibc/ports-2.10.1/440-alpha-cache-shape.patch
index b1422f6..77d0753 100644
--- a/patches/glibc/ports-2.10.1/440-alpha-cache-shape.patch
+++ b/patches/glibc/ports-2.10.1/440-alpha-cache-shape.patch
@@ -8,7 +8,6 @@ can punt it.
diff -durN glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/dl-support.c
--- glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-05-16 10:36:20.000000000 +0200
+++ glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-11-13 00:50:53.000000000 +0100
-@@ -1,2 +0,0 @@
+@@ -1,2 +1,1 @@
-#include "dl-auxv.h"
--#include <elf/dl-support.c>
-diff -durN glibc-2.10.1.orig/ports/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2.10.1/ports/sysdeps/unix/sysv/linux/alpha/dl-support.c
+ #include <elf/dl-support.c>
diff --git a/patches/glibc/ports-2.10.1/640-alpha-atfcts.patch b/patches/glibc/ports-2.10.1/640-alpha-atfcts.patch
new file mode 100644
index 0000000..83adbce
--- /dev/null
+++ b/patches/glibc/ports-2.10.1/640-alpha-atfcts.patch
@@ -0,0 +1,12 @@
+--- glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h 2007-08-14 06:21:09.000000000 +0300
++++ glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-23 07:05:20.000000000 +0300
+@@ -454,8 +454,7 @@
+ and on Alpha just after 2.6.22-rc1. */
+ #if __LINUX_KERNEL_VERSION >= 0x020611 \
+ && ((!defined __sh__ && !defined __alpha__) \
+- || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \
+- || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__))
++ || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__))
+ # define __ASSUME_ATFCTS 1
+ #endif
+
diff --git a/patches/glibc/ports-2.10.1/650-syslog.patch b/patches/glibc/ports-2.10.1/650-syslog.patch
new file mode 100644
index 0000000..c20cafc
--- /dev/null
+++ b/patches/glibc/ports-2.10.1/650-syslog.patch
@@ -0,0 +1,12 @@
+diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c
+--- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200
++++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200
+@@ -152,7 +152,7 @@
+ #define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID
+ /* Check for invalid bits. */
+ if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) {
+- syslog(INTERNALLOG,
++ __syslog(INTERNALLOG,
+ "syslog: unknown facility/priority: %x", pri);
+ pri &= LOG_PRIMASK|LOG_FACMASK;
+ }
diff --git a/patches/glibc/ports-2.10.1/660-debug-readlink_chk-readklinkat_chk.patch b/patches/glibc/ports-2.10.1/660-debug-readlink_chk-readklinkat_chk.patch
new file mode 100644
index 0000000..a5a7052
--- /dev/null
+++ b/patches/glibc/ports-2.10.1/660-debug-readlink_chk-readklinkat_chk.patch
@@ -0,0 +1,24 @@
+diff -dur glibc-cvs-2.9.orig/debug/readlink_chk.c glibc-cvs-2.9/debug/readlink_chk.c
+--- glibc-cvs-2.9.orig/debug/readlink_chk.c 2005-03-01 01:41:15.000000000 +0100
++++ glibc-cvs-2.9/debug/readlink_chk.c 2009-06-01 10:59:37.000000000 +0200
+@@ -25,7 +25,7 @@
+
+
+ ssize_t
+-__readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
++__readlink_chk (const char *path, char *buf, size_t len, size_t buflen)
+ {
+ if (len > buflen)
+ __chk_fail ();
+diff -dur glibc-cvs-2.9.orig/debug/readlinkat_chk.c glibc-cvs-2.9/debug/readlinkat_chk.c
+--- glibc-cvs-2.9.orig/debug/readlinkat_chk.c 2006-04-24 18:56:12.000000000 +0200
++++ glibc-cvs-2.9/debug/readlinkat_chk.c 2009-06-01 11:07:26.000000000 +0200
+@@ -21,7 +21,7 @@
+
+
+ ssize_t
+-__readlinkat_chk (int fd, const char *path, void *buf, size_t len,
++__readlinkat_chk (int fd, const char *path, char *buf, size_t len,
+ size_t buflen)
+ {
+ if (len > buflen)