mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-28 16:48:52 +00:00
4b173045e9
Woo... It seems the glibc guys finally decided that tarballs were not deprecated, in fact. The patchset was vampirised from Gentoo (kudos, guys!), and applies to glibc+ports, so that's why it's been added as a patchset against ports, not against glibc.
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
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.
|
|
|
|
diff -durN glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h
|
|
--- glibc-2.10.1.orig/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-05-16 10:36:20.000000000 +0200
|
|
+++ glibc-2.10.1/glibc-ports-2.10.1/sysdeps/unix/sysv/linux/alpha/sys/user.h 2009-11-13 00:50:47.000000000 +0100
|
|
@@ -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 @@
|
|
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 -durN glibc-2.10.1.orig/ports/sysdeps/unix/sysv/linux/alpha/sys/user.h glibc-2.10.1/ports/sysdeps/unix/sysv/linux/alpha/sys/user.h
|