summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-07 23:54:33 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-07 23:54:33 +0000
commit7cd9f3da744df3f9aa2f002864871aa9529d4a86 (patch)
treec0f38286321d3f9d9d773172ccf2ff57da1636ed
parentc79018c5ef1f69c6d5de68325cf42c737b251874 (diff)
- forgot to adjust the path
-rw-r--r--toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch18
1 files changed, 6 insertions, 12 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch b/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
index d07f8468f..af38be309 100644
--- a/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
+++ b/toolchain/uClibc/uClibc-0.9.29-001-fix-mmap.patch
@@ -1,7 +1,5 @@
-Index: test/mmap/mmap2.c
-===================================================================
---- test/mmap/mmap2.c (revision 0)
-+++ test/mmap/mmap2.c (revision 18616)
+--- uClibc-0.9.29.oorig/test/mmap/mmap2.c (revision 0)
++++ uClibc-0.9.29/test/mmap/mmap2.c (revision 18616)
@@ -0,0 +1,41 @@
+/* When trying to map /dev/mem with offset 0xFFFFF000 on the ARM platform, mmap
+ * returns -EOVERFLOW.
@@ -44,10 +42,8 @@ Index: test/mmap/mmap2.c
+ close(fd);
+ return 0;
+}
-Index: libc/sysdeps/linux/arm/mmap.c
-===================================================================
---- libc/sysdeps/linux/arm/mmap.c (revision 18615)
-+++ libc/sysdeps/linux/arm/mmap.c (revision 18616)
+--- uClibc-0.9.29.oorig/libc/sysdeps/linux/arm/mmap.c (revision 18615)
++++ uClibc-0.9.29/libc/sysdeps/linux/arm/mmap.c (revision 18616)
@@ -27,7 +27,6 @@ __ptr_t mmap(__ptr_t addr, size_t len, i
#elif defined (__NR_mmap2)
@@ -75,10 +71,8 @@ Index: libc/sysdeps/linux/arm/mmap.c
}
#elif defined (__NR_mmap)
# define __NR__mmap __NR_mmap
-Index: libc/sysdeps/linux/common/mmap64.c
-===================================================================
---- libc/sysdeps/linux/common/mmap64.c (revision 18615)
-+++ libc/sysdeps/linux/common/mmap64.c (revision 18616)
+--- uClibc-0.9.29.oorig/libc/sysdeps/linux/common/mmap64.c (revision 18615)
++++ uClibc-0.9.29/libc/sysdeps/linux/common/mmap64.c (revision 18616)
@@ -58,8 +58,13 @@ __ptr_t mmap64(__ptr_t addr, size_t len,
__set_errno(EINVAL);
return MAP_FAILED;