From: Edgar E. Iglesias Date: Tue, 23 Jun 2009 17:19:33 +0000 (+0200) Subject: microblaze: Support the latest mmu-kernel stat64 ABI. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=21ebeb23b3a0065311433b4f3d07947429c7a6dc;p=qemu.git microblaze: Support the latest mmu-kernel stat64 ABI. Microblaze recently changed their ABI. The new is not backwards compatible and there doesn't seem to be a way to distinguish old/new binaries. Let's support the latest ABI for now and hope someone figures out a way to hande both ABI's later. Signed-off-by: Edgar E. Iglesias --- diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index acb781f4b6..ac5dbc5be7 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -1231,10 +1231,11 @@ struct __attribute__((__packed__)) target_stat64 { uint32_t st_uid; uint32_t st_gid; uint64_t st_rdev; - uint32_t __pad2; + uint64_t __pad1; int64_t st_size; - int32_t st_blksize; + int32_t st_blksize; + uint32_t __pad2; int64_t st_blocks; /* Number 512-byte blocks allocated. */ int target_st_atime;