qemu/linux-user
Richard Henderson 658f2dc970 linux-user: Rewrite __get_user/__put_user with __builtin_choose_expr
The previous formuation with multiple assignments to __typeof(*hptr) falls
down when hptr is qualified const.  E.g. with const struct S *p, p->f is
also qualified const.

With this formulation, there's no assignment to any local variable.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2013-01-12 12:24:47 +00:00
..
alpha alpha-linux-user: Fix sigaltstack structure definition 2012-10-12 14:01:04 +03:00
arm fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
cris janitor: add guards to headers 2012-12-19 08:31:31 +01:00
i386 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
m68k linux-user: Don't overuse CPUState 2012-03-14 22:20:24 +01:00
microblaze janitor: add guards to headers 2012-12-19 08:31:31 +01:00
mips linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
mips64 linux-user: Define TARGET_QEMU_ESIGRETURN for mips64 2012-02-02 17:51:21 +02:00
mipsn32 linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 2012-02-02 17:51:20 +02:00
openrisc target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00
ppc linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
s390x linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
sh4 linux-user: correct syscall 123 on sh4 2011-07-13 17:11:37 +03:00
sparc linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
sparc64 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
unicore32 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
x86_64 Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
cpu-uname.c target-arm: Remove ARM_CPUID_* macros 2012-06-20 12:13:28 +00:00
cpu-uname.h
elfload.c build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
errno_defs.h
flat.h
flatload.c flatload: fix bss clearing 2012-08-14 20:26:55 +01:00
ioctls.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
linux_loop.h
linuxload.c linux-user: If loading fails, print error as string, not number 2012-10-12 14:25:56 +03:00
m68k-sim.c linux-user: Fix typo m86k -> m68k 2010-10-05 13:53:56 -05:00
main.c linux-user: fix mips 32-on-64 prealloc case 2013-01-08 11:48:39 +01:00
Makefile.objs build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02:00
mmap.c linux-user: Allocate the right amount of space for non-fixed file maps 2012-08-04 09:37:49 -07:00
qemu.h linux-user: Rewrite __get_user/__put_user with __builtin_choose_expr 2013-01-12 12:24:47 +00:00
signal.c linux-user: Fix siginfo handling 2012-10-12 14:01:49 +03:00
socket.h
strace.c linux-user: Handle O_SYNC, O_NOATIME, O_CLOEXEC, O_PATH 2012-08-04 09:37:49 -07:00
strace.list linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
syscall_defs.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
syscall_types.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
syscall.c linux-user/syscall.c: remove forward declarations 2013-01-04 14:38:05 +01:00
target_flat.h linux-user/FLAT: allow targets to override FLAT processing 2011-02-09 10:33:54 +02:00
uaccess.c
vm86.c linux-user: fix abi_(u)long, target_ulong mismatch 2011-10-27 14:42:16 +03:00