This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: mmap64 with very large offset broken since glibc 2.26 (MIPS64 n32)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Florian Weimer <fweimer at redhat dot com>, Thomas De Schampheleire <patrickdepinguin at gmail dot com>, <libc-alpha at sourceware dot org>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Date: Thu, 13 Jun 2019 16:49:29 +0000
- Subject: Re: mmap64 with very large offset broken since glibc 2.26 (MIPS64 n32)
- References: <CAAXf6LWW9kknauk11d2Yi-18f6sB1rAGcfhnW+=eKDK8jDBVNA@mail.gmail.com> <87k1dp1yts.fsf@oldenburg2.str.redhat.com> <mvm5zp97k4p.fsf@suse.de>
On Thu, 13 Jun 2019, Andreas Schwab wrote:
> IIUC n32 already uses long long for syscall arguments, and it uses the
> mmap syscall with an unshifted offset.
Yes, the n32 syscall ABI generally matches the function calling ABI, with
64-bit arguments in a single register. See the commit message for commit
5163b4b76f61e361f0f4bbe3b96732b12e5c9b1a for more discussion of the mmap
interfaces for MIPS.
--
Joseph S. Myers
joseph@codesourcery.com