From 918fc54caff20b1810c633a63bf6d6c5499bd5dd Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 17 Apr 2013 16:26:42 +0200 Subject: 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 Signed-off-by: Edgar E. Iglesias --- linux-user/elfload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-user/elfload.c') diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 14a8ecf6bf..979b57c7cf 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -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) -- cgit v1.2.1