From: malc <av1474@comtv.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6450] R13 is reserved for small data area pointer by SVR4 PPC ABI
Date: Mon, 26 Jan 2009 18:21:55 +0000 [thread overview]
Message-ID: <E1LRW5r-0004XW-Gr@cvs.savannah.gnu.org> (raw)
Revision: 6450
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6450
Author: malc
Date: 2009-01-26 18:21:53 +0000 (Mon, 26 Jan 2009)
Log Message:
-----------
R13 is reserved for small data area pointer by SVR4 PPC ABI
Modified Paths:
--------------
trunk/tcg/ppc/tcg-target.c
Modified: trunk/tcg/ppc/tcg-target.c
===================================================================
--- trunk/tcg/ppc/tcg-target.c 2009-01-26 17:53:04 UTC (rev 6449)
+++ trunk/tcg/ppc/tcg-target.c 2009-01-26 18:21:53 UTC (rev 6450)
@@ -109,7 +109,9 @@
TCG_REG_R11,
#endif
TCG_REG_R12,
+#ifndef __linux__
TCG_REG_R13,
+#endif
TCG_REG_R0,
TCG_REG_R1,
TCG_REG_R2,
@@ -1528,6 +1530,9 @@
#ifndef __APPLE__
tcg_regset_set_reg(s->reserved_regs, TCG_REG_R2);
#endif
+#ifdef __linux__
+ tcg_regset_set_reg(s->reserved_regs, TCG_REG_R13);
+#endif
tcg_add_target_add_op_defs(ppc_op_defs);
}
reply other threads:[~2009-01-26 18:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1LRW5r-0004XW-Gr@cvs.savannah.gnu.org \
--to=av1474@comtv.ru \
--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).