diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2009-02-21 14:32:21 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2009-02-21 14:32:21 +0000 |
commit | d0484c4cf651fc0f08bbd1a902417687a3d7f0ff (patch) | |
tree | 2cd957ecc9ccc165c6194e2159a25ef0869151ae /toolchain/uClibc/patches/001-fix_mmap.patch | |
parent | da99fcd35a1dae5d03d26b6be44b7c4cacdcf5cd (diff) | |
download | upstream-d0484c4cf651fc0f08bbd1a902417687a3d7f0ff.tar.gz upstream-d0484c4cf651fc0f08bbd1a902417687a3d7f0ff.tar.bz2 upstream-d0484c4cf651fc0f08bbd1a902417687a3d7f0ff.zip |
uClibc: refresh patches for uClibc
SVN-Revision: 14588
Diffstat (limited to 'toolchain/uClibc/patches/001-fix_mmap.patch')
-rw-r--r-- | toolchain/uClibc/patches/001-fix_mmap.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolchain/uClibc/patches/001-fix_mmap.patch b/toolchain/uClibc/patches/001-fix_mmap.patch index 4775e8c332..38cf60a96a 100644 --- a/toolchain/uClibc/patches/001-fix_mmap.patch +++ b/toolchain/uClibc/patches/001-fix_mmap.patch @@ -1,5 +1,5 @@ ---- uClibc-0.9.29.oorig/test/mmap/mmap2.c (revision 0) -+++ uClibc-0.9.29/test/mmap/mmap2.c (revision 18616) +--- /dev/null ++++ b/test/mmap/mmap2.c @@ -0,0 +1,41 @@ +/* When trying to map /dev/mem with offset 0xFFFFF000 on the ARM platform, mmap + * returns -EOVERFLOW. @@ -42,8 +42,8 @@ + close(fd); + return 0; +} ---- 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) +--- a/libc/sysdeps/linux/arm/mmap.c ++++ b/libc/sysdeps/linux/arm/mmap.c @@ -27,7 +27,6 @@ __ptr_t mmap(__ptr_t addr, size_t len, i #elif defined (__NR_mmap2) @@ -71,8 +71,8 @@ } #elif defined (__NR_mmap) # define __NR__mmap __NR_mmap ---- 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) +--- a/libc/sysdeps/linux/common/mmap64.c ++++ b/libc/sysdeps/linux/common/mmap64.c @@ -58,8 +58,13 @@ __ptr_t mmap64(__ptr_t addr, size_t len, __set_errno(EINVAL); return MAP_FAILED; |