| To: | Dinar Temirbulatov <dtemirbulatov@gmail.com> |
|---|---|
| Subject: | Re: mmap is broken for MIPS64 n32 and o32 abis |
| From: | "Maciej W. Rozycki" <macro@linux-mips.org> |
| Date: | Fri, 19 Sep 2008 13:33:58 +0100 (BST) |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <a664af430809182331i41c9e344w83ecb2830ac24@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <a664af430809182331i41c9e344w83ecb2830ac24@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Fri, 19 Sep 2008, Dinar Temirbulatov wrote: > I noticed that mmap is not working properly under n32, o32 abis in > MIPS64, for example if we want to map 0xb6000000 address to the > userland under those abis we call mmap and because the last argument > in old_mmap is off_t and this type is 64-bits wide for MIPS64, we end > up having for example 0xffffffffb6000000 address value. I am sure that > this is not a glibc issue. Following patch adds 32-bit version of mmap > and also it adds mmap64 support for n32 abi since mmap64 was > implemented correctly for n32 too. Well, neither with the o32 nor with the n32 ABI are 0xb6000000 or 0xffffffffb6000000 (which is the n32's equivalent of the former) valid user addresses, so your concern is? Maciej |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: MIPS checksum bug, Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: Same mipsel binary für 2.4 and 2.6 kernel possible?, Kevin D. Kissell |
| Previous by Thread: | Re: mmap is broken for MIPS64 n32 and o32 abis, Sergei Shtylyov |
| Next by Thread: | Re: mmap is broken for MIPS64 n32 and o32 abis, Dinar Temirbulatov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |