qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-5.0?] linux-user/ppc: Fix padding in mcontext_t for ppc64


From: Richard Henderson
Subject: Re: [PATCH for-5.0?] linux-user/ppc: Fix padding in mcontext_t for ppc64
Date: Tue, 7 Apr 2020 20:44:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 4/7/20 7:10 PM, David Gibson wrote:
>> Should we in fact disable ppc64abi32?
>> I can't see how it could work enough to be useful as-is.
> 
> Yeah, I think so.  Last time we had a problem in this area, I couldn't
> even figure out what ppc64abi32 was supposed to *be*, let alone what
> the use case for it is.  Given that, it's hard to imagine it's been
> working (whatever that means) any time recently.

What it's *supposed* to be is a ppc32 binary running on a 64-bit cpu, e.g. a
32-bit binary on power7 with the kernel's compat syscalls.  You get to do
native 64-bit arithmetic and have 32-bit pointers.

I guess there's a kind of a use case there somewhere, but it's rather niche,
and someone has to care more than they have until now.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]