qemu/linux-user
malc a6cc84f49c Kludge to support linux-user on a PPC64
Some headers (e.g. signal.h) include asm/elf.h and the chaos of macro
redefinitions ensues, this kludge avoids it.

Alternative way to fight that would be to change all ELF_XXX and some
other definitions to QEMU_ELF_XXX or something to that effect.

This patch concludes the quest for enabling linux-user on PPC64,
however, since qemu_mallocz uses mmap and, at least on this system,
mmap tends to return values that do not fit into 32bit, emulation for
32bit targets does not work without some hacks wich are to disgusting
to commit (and as `man mmap' tells us MAP_32BIT is only implemented on
X86_64)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5037 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-20 22:39:28 +00:00
..
alpha Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
arm Implement ARM magic kernel page and TLS register. 2008-05-29 00:20:44 +00:00
cris Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
i386 i386 TLS support 2007-11-14 15:18:40 +00:00
m68k m68k missing get_sp_from_cpustate(), by Thayne Harbaugh. 2007-12-18 01:46:39 +00:00
mips More efficient target register / TC accesses. 2008-06-27 10:02:35 +00:00
mips64 More efficient target register / TC accesses. 2008-06-27 10:02:35 +00:00
mipsn32 More efficient target register / TC accesses. 2008-06-27 10:02:35 +00:00
ppc Various linux-user structures and definitions fixes for PowerPC targets. 2007-12-10 08:24:59 +00:00
sh4 SH4: Signal handling for the user space emulator, by Magnus Damm. 2007-12-02 06:31:25 +00:00
sparc Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
sparc64 Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
x86_64 x86_64 linux user emulation 2007-11-14 18:08:56 +00:00
elfload32.c Remove unwanted executable properties 2008-04-06 06:04:39 +00:00
elfload.c Kludge to support linux-user on a PPC64 2008-08-20 22:39:28 +00:00
errno_defs.h linux-user errno mapping, by Stuart Anderson. 2007-06-01 12:09:19 +00:00
flat.h Support for 32 bit ABI on 64 bit targets (only enabled Sparc64) 2007-10-14 16:27:31 +00:00
flatload.c Fix a bunch of type mismatch-related warnings (Jan Kiszka). 2008-07-16 12:13:52 +00:00
ioctls.h Add loop device ioctls (Gary Thomas). 2008-04-26 14:44:49 +00:00
linux_loop.h Fix build failure with old kernel headers (loop.h is incompatible with 2008-05-23 16:06:43 +00:00
linuxload.c suppressed tgetx and tputx (initial patch by Thayne Harbaugh) 2007-11-16 10:46:05 +00:00
m68k-sim.c Fix a bunch of type mismatch-related warnings (Jan Kiszka). 2008-07-16 12:13:52 +00:00
main.c Fix tswap size 2008-08-20 22:39:26 +00:00
mmap.c Prevent guest reusing host memory allocations. 2008-06-09 13:47:45 +00:00
path.c Spelling fixes, by Stefan Weil. 2008-06-03 19:51:57 +00:00
qemu.h Multithreaded locking fixes. 2008-06-07 20:50:51 +00:00
signal.c Fix some warnings that would be generated by gcc -Wmissing-prototypes 2008-08-17 20:26:25 +00:00
socket.h Various linux-user structures and definitions fixes for PowerPC targets. 2007-12-10 08:24:59 +00:00
strace.c Strace fallback for unknown syscalls. 2008-05-29 13:49:09 +00:00
strace.list Add new files fir strace support, missed in earlier commit. 2007-11-01 00:13:36 +00:00
syscall_defs.h linux-user: Fix target_statfs[64] on 64-bit hosts 2008-07-19 09:38:52 +00:00
syscall_types.h Add loop device ioctls (Gary Thomas). 2008-04-26 14:44:49 +00:00
syscall.c Fix some warnings that would be generated by gcc -Wmissing-prototypes 2008-08-17 20:26:25 +00:00
uaccess.c added lock_user() in target_strlen() 2007-11-14 10:17:35 +00:00
vm86.c 64 bit compilation fixes 2007-11-11 22:22:34 +00:00