mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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:
parent
86cd7b2d48
commit
1ddd592fd3
4 changed files with 10 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue