Commit 21ebeb23b3a0065311433b4f3d07947429c7a6dc

Authored by Edgar E. Iglesias
1 parent a139aa17

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 <edgar.iglesias@gmail.com>
Showing 1 changed file with 3 additions and 2 deletions
linux-user/syscall_defs.h
... ... @@ -1231,10 +1231,11 @@ struct __attribute__((__packed__)) target_stat64 {
1231 1231 uint32_t st_uid;
1232 1232 uint32_t st_gid;
1233 1233 uint64_t st_rdev;
1234   - uint32_t __pad2;
  1234 + uint64_t __pad1;
1235 1235  
1236 1236 int64_t st_size;
1237   - int32_t st_blksize;
  1237 + int32_t st_blksize;
  1238 + uint32_t __pad2;
1238 1239 int64_t st_blocks; /* Number 512-byte blocks allocated. */
1239 1240  
1240 1241 int target_st_atime;
... ...