summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-16 13:04:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-16 13:04:53 (GMT)
commitf1e369422e12e52fa536f2bbeffe3861fa6ecf8a (patch)
treefcaa1a5348159f1f3012c0865b86299b267ce788 /patches
parent1eaa6e6cbfffd7ac8c70ed11d87d348a6c11a49b (diff)
New patch to make glibces build for Alpha with latest linux kernel headers.
/trunk/patches/glibc/2.5.1/180-alpha-asm_page.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/glibc/2.5/180-alpha-asm_page.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/glibc/2.6.1/180-alpha-asm_page.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/glibc/2.6/180-alpha-asm_page.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/glibc/2.3.6/260-alpha-asm_page.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/glibc/2.7/180-alpha-asm_page.patch | 26 26 0 0 ++++++++++++++++++++++++++ 6 files changed, 156 insertions(+)
Diffstat (limited to 'patches')
-rw-r--r--patches/glibc/2.3.6/260-alpha-asm_page.patch26
-rw-r--r--patches/glibc/2.5.1/180-alpha-asm_page.patch26
-rw-r--r--patches/glibc/2.5/180-alpha-asm_page.patch26
-rw-r--r--patches/glibc/2.6.1/180-alpha-asm_page.patch26
-rw-r--r--patches/glibc/2.6/180-alpha-asm_page.patch26
-rw-r--r--patches/glibc/2.7/180-alpha-asm_page.patch26
6 files changed, 156 insertions, 0 deletions
diff --git a/patches/glibc/2.3.6/260-alpha-asm_page.patch b/patches/glibc/2.3.6/260-alpha-asm_page.patch
new file mode 100644
index 0000000..b198b36
--- /dev/null
+++ b/patches/glibc/2.3.6/260-alpha-asm_page.patch
@@ -0,0 +1,26 @@
+2008-06-07 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
+ from the kernel header to sys/user.h and remove the #include of
+ sys/user.h.
+
+--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
+@@ -23,7 +23,6 @@
+ only. Don't read too much into it. Don't use it for anything other
+ than gdb/strace unless you know what you are doing. */
+
+-#include <asm/page.h>
+ #include <asm/reg.h>
+
+ struct user
+@@ -41,6 +40,9 @@ struct user
+ char u_comm[32]; /* user command name */
+ };
+
++#define PAGE_SHIFT 13
++#define PAGE_SIZE (1 << PAGE_SHIFT)
++#define PAGE_MASK (~(PAGE_SIZE-1))
+ #define NBPG PAGE_SIZE
+ #define UPAGES 1
+ #define HOST_TEXT_START_ADDR (u.start_code)
diff --git a/patches/glibc/2.5.1/180-alpha-asm_page.patch b/patches/glibc/2.5.1/180-alpha-asm_page.patch
new file mode 100644
index 0000000..b198b36
--- /dev/null
+++ b/patches/glibc/2.5.1/180-alpha-asm_page.patch
@@ -0,0 +1,26 @@
+2008-06-07 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
+ from the kernel header to sys/user.h and remove the #include of
+ sys/user.h.
+
+--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
+@@ -23,7 +23,6 @@
+ only. Don't read too much into it. Don't use it for anything other
+ than gdb/strace unless you know what you are doing. */
+
+-#include <asm/page.h>
+ #include <asm/reg.h>
+
+ struct user
+@@ -41,6 +40,9 @@ struct user
+ char u_comm[32]; /* user command name */
+ };
+
++#define PAGE_SHIFT 13
++#define PAGE_SIZE (1 << PAGE_SHIFT)
++#define PAGE_MASK (~(PAGE_SIZE-1))
+ #define NBPG PAGE_SIZE
+ #define UPAGES 1
+ #define HOST_TEXT_START_ADDR (u.start_code)
diff --git a/patches/glibc/2.5/180-alpha-asm_page.patch b/patches/glibc/2.5/180-alpha-asm_page.patch
new file mode 100644
index 0000000..b198b36
--- /dev/null
+++ b/patches/glibc/2.5/180-alpha-asm_page.patch
@@ -0,0 +1,26 @@
+2008-06-07 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
+ from the kernel header to sys/user.h and remove the #include of
+ sys/user.h.
+
+--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
+@@ -23,7 +23,6 @@
+ only. Don't read too much into it. Don't use it for anything other
+ than gdb/strace unless you know what you are doing. */
+
+-#include <asm/page.h>
+ #include <asm/reg.h>
+
+ struct user
+@@ -41,6 +40,9 @@ struct user
+ char u_comm[32]; /* user command name */
+ };
+
++#define PAGE_SHIFT 13
++#define PAGE_SIZE (1 << PAGE_SHIFT)
++#define PAGE_MASK (~(PAGE_SIZE-1))
+ #define NBPG PAGE_SIZE
+ #define UPAGES 1
+ #define HOST_TEXT_START_ADDR (u.start_code)
diff --git a/patches/glibc/2.6.1/180-alpha-asm_page.patch b/patches/glibc/2.6.1/180-alpha-asm_page.patch
new file mode 100644
index 0000000..b198b36
--- /dev/null
+++ b/patches/glibc/2.6.1/180-alpha-asm_page.patch
@@ -0,0 +1,26 @@
+2008-06-07 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
+ from the kernel header to sys/user.h and remove the #include of
+ sys/user.h.
+
+--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
+@@ -23,7 +23,6 @@
+ only. Don't read too much into it. Don't use it for anything other
+ than gdb/strace unless you know what you are doing. */
+
+-#include <asm/page.h>
+ #include <asm/reg.h>
+
+ struct user
+@@ -41,6 +40,9 @@ struct user
+ char u_comm[32]; /* user command name */
+ };
+
++#define PAGE_SHIFT 13
++#define PAGE_SIZE (1 << PAGE_SHIFT)
++#define PAGE_MASK (~(PAGE_SIZE-1))
+ #define NBPG PAGE_SIZE
+ #define UPAGES 1
+ #define HOST_TEXT_START_ADDR (u.start_code)
diff --git a/patches/glibc/2.6/180-alpha-asm_page.patch b/patches/glibc/2.6/180-alpha-asm_page.patch
new file mode 100644
index 0000000..b198b36
--- /dev/null
+++ b/patches/glibc/2.6/180-alpha-asm_page.patch
@@ -0,0 +1,26 @@
+2008-06-07 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
+ from the kernel header to sys/user.h and remove the #include of
+ sys/user.h.
+
+--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
+@@ -23,7 +23,6 @@
+ only. Don't read too much into it. Don't use it for anything other
+ than gdb/strace unless you know what you are doing. */
+
+-#include <asm/page.h>
+ #include <asm/reg.h>
+
+ struct user
+@@ -41,6 +40,9 @@ struct user
+ char u_comm[32]; /* user command name */
+ };
+
++#define PAGE_SHIFT 13
++#define PAGE_SIZE (1 << PAGE_SHIFT)
++#define PAGE_MASK (~(PAGE_SIZE-1))
+ #define NBPG PAGE_SIZE
+ #define UPAGES 1
+ #define HOST_TEXT_START_ADDR (u.start_code)
diff --git a/patches/glibc/2.7/180-alpha-asm_page.patch b/patches/glibc/2.7/180-alpha-asm_page.patch
new file mode 100644
index 0000000..b198b36
--- /dev/null
+++ b/patches/glibc/2.7/180-alpha-asm_page.patch
@@ -0,0 +1,26 @@
+2008-06-07 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
+ from the kernel header to sys/user.h and remove the #include of
+ sys/user.h.
+
+--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
+@@ -23,7 +23,6 @@
+ only. Don't read too much into it. Don't use it for anything other
+ than gdb/strace unless you know what you are doing. */
+
+-#include <asm/page.h>
+ #include <asm/reg.h>
+
+ struct user
+@@ -41,6 +40,9 @@ struct user
+ char u_comm[32]; /* user command name */
+ };
+
++#define PAGE_SHIFT 13
++#define PAGE_SIZE (1 << PAGE_SHIFT)
++#define PAGE_MASK (~(PAGE_SIZE-1))
+ #define NBPG PAGE_SIZE
+ #define UPAGES 1
+ #define HOST_TEXT_START_ADDR (u.start_code)