alpha: fix stat64 issue
authorVince Weaver <vince@csl.cornell.edu>
Tue, 29 Dec 2009 05:01:22 +0000 (00:01 -0500)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 14 Jan 2010 14:59:59 +0000 (15:59 +0100)
commit807b047166cf3beac9a6a5a5f546aa29e8222695
tree7a27ddbd79085344d643517a026e62ee2b636d49
parent3b461bd0924789681282ccb808cec171c852e861
alpha: fix stat64 issue

The stat64/fstat64 syscalls are broken for alpha linux-user.

This is because Alpha, even though it is native 64-bits, has a stat64
syscall that is different than regular stat.  This means that the
"TARGET_LONG_BITS==64" check in syscall.c isn't enough.  Below is
a patch that fixes things for me, although it might not be the cleanest
fix.

This issue keeps sixtrack and fma3d spec2k benchmarks from running.

Signed-off-by: Vince Weaver <vince@csl.cornell.edu>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/syscall.c