qemu-e2k/linux-user/arm
Peter Maydell 167e4cdc29 linux-user: arm: Remove ARM_cpsr and similar #defines
The #defines of ARM_cpsr and friends in linux-user/arm/target-syscall.h
can clash with versions in the system headers if building on an
ARM or AArch64 build (though this seems to be dependent on the version
of the system headers). The QEMU defines are not very useful (it's
not clear that they're intended for use with the target_pt_regs struct
rather than (say) the CPUARMState structure) and we only use them in one
function in elfload.c anyway. So just remove the #defines and directly
access regs->uregs[].

Reported-by: Christopher Covington <cov@codeaurora.org>
Tested-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2016-05-27 14:50:39 +03:00
..
nwfpe target-arm: Add write_type argument to cpsr_write() 2016-02-26 15:09:41 +00:00
syscall_nr.h Add missing syscall nrs. according to more recent Linux kernels 2016-01-11 11:39:28 +03:00
target_cpu.h
target_signal.h linux-user: Support for restarting system calls for ARM targets 2016-05-27 14:49:49 +03:00
target_structs.h
target_syscall.h linux-user: arm: Remove ARM_cpsr and similar #defines 2016-05-27 14:50:39 +03:00
termbits.h