Fix stat64 structure on 32-bit X86_SE
authorVince Weaver <vince@csl.cornell.edu>
Tue, 20 Oct 2009 19:15:37 +0000 (15:15 -0400)
committerVince Weaver <vince@csl.cornell.edu>
Tue, 20 Oct 2009 19:15:37 +0000 (15:15 -0400)
commit776f9405fa0e58ea5ca0354cd233ebb2603bddbf
tree3160e90596d9ea0e9fbf08bfea8099ddcd9ae798
parent2b232e11a8395c90e792fe743fc681bb3abfb16f
Fix stat64 structure on 32-bit X86_SE

The st_size entry was in the wrong place
 (see linux-2.6.29/arch/x86/include/asm/stat.h )

Also, the packed attribute is needed when compiling on a
64-bit machine, otherwise gcc adds extra padding that
break the layout of the structure.
src/arch/x86/linux/linux.hh