diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-17 16:26:40 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-04-18 14:12:31 +0200 |
commit | f8fd4fc4cd9138576cb1cec15c6ac9416e51eeb8 (patch) | |
tree | ed70e161b96c9a9ff16bd1fae8265c023364be70 /linux-user | |
parent | 1ddd592fd3b00227a61d5cd890c51b51847a415b (diff) | |
download | qemu-f8fd4fc4cd9138576cb1cec15c6ac9416e51eeb8.zip qemu-f8fd4fc4cd9138576cb1cec15c6ac9416e51eeb8.tar.gz qemu-f8fd4fc4cd9138576cb1cec15c6ac9416e51eeb8.tar.bz2 |
elfload: use abi_int/uint instead of target_int/uint
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>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/elfload.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 5eca934..14a8ecf 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -113,10 +113,10 @@ typedef abi_ulong target_elf_greg_t; typedef abi_ushort target_uid_t; typedef abi_ushort target_gid_t; #else -typedef target_uint target_uid_t; -typedef target_uint target_gid_t; +typedef abi_uint target_uid_t; +typedef abi_uint target_gid_t; #endif -typedef target_int target_pid_t; +typedef abi_int target_pid_t; #ifdef TARGET_I386 @@ -2109,9 +2109,9 @@ struct memelfnote { }; struct target_elf_siginfo { - target_int si_signo; /* signal number */ - target_int si_code; /* extra code */ - target_int si_errno; /* errno */ + abi_int si_signo; /* signal number */ + abi_int si_code; /* extra code */ + abi_int si_errno; /* errno */ }; struct target_elf_prstatus { @@ -2128,7 +2128,7 @@ struct target_elf_prstatus { struct target_timeval pr_cutime; /* XXX Cumulative user time */ struct target_timeval pr_cstime; /* XXX Cumulative system time */ target_elf_gregset_t pr_reg; /* GP registers */ - target_int pr_fpvalid; /* XXX */ + abi_int pr_fpvalid; /* XXX */ }; #define ELF_PRARGSZ (80) /* Number of chars for args */ |