[ Home ]
SBCL Internals

The pages on this CLiki-driven site can be edited by anybody at any time. No warranty of any kind can therefore be made; any implied warranties of merchantability or fitness for a particular purpose are expressly disclaimed
[ Home ] [ Recent Changes ] [ About CLiki ] [ Text Formatting ]

On the non-x86 ports (at least PowerPC and Sparc, I haven't looked elsewhere), the LRA is an other-pointer, i.e. it doesn't have a lowtag of its own. That means it needs to point to a header word, which is the Return PC Header. So when a label is emitted that will be used as LRA, it in fact points to a header word (something like 0xXXa6 ). The instruction to return to is the next word, and XX is the number of words to the beginning of the code object, shifted 16 bits.

This page is linked from: Calling Convention  

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively