[RFC v3 PATCH 6/4] Use LOAD_REG_IMMEDIATE macros

Paul Mackerras paulus at samba.org
Tue Jul 22 12:03:29 EST 2008


Mohan Kumar M writes:

@@ -714,7 +714,7 @@ _GLOBAL(enter_rtas)
         std	r6,PACASAVEDMSR(r13)
 
 	/* Setup our real return addr */	
-	LOAD_REG_ADDR(r4,.rtas_return_loc)
+	LOAD_REG_IMMEDIATE(r4,.rtas_return_loc)

If LOAD_REG_ADDR doesn't work, then how are all the TOC loads in
gcc-generated code going to work?

Paul.



More information about the Linuxppc-dev mailing list