On Wed, Oct 20, 2010 at 7:18 PM, Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk wrote:
Blue Swirl wrote:
Sadly I think that I've misunderstood something in my copy-and-paste quality patch as SPARC32 Solaris boot seems to get *less* far than it did without this patch, so my effort must have a fundamental bug somewhere...
At least %fp is not loaded and return with 'retl' is not OK if the function is not a leaf.
Ah okay - so swap retl with plain ret? And can I just use %sp like the SPARC64 version?
Yes. If you add 'save' and 'restore', then %sp can be used.