commit | 20d155bc902f41c5b354937e730ad85b43614ae9 | [log] [tgz] |
---|---|---|
author | Stefan Weil <sw@weilnetz.de> | Wed Oct 30 22:52:24 2013 +0100 |
committer | Stefan Weil <sw@weilnetz.de> | Thu Nov 07 07:02:44 2013 +0100 |
tree | b9de09c550bb75d95df444fffd7eb82bc88ba5de | |
parent | bdf523e6923f1e667055e947e71fc600549cefae [diff] |
linux-user: Fix stat64 syscall for SPARC64 Some targets use a stat64 structure for the stat64 syscall while others use a stat structure. SPARC64 used the wrong kind. Instead of extending the conditional compilation in syscall.c, now a macro TARGET_HAS_STRUCT_STAT64 is defined whenever a target has a target_stat64. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Erik de Castro Lopo <erikd@mega-nerd.com>