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(+)
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.3.6/260-alpha-asm_page.patch Mon Jun 16 13:04:53 2008 +0000
1.3 @@ -0,0 +1,26 @@
1.4 +2008-06-07 Mike Frysinger <vapier@gentoo.org>
1.5 +
1.6 + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
1.7 + from the kernel header to sys/user.h and remove the #include of
1.8 + sys/user.h.
1.9 +
1.10 +--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
1.11 ++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
1.12 +@@ -23,7 +23,6 @@
1.13 + only. Don't read too much into it. Don't use it for anything other
1.14 + than gdb/strace unless you know what you are doing. */
1.15 +
1.16 +-#include <asm/page.h>
1.17 + #include <asm/reg.h>
1.18 +
1.19 + struct user
1.20 +@@ -41,6 +40,9 @@ struct user
1.21 + char u_comm[32]; /* user command name */
1.22 + };
1.23 +
1.24 ++#define PAGE_SHIFT 13
1.25 ++#define PAGE_SIZE (1 << PAGE_SHIFT)
1.26 ++#define PAGE_MASK (~(PAGE_SIZE-1))
1.27 + #define NBPG PAGE_SIZE
1.28 + #define UPAGES 1
1.29 + #define HOST_TEXT_START_ADDR (u.start_code)
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/patches/glibc/2.5.1/180-alpha-asm_page.patch Mon Jun 16 13:04:53 2008 +0000
2.3 @@ -0,0 +1,26 @@
2.4 +2008-06-07 Mike Frysinger <vapier@gentoo.org>
2.5 +
2.6 + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
2.7 + from the kernel header to sys/user.h and remove the #include of
2.8 + sys/user.h.
2.9 +
2.10 +--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
2.11 ++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
2.12 +@@ -23,7 +23,6 @@
2.13 + only. Don't read too much into it. Don't use it for anything other
2.14 + than gdb/strace unless you know what you are doing. */
2.15 +
2.16 +-#include <asm/page.h>
2.17 + #include <asm/reg.h>
2.18 +
2.19 + struct user
2.20 +@@ -41,6 +40,9 @@ struct user
2.21 + char u_comm[32]; /* user command name */
2.22 + };
2.23 +
2.24 ++#define PAGE_SHIFT 13
2.25 ++#define PAGE_SIZE (1 << PAGE_SHIFT)
2.26 ++#define PAGE_MASK (~(PAGE_SIZE-1))
2.27 + #define NBPG PAGE_SIZE
2.28 + #define UPAGES 1
2.29 + #define HOST_TEXT_START_ADDR (u.start_code)
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/patches/glibc/2.5/180-alpha-asm_page.patch Mon Jun 16 13:04:53 2008 +0000
3.3 @@ -0,0 +1,26 @@
3.4 +2008-06-07 Mike Frysinger <vapier@gentoo.org>
3.5 +
3.6 + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
3.7 + from the kernel header to sys/user.h and remove the #include of
3.8 + sys/user.h.
3.9 +
3.10 +--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
3.11 ++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
3.12 +@@ -23,7 +23,6 @@
3.13 + only. Don't read too much into it. Don't use it for anything other
3.14 + than gdb/strace unless you know what you are doing. */
3.15 +
3.16 +-#include <asm/page.h>
3.17 + #include <asm/reg.h>
3.18 +
3.19 + struct user
3.20 +@@ -41,6 +40,9 @@ struct user
3.21 + char u_comm[32]; /* user command name */
3.22 + };
3.23 +
3.24 ++#define PAGE_SHIFT 13
3.25 ++#define PAGE_SIZE (1 << PAGE_SHIFT)
3.26 ++#define PAGE_MASK (~(PAGE_SIZE-1))
3.27 + #define NBPG PAGE_SIZE
3.28 + #define UPAGES 1
3.29 + #define HOST_TEXT_START_ADDR (u.start_code)
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/patches/glibc/2.6.1/180-alpha-asm_page.patch Mon Jun 16 13:04:53 2008 +0000
4.3 @@ -0,0 +1,26 @@
4.4 +2008-06-07 Mike Frysinger <vapier@gentoo.org>
4.5 +
4.6 + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
4.7 + from the kernel header to sys/user.h and remove the #include of
4.8 + sys/user.h.
4.9 +
4.10 +--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
4.11 ++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
4.12 +@@ -23,7 +23,6 @@
4.13 + only. Don't read too much into it. Don't use it for anything other
4.14 + than gdb/strace unless you know what you are doing. */
4.15 +
4.16 +-#include <asm/page.h>
4.17 + #include <asm/reg.h>
4.18 +
4.19 + struct user
4.20 +@@ -41,6 +40,9 @@ struct user
4.21 + char u_comm[32]; /* user command name */
4.22 + };
4.23 +
4.24 ++#define PAGE_SHIFT 13
4.25 ++#define PAGE_SIZE (1 << PAGE_SHIFT)
4.26 ++#define PAGE_MASK (~(PAGE_SIZE-1))
4.27 + #define NBPG PAGE_SIZE
4.28 + #define UPAGES 1
4.29 + #define HOST_TEXT_START_ADDR (u.start_code)
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/patches/glibc/2.6/180-alpha-asm_page.patch Mon Jun 16 13:04:53 2008 +0000
5.3 @@ -0,0 +1,26 @@
5.4 +2008-06-07 Mike Frysinger <vapier@gentoo.org>
5.5 +
5.6 + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
5.7 + from the kernel header to sys/user.h and remove the #include of
5.8 + sys/user.h.
5.9 +
5.10 +--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
5.11 ++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
5.12 +@@ -23,7 +23,6 @@
5.13 + only. Don't read too much into it. Don't use it for anything other
5.14 + than gdb/strace unless you know what you are doing. */
5.15 +
5.16 +-#include <asm/page.h>
5.17 + #include <asm/reg.h>
5.18 +
5.19 + struct user
5.20 +@@ -41,6 +40,9 @@ struct user
5.21 + char u_comm[32]; /* user command name */
5.22 + };
5.23 +
5.24 ++#define PAGE_SHIFT 13
5.25 ++#define PAGE_SIZE (1 << PAGE_SHIFT)
5.26 ++#define PAGE_MASK (~(PAGE_SIZE-1))
5.27 + #define NBPG PAGE_SIZE
5.28 + #define UPAGES 1
5.29 + #define HOST_TEXT_START_ADDR (u.start_code)
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/patches/glibc/2.7/180-alpha-asm_page.patch Mon Jun 16 13:04:53 2008 +0000
6.3 @@ -0,0 +1,26 @@
6.4 +2008-06-07 Mike Frysinger <vapier@gentoo.org>
6.5 +
6.6 + * sysdeps/unix/sysv/linux/alpha/sys/user.h: Copy page.h definitions
6.7 + from the kernel header to sys/user.h and remove the #include of
6.8 + sys/user.h.
6.9 +
6.10 +--- a/sysdeps/unix/sysv/linux/alpha/sys/user.h
6.11 ++++ b/sysdeps/unix/sysv/linux/alpha/sys/user.h
6.12 +@@ -23,7 +23,6 @@
6.13 + only. Don't read too much into it. Don't use it for anything other
6.14 + than gdb/strace unless you know what you are doing. */
6.15 +
6.16 +-#include <asm/page.h>
6.17 + #include <asm/reg.h>
6.18 +
6.19 + struct user
6.20 +@@ -41,6 +40,9 @@ struct user
6.21 + char u_comm[32]; /* user command name */
6.22 + };
6.23 +
6.24 ++#define PAGE_SHIFT 13
6.25 ++#define PAGE_SIZE (1 << PAGE_SHIFT)
6.26 ++#define PAGE_MASK (~(PAGE_SIZE-1))
6.27 + #define NBPG PAGE_SIZE
6.28 + #define UPAGES 1
6.29 + #define HOST_TEXT_START_ADDR (u.start_code)