qemu-e2k/linux-user
Paolo Bonzini f9fd40ebe4 target-arm: implement SCTLR.B, drop bswap_code
bswap_code is a CPU property of sorts ("is the iside endianness the
opposite way round to TARGET_WORDS_BIGENDIAN?") but it is not the
actual CPU state involved here which is SCTLR.B (set for BE32
binaries, clear for BE8).

Replace bswap_code with SCTLR.B, and pass that to arm_ld*_code.
The next patches will make data fetches honor both SCTLR.B and
CPSR.E appropriately.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[PC changes:
 * rebased on master (Jan 2016)
 * s/TARGET_USER_ONLY/CONFIG_USER_ONLY
 * Use bswap_code() for disas_set_info() instead of raw sctlr_b
]
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-03-04 11:30:19 +00:00
..
aarch64 linux-user: remove unavailable syscalls from aarch64 2016-02-23 21:25:10 +02:00
alpha linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
arm target-arm: Add write_type argument to cpsr_write() 2016-02-26 15:09:41 +00:00
cris linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
i386 linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
m68k linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
microblaze linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
mips build: [linux-user] Rename "syscall.h" to "target_syscall.h" in target directories 2016-02-23 21:25:09 +02:00
mips64 linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
openrisc linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
ppc linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
s390x linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
sh4 linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
sparc linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
sparc64 linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
tilegx linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
unicore32 build: [linux-user] Rename "syscall.h" to "target_syscall.h" in target directories 2016-02-23 21:25:09 +02:00
x86_64 linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
elfload.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
errno_defs.h
flat.h
flatload.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
ioctls.h linux-user: Convert blkpg to use a special subop handler 2014-10-06 21:52:45 +03:00
linux_loop.h
linuxload.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
m68k-sim.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
main.c target-arm: implement SCTLR.B, drop bswap_code 2016-03-04 11:30:19 +00:00
Makefile.objs linux-user: rename cpu-uname -> uname 2014-05-02 21:59:36 +03:00
mmap.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
qemu.h build: [linux-user] Rename "syscall.h" to "target_syscall.h" in target directories 2016-02-23 21:25:09 +02:00
signal.c linux-user: arm: fix coding style for some linux-user signal functions 2016-03-04 11:30:18 +00:00
socket.h linux-user: support SO_PASSSEC setsockopt option 2014-06-29 14:19:59 +03:00
strace.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
strace.list linux-user: add setns and unshare 2014-08-22 15:06:34 +03:00
syscall_defs.h linux-user: Add SOCKOP_sendmmsg and SOCKOP_recvmmsg socket call, wire them up. 2016-01-11 14:54:03 +02:00
syscall_types.h linux-user: Convert blkpg to use a special subop handler 2014-10-06 21:52:45 +03:00
syscall.c linux-user: add getrandom() syscall 2016-02-24 15:22:15 +02:00
target_flat.h linux-user/FLAT: allow targets to override FLAT processing 2011-02-09 10:33:54 +02:00
uaccess.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
uname.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
uname.h linux-user: move uname functions to uname.c 2014-05-02 21:59:36 +03:00
vm86.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00