elfload: use abi_llong/ullong instead of target_llong/ullong

The alignment is a characteristic of the ABI, not the CPU.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Paolo Bonzini 2013-04-17 16:26:42 +02:00 committed by Edgar E. Iglesias
parent 6cfd9b5251
commit 918fc54caf
4 changed files with 12 additions and 8 deletions

View file

@ -102,8 +102,8 @@ enum {
#endif
#ifdef TARGET_ABI_MIPSN32
typedef target_ulong target_elf_greg_t;
#define tswapreg(ptr) tswapl(ptr)
typedef abi_ullong target_elf_greg_t;
#define tswapreg(ptr) tswap64(ptr)
#else
typedef abi_ulong target_elf_greg_t;
#define tswapreg(ptr) tswapal(ptr)