* [Qemu-devel] [5711] Rename misnamed BACK_CHAIN_OFFSET to LR_OFFSET
@ 2008-11-12 20:36 malc
0 siblings, 0 replies; only message in thread
From: malc @ 2008-11-12 20:36 UTC (permalink / raw)
To: qemu-devel
Revision: 5711
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5711
Author: malc
Date: 2008-11-12 20:36:24 +0000 (Wed, 12 Nov 2008)
Log Message:
-----------
Rename misnamed BACK_CHAIN_OFFSET to LR_OFFSET
Modified Paths:
--------------
trunk/tcg/ppc/tcg-target.c
Modified: trunk/tcg/ppc/tcg-target.c
===================================================================
--- trunk/tcg/ppc/tcg-target.c 2008-11-12 20:36:21 UTC (rev 5710)
+++ trunk/tcg/ppc/tcg-target.c 2008-11-12 20:36:24 UTC (rev 5711)
@@ -26,10 +26,10 @@
#ifdef __APPLE__
#define LINKAGE_AREA_SIZE 24
-#define BACK_CHAIN_OFFSET 8
+#define LR_OFFSET 8
#else
#define LINKAGE_AREA_SIZE 8
-#define BACK_CHAIN_OFFSET 4
+#define LR_OFFSET 4
#endif
#define FAST_PATH
@@ -845,7 +845,7 @@
| (i * 4 + LINKAGE_AREA_SIZE + TCG_STATIC_CALL_ARGS_SIZE)
)
);
- tcg_out32 (s, STW | RS (0) | RA (1) | (frame_size + BACK_CHAIN_OFFSET));
+ tcg_out32 (s, STW | RS (0) | RA (1) | (frame_size + LR_OFFSET));
tcg_out32 (s, MTSPR | RS (3) | CTR);
tcg_out32 (s, BCCTR | BO_ALWAYS);
@@ -858,7 +858,7 @@
| (i * 4 + LINKAGE_AREA_SIZE + TCG_STATIC_CALL_ARGS_SIZE)
)
);
- tcg_out32 (s, LWZ | RT (0) | RA (1) | (frame_size + BACK_CHAIN_OFFSET));
+ tcg_out32 (s, LWZ | RT (0) | RA (1) | (frame_size + LR_OFFSET));
tcg_out32 (s, MTSPR | RS (0) | LR);
tcg_out32 (s, ADDI | RT (1) | RA (1) | frame_size);
tcg_out32 (s, BCLR | BO_ALWAYS);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-12 20:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-12 20:36 [Qemu-devel] [5711] Rename misnamed BACK_CHAIN_OFFSET to LR_OFFSET 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).