Problems with macros LOAD_REG_ADDR and LOAD_REG_IMMEDIATE

Mitesh R. Meswani mmeswani at miners.utep.edu
Tue Sep 23 04:16:50 EST 2008


I am having issues using LOAD_REG_ADDR and LOAD_REG_IMMEDIATE macros on a ppc64 kernel which I have tried on both 2.6.16 and 2.6.17 kernels. 

I noticed that these macros by default loading value 0 instead of the actual address. Is this a bug of the compiler that can be fixed, I noticed when I did objdump for head_64.S on the following function 
_GLOBAL(pSeries_secondary_smp_init) for the following instruction : LOAD_REG_IMMEDIATE(r13, paca)   /* Get base vaddr of paca array  */    I noticed this in some calls, whereas some calls seem to get symbol address.   Thanks *******************************************************************************        
Mitesh Meswani
"Success is a journey, Not a Destination "
Email : miteshnet at hotmail.com
******************************************************************************

************************************************
Mitesh R. Meswani
Research Associate
AHPCRC Research Group
Ph.D. Candidate
Department of Computer Science
University of Texas at El Paso
Tel: 915 747 6433 (O)
Email: mmeswani at miners.utep.edu
************************************************
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080922/1ce05252/attachment.htm>


More information about the Linuxppc-dev mailing list