xemu/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 linux-user: Access correct register for get/set_tls syscalls on ARM TZ CPUs 2015-03-16 12:30:47 +00:00
target_signal.h linux-user: Support for restarting system calls for ARM targets 2016-05-27 14:49:49 +03:00
target_structs.h linux-user: create target_structs header to place ipc_perm and shmid_ds 2013-11-29 11:42:04 +02:00
target_syscall.h linux-user: arm: Remove ARM_cpsr and similar #defines 2016-05-27 14:50:39 +03:00
termbits.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00