From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] amd64 compile
Date: Sun, 25 Apr 2004 20:40:35 +0200 [thread overview]
Message-ID: <1082918435.14634.11.camel@rapid> (raw)
In-Reply-To: <1082917248.14652.7.camel@rapid>
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
... yet another amd64 fix:
this one makes PPC binutils run fine on my amd64. 64 bits endianness
fix...
There may be more of this kind of bugs...
--
J. Mayer <l_indien@magic.fr>
Never organized
[-- Attachment #2: syscall.c.diff --]
[-- Type: text/x-patch, Size: 772 bytes --]
Index: linux-user/syscall.c
===================================================================
RCS file: /cvsroot/qemu/qemu/linux-user/syscall.c,v
retrieving revision 1.47
diff -u -d -w -B -b -d -p -r1.47 syscall.c
--- linux-user/syscall.c 12 Apr 2004 20:39:29 -0000 1.47
+++ linux-user/syscall.c 25 Apr 2004 18:31:36 -0000
@@ -2403,7 +2403,12 @@ long do_syscall(void *cpu_env, int num,
case TARGET_NR__llseek:
{
int64_t res;
+#if defined (__x86_64__)
+ /* XXX: may be needed by other 64 bits targets ? */
+ ret = get_errno(_llseek(arg1, arg3, arg2, &res, arg5));
+#else
ret = get_errno(_llseek(arg1, arg2, arg3, &res, arg5));
+#endif
*(int64_t *)arg4 = tswap64(res);
}
break;
next prev parent reply other threads:[~2004-04-25 18:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-25 15:32 [Qemu-devel] amd64 compile Martin Garton
2004-04-25 16:07 ` J. Mayer
2004-04-25 16:23 ` Martin Garton
2004-04-25 18:20 ` J. Mayer
2004-04-25 18:40 ` J. Mayer [this message]
2004-04-25 19:02 ` Fabrice Bellard
2004-04-25 19:46 ` J. Mayer
2004-04-25 17:46 ` [Qemu-devel] " Gabriel Ebner
2004-04-25 18:09 ` J. Mayer
2004-04-25 18:38 ` [Qemu-devel] " Gabriel Ebner
2004-04-25 18:52 ` J. Mayer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1082918435.14634.11.camel@rapid \
--to=l_indien@magic.fr \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).