Commit 91bd8ce9b10123c81962614f3df1b713e665c3e2
1 parent
38d840e6
target-sh4: Fix struct target_stat64 for 64-bit host
Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6482 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
linux-user/syscall_defs.h
... | ... | @@ -1475,7 +1475,7 @@ struct target_stat { |
1475 | 1475 | /* This matches struct stat64 in glibc2.1, hence the absolutely |
1476 | 1476 | * insane amounts of padding around dev_t's. |
1477 | 1477 | */ |
1478 | -struct target_stat64 { | |
1478 | +struct __attribute__((__packed__)) target_stat64 { | |
1479 | 1479 | unsigned long long st_dev; |
1480 | 1480 | unsigned char __pad0[4]; |
1481 | 1481 | ... | ... |