[Qemu-devel] Handling of setend instruction for ARM
From:
Rajat Goyal
Subject:
[Qemu-devel] Handling of setend instruction for ARM
Date:
Tue, 24 Apr 2012 18:04:02 +0100
The TCG translation for the ARM setend instruction for user level binaries is empty. A binary which just prints "hello world" but inverts the endianness to big endian at the beginning of main gives a segmentation fault on native ARM but prints out hello world on qemu-arm.
So does QEMU continue under the little endian setting even after encountering a setend be instruction? And if so, isn't it incorrect?