Subject: Re: COMPAT_LINUX/powerpc: mmap'ing dynamic libraries
To: None <tech-kern@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 01/08/2001 19:28:21
> 3718 mmap CALL mmap(0,0x200,0x1,0x2,0x3,0,0x1830000,0x1870000)
> Is this 8 argument mmap() normal?
Basically, yes.
christos writes
> There should be 7 arguments since off_t gets displayed as 2 ints,
> unless the old mmap linux structure has more crap on it.
It looks like a NetBSD mmap() call - note that the off_t argument gets
32 bits of shim inserted before it so that it's naturally aligned.
This is where the `sixth argument' comes from.
Six real arguments - but one of them is double-size (one "extra") and a
shim is inserted (another "extra") - that makes eight....
der Mouse
mouse@rodents.montreal.qc.ca
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B