From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbIrk-0000kv-GK for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:11:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbIri-0000io-UE for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:11:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbIri-0000ib-E3 for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:11:14 -0400 Received: from [204.133.123.27] (helo=mail.chez-thomas.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbIri-0000mu-6W for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:11:14 -0400 Message-ID: <47DEA62F.9030206@mlbassoc.com> Date: Mon, 17 Mar 2008 11:11:11 -0600 From: Gary Thomas MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070907040900050905080300" Subject: [Qemu-devel] [PATCH] Fix stat64 on PPC Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------070907040900050905080300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Somehow, post 0.9.1, the stat64 structure on PPC got broken. The attached patch fixes it. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ --------------070907040900050905080300 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Index: linux-user/syscall_defs.h =================================================================== --- linux-user/syscall_defs.h (revision 4115) +++ linux-user/syscall_defs.h (revision 4116) @@ -1131,18 +1131,19 @@ unsigned int st_uid; unsigned int st_gid; unsigned long long st_rdev; - unsigned short pad0; - long long st_size; - int st_blksize; - long long st_blocks; /* Number 512-byte blocks allocated. */ - int target_st_atime; - unsigned int target_st_atime_nsec; - int target_st_mtime; - unsigned int target_st_mtime_nsec; - int target_st_ctime; - unsigned int target_st_ctime_nsec; - unsigned int __unused4; - unsigned int __unused5; + long long pad0; + long long st_size; + target_ulong st_blksize; + target_ulong pad1; + long long st_blocks; /* Number 512-byte blocks allocated. */ + target_ulong target_st_atime; + target_ulong target_st_atime_nsec; + target_ulong target_st_mtime; + target_ulong target_st_mtime_nsec; + target_ulong target_st_ctime; + target_ulong target_st_ctime_nsec; + target_ulong __unused4; + target_ulong __unused5; }; #elif defined(TARGET_M68K) --------------070907040900050905080300--