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>
This commit is contained in:
Paolo Bonzini 2013-04-17 16:26:39 +02:00 committed by Edgar E. Iglesias
parent 86cd7b2d48
commit 1ddd592fd3
4 changed files with 10 additions and 7 deletions

View file

@ -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;