[uClibc]uClibc/mipsel

Geoffrey Espin espin at idiom.com
Sat Feb 16 02:42:46 UTC 2002


John,

On Fri, Feb 15, 2002 at 07:27:56AM -0700, John Rigby wrote:
> I had a similar problem to this and it turned out to be mmap.  The 
> implementation in libc/sysdeps/linux/common/syscalls.c is wrong for mips.  
> This works better: 
> 
> _syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
>            int, flags, int, fd, __off_t, offset);
> 
> This works fine for me (on mips).  I suppose the proper solution is to add a 
> _mmap.c to libc/sysdeps/linux/mips.  (like v850 does).

I can confirm that mmap() does not work.  Unfortunately, I was not
able to deduce completely, or correctly, what your fix is (I tried
several incarnations but came up empty).

Can you provide a patch, or at least a bit more info?

Thanks,
Geoff
-- 
Geoffrey Espin
espin at idiom.com
--
What does this button...



More information about the uClibc mailing list