mips64 patches

Mike Frysinger vapier at gentoo.org
Thu Jul 6 05:58:59 UTC 2006


On Thursday 06 July 2006 01:45, Atsushi Nemoto wrote:
> On Thu, 06 Jul 2006 01:00:53 +0900 (JST), Atsushi Nemoto 
<anemo at mba.ocn.ne.jp> wrote:
> > The remained patch is for ioctl, but now I can not remember the reason
> > of this change...  I'll try to figure out this is really required or
> > not.
>
> This is really needed.  The ioctl number must be sign-extended 32bit
> value for mips64 kernel.  Without this change, libc passes
> 0x0000000080000000 for ioctl request 0x80000000, but kernel expects
> 0xffffffff80000000 for the ioctl.
>
> Since I do not know about other 64bit system, I think adding mips
> specific ioctl.c would be better than touching the common one.  This
> mips specific ioctl.c can be used for all MIPS ABI.

considering x86_64 is the only 64bit port atm, i wouldnt too much about it

do you have some test code ?  i'll make the change and run ltp against x86_64 
and see if it breaks anything
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060706/c9a7db31/attachment-0002.pgp 


More information about the uClibc mailing list