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: Thomas De Schampheleire <patrickdepinguin at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, Florian Weimer <fweimer at redhat dot com>, libc-alpha at sourceware dot org, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Date: Mon, 17 Jun 2019 16:58:58 +0200
- 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> <alpine.DEB.2.21.1906131648060.7816@digraph.polyomino.org.uk>
El jue., 13 jun. 2019 a las 18:49, Joseph Myers
(<joseph@codesourcery.com>) escribió:
>
> 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.
Should I open a bugzilla bug to track this further, or do you prefer
to continue in this mail thread?
Thanks,
Thomas