Commit 3f53d546ebd08c4bddd1e89301f6858a7d5426fd
1 parent
df357f0e
Fix target_siginfo ordering for MIPS.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7192 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
6 additions
and
0 deletions
linux-user/syscall_defs.h
... | ... | @@ -504,9 +504,15 @@ typedef struct { |
504 | 504 | #define TARGET_SI_PAD_SIZE ((TARGET_SI_MAX_SIZE/sizeof(int)) - 3) |
505 | 505 | |
506 | 506 | typedef struct target_siginfo { |
507 | +#ifdef TARGET_MIPS | |
508 | + int si_signo; | |
509 | + int si_code; | |
510 | + int si_errno; | |
511 | +#else | |
507 | 512 | int si_signo; |
508 | 513 | int si_errno; |
509 | 514 | int si_code; |
515 | +#endif | |
510 | 516 | |
511 | 517 | union { |
512 | 518 | int _pad[TARGET_SI_PAD_SIZE]; | ... | ... |