mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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:
parent
6cfd9b5251
commit
918fc54caf
4 changed files with 12 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue