Re: Determining the SP_OFFSET
Dalibor Topic <[email protected]> Thu, 21 Feb 2008 12:59:16 +0100
| Newsgroups | gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
Sivaramakrishnan KC schrieb: > Hi all, > > I am porting kaffe to a new platform. How do I determine the value for > SP_OFFSET macro (defined in md.h)? Is there any other way to find it > out other than executing <kaffe>/developers/sp_offset.c file? Is it > the same as the STACK_POINTER_OFFSET definition in the target machine > definition for GCC? Hi, in the developers directory, there is an sp_offset.c program. Compile it and run it, and it should give you the value. cheers, dalibor topic