qemu/linux-user
Blue Swirl ca20cf32ab Compile loader only once
Callers must pass ELF machine, byte swapping and symbol LSB clearing
information to ELF loader. A.out loader needs page size information, pass
that too as a parameter.

Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw.

Adjust callers. Also use target_phys_addr_t instead of target_ulong for
addresses: loader addresses aren't virtual.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-20 14:58:02 +00:00
..
alpha Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
arm rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN 2009-07-27 14:09:21 -05:00
cris CRIS: Add a bunch of syscall numbers. 2009-01-07 19:47:53 +00:00
i386 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
m68k linux-user: update syscall list 2009-06-16 16:56:29 +03:00
microblaze microblaze: Add syscall, signal and termbits defs for linux-user. 2009-05-26 21:10:21 +02:00
mips linux-user: update syscall list 2009-06-16 16:56:29 +03:00
mips64 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
mipsn32 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
ppc Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
sh4 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
sparc linux-user: update syscall list 2009-06-16 16:56:29 +03:00
sparc64 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
x86_64 linux-user: update syscall list 2009-06-16 16:56:29 +03:00
elfload32.c Remove unwanted executable properties 2008-04-06 06:04:39 +00:00
elfload.c Compile loader only once 2009-09-20 14:58:02 +00:00
errno_defs.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +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 Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
ioctls.h Add MTIOCTOP, MTIOCGET and MTIOCPOS ioctls (Kirill Shutemov). 2008-09-20 03:03:09 +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 More NULL pointer fixes 2009-08-01 10:13:20 +00:00
m68k-sim.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
main.c Revert "Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca" 2009-09-13 19:38:48 +00:00
mmap.c Fix Sparse warnings: add "static" 2009-09-05 10:14:07 +00:00
qemu-types.h linux-user: Move abi_* typedefs into qemu-types.h 2008-12-08 18:12:04 +00:00
qemu.h Fix sys-queue.h conflict for good 2009-09-12 07:36:22 +00:00
signal.c m68k, linux-user: add setup_rt_frame 2009-08-25 17:15:34 +03:00
socket.h Various linux-user structures and definitions fixes for PowerPC targets. 2007-12-10 08:24:59 +00:00
strace.c linux-user: strace now handles guest stringscorrectly [v2] 2009-06-19 02:51:47 +04:00
strace.list linux-user: strace now handles guest strings correctly [v2] 2009-06-16 16:56:28 +03:00
syscall_defs.h linux-user: fcntl fixes for LTP 2009-08-25 17:15:34 +03:00
syscall_types.h Add MTIOCTOP, MTIOCGET and MTIOCPOS ioctls (Kirill Shutemov). 2008-09-20 03:03:09 +00:00
syscall.c F_DUPFD_CLOEXEC is not universally available 2009-09-10 20:27:36 +04:00
uaccess.c Fix missing strnlen problems 2009-07-01 18:24:44 +00:00
vm86.c Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00