summaryrefslogtreecommitdiff
path: root/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-22 20:50:10 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-22 20:50:10 (GMT)
commitc15b9fb7ea698d49665b4a04b18e6f785b895a14 (patch)
tree3537a4cf88fedb6aa3355b929fdfacf8059971a9 /patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch
parent9d4c07f32f11187d471f05cd2165e6adbd4240a0 (diff)
Make Super-H finally compile a complete (C-only) toolchain:
- new, un-tested patches - an sh4 sample to work on, and to try to reproduce later. /trunk/patches/glibc/2.7/250-sh-chop-linux-version.patch | 49 49 0 0 ++ /trunk/patches/glibc/2.7/240-sh-lowlevellock-asm.patch | 56 56 0 0 +++ /trunk/patches/glibc/2.7/270-sh-fix-procfs.patch | 11 11 0 0 + /trunk/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch | 23 23 0 0 + /trunk/patches/glibc/2.7/260-sh-syscall-error-path.patch | 26 26 0 0 + /trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 311 311 0 0 ++++++++++++++ /trunk/samples/sh4-unknown-linux-gnu/reported.by | 3 3 0 0 + 7 files changed, 479 insertions(+)
Diffstat (limited to 'patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch')
-rw-r--r--patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch b/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch
new file mode 100644
index 0000000..0c5caa5
--- /dev/null
+++ b/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch
@@ -0,0 +1,23 @@
+diff -durN glibc-2.7.orig/sysdeps/unix/sysv/linux/sh/sys/procfs.h glibc-2.7/sysdeps/unix/sysv/linux/sh/sys/procfs.h
+--- glibc-2.7.orig/sysdeps/unix/sysv/linux/sh/sys/procfs.h 2008-10-22 21:23:32.000000000 +0200
++++ glibc-2.7/sysdeps/unix/sysv/linux/sh/sys/procfs.h 2008-10-22 21:41:54.000000000 +0200
+@@ -29,6 +29,7 @@
+ #include <sys/types.h>
+ #include <sys/ucontext.h>
+ #include <sys/user.h>
++#include <asm/ptrace.h>
+
+ __BEGIN_DECLS
+
+diff -durN glibc-2.7.orig/sysdeps/unix/sysv/linux/sh/sys/user.h glibc-2.7/sysdeps/unix/sysv/linux/sh/sys/user.h
+--- glibc-2.7.orig/sysdeps/unix/sysv/linux/sh/sys/user.h 2008-10-22 21:23:32.000000000 +0200
++++ glibc-2.7/sysdeps/unix/sysv/linux/sh/sys/user.h 2008-10-22 21:33:34.000000000 +0200
+@@ -21,8 +21,6 @@
+
+ #include <features.h>
+
+-#include <asm/user.h>
+-
+ #undef start_thread
+
+ #endif /* sys/user.h */