Re: simple aarch64 binary can cause linux-user QEMU to segv in zero_bss()

2020-11-24 Thread Peter Maydell
On Tue, 24 Nov 2020 at 17:18, Richard Henderson wrote: > > On 11/23/20 11:52 AM, Peter Maydell wrote: > > Somebody reported this on stackoverflow. Before I spend too > > much time thinking about how this ought to work, does anybody > > have the elfload.c intended operation in their head still? >

Re: simple aarch64 binary can cause linux-user QEMU to segv in zero_bss()

2020-11-24 Thread Richard Henderson
On 11/23/20 11:52 AM, Peter Maydell wrote: > Somebody reported this on stackoverflow. Before I spend too > much time thinking about how this ought to work, does anybody > have the elfload.c intended operation in their head still? > Bug description and analysis of what goes wrong below: > > https:/

simple aarch64 binary can cause linux-user QEMU to segv in zero_bss()

2020-11-23 Thread Peter Maydell
Somebody reported this on stackoverflow. Before I spend too much time thinking about how this ought to work, does anybody have the elfload.c intended operation in their head still? Bug description and analysis of what goes wrong below: https://stackoverflow.com/questions/64956322/alignment-require