Re: COMPAT_IRIX, N32, mmap for /dev/zero.

[email protected] (NISHIMURA, Toru) Fri, 26 Jul 2002 11:14:50 +0900
Newsgroups gmane.os.netbsd.ports.mips
Organization ALKYL Technology
Message-ID <000701c2344a$391b2620$570ea8c0@ALKYL>
GIRISH V. GULAWANI <[email protected]>

> Firstly, I think there is parameter mismatch. I found
> out that the O32 binaries work properly & pass all the
> parameters correct to mmap(). But the N32 binaries
> don't pass correct parameters to mmap(). 

That's the straight consequence of ABI incompatibility between
O32 and N32/N64.   mmap system call has the largest set of
parameter arguments (read as a badly tasteless design) and often
provides the worst corner case for operating system porting effort
to shoot out.

Toru Nishimura/ALKYL Technology