Compile loader only once
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 20 Sep 2009 14:58:02 +0000 (14:58 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 20 Sep 2009 14:58:02 +0000 (14:58 +0000)
commit81a469982ed579f6fa129c90446b034756134ed0
tree45515350fdf7b5322658095beec591565a78506d
parent4440696f2985e6e5430056e4054c169353cffff2
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>
36 files changed:
Makefile.hw
Makefile.target
disas.h
hw/an5206.c
hw/arm_boot.c
hw/armv7m.c
hw/axis_dev88.c
hw/dummy_m68k.c
hw/elf_ops.h [moved from elf_ops.h with 93% similarity]
hw/etraxfs.c
hw/loader.c [moved from loader.c with 90% similarity]
hw/loader.h [new file with mode: 0644]
hw/mcf5208.c
hw/mips_jazz.c
hw/mips_malta.c
hw/mips_mipssim.c
hw/mips_r4k.c
hw/nseries.c
hw/palm.c
hw/pc.c
hw/petalogix_s3adsp1800_mmu.c
hw/ppc.c
hw/ppc405_boards.c
hw/ppc440_bamboo.c
hw/ppc_newworld.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/ppce500_mpc8544ds.c
hw/r2d.c
hw/shix.c
hw/smbios.c
hw/sun4m.c
hw/sun4u.c
hw/tc58128.c
linux-user/elfload.c
sysemu.h