Re: [Qemu-devel] [PATCH qemu REPOST] spapr/rtas: Force big endian compile for rtas

2019-06-12 Thread David Gibson
On Wed, Jun 12, 2019 at 12:07:23PM +1000, Alexey Kardashevskiy wrote: > At the moment the rtas's Makefile uses generic QEMU rules which means > that when QEMU is compiled on a little endian system, the spapr-rtas.bin > is compiled as little endian too which is incorrect as it is always > executed

[Qemu-devel] [PATCH qemu REPOST] spapr/rtas: Force big endian compile for rtas

2019-06-11 Thread Alexey Kardashevskiy
At the moment the rtas's Makefile uses generic QEMU rules which means that when QEMU is compiled on a little endian system, the spapr-rtas.bin is compiled as little endian too which is incorrect as it is always executed in big endian mode. This enforces -mbig by defining %.o:%.S rule as