diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-17 16:26:39 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-04-18 14:12:31 +0200 |
commit | 1ddd592fd3b00227a61d5cd890c51b51847a415b (patch) | |
tree | c381d0de55867bfae1d09132679678512b7131c2 /linux-user | |
parent | 86cd7b2d486b6c80df41f48dffbdcc055a85faa1 (diff) |
elfload: use abi_short/ushort instead of target_short/ushort
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index bc2e9f139f..5eca934c33 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -110,8 +110,8 @@ typedef abi_ulong target_elf_greg_t; #endif #ifdef USE_UID16 -typedef target_ushort target_uid_t; -typedef target_ushort target_gid_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; @@ -2116,7 +2116,7 @@ struct target_elf_siginfo { struct target_elf_prstatus { struct target_elf_siginfo pr_info; /* Info associated with signal */ - target_short pr_cursig; /* Current signal */ + abi_short pr_cursig; /* Current signal */ abi_ulong pr_sigpend; /* XXX */ abi_ulong pr_sighold; /* XXX */ target_pid_t pr_pid; |