qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6450] R13 is reserved for small data area pointer by SVR4 PPC ABI
@ 2009-01-26 18:21 malc
  0 siblings, 0 replies; only message in thread
From: malc @ 2009-01-26 18:21 UTC (permalink / raw)
  To: qemu-devel

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);
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-26 18:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 18:21 [Qemu-devel] [6450] R13 is reserved for small data area pointer by SVR4 PPC ABI malc

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).