On 30 May 2014 07:46, Paolo Bonzini wrote:
> Il 29/05/2014 22:38, Peter Maydell ha scritto:
>
>>> > +#ifdef TARGET_WORDS_BIGENDIAN
>>> > +cpsr |= CPSR_E;
>>
>> This is wrong for BE32, where CPSR_E doesn't exist and both code
>> and data accesses are big-endian.
>>
>
> Is it okay for simplicity
Il 29/05/2014 22:38, Peter Maydell ha scritto:
> +#ifdef TARGET_WORDS_BIGENDIAN
> +cpsr |= CPSR_E;
This is wrong for BE32, where CPSR_E doesn't exist and both code
and data accesses are big-endian.
Is it okay for simplicity to treat CPSR.E = 1 as "big-endian code,
little-endian data" in
On 29 May 2014 20:46, Paolo Bonzini wrote:
> Set it on startup and in signal handler frames.
>
> Signed-off-by: Paolo Bonzini
> ---
> linux-user/main.c | 1 +
> linux-user/signal.c | 5 +
> 2 files changed, 6 insertions(+)
>
> diff --git a/linux-user/main.c b/linux-user/main.c
> index 8821
Set it on startup and in signal handler frames.
Signed-off-by: Paolo Bonzini
---
linux-user/main.c | 1 +
linux-user/signal.c | 5 +
2 files changed, 6 insertions(+)
diff --git a/linux-user/main.c b/linux-user/main.c
index 882186e..2a04446 100644
--- a/linux-user/main.c
+++ b/linux-user/m