[kaffe] Porting KAFFE on XScale PXA255 - Found a bug???

Dalibor Topic robilad at kaffe.org
Wed Jan 14 18:28:04 PST 2004

Hi Nathan,

Nathan Carl Summers wrote:
> On Wed, 14 Jan 2004, Dalibor Topic wrote:
>>Salut Gerard, Hallo Helmer,
>>SP_OFFSET is used to denote the stack pointer offset, AFAIK.
>>Looking at the GNU Libc sources, I see two different values of stack
>>offsets, 8 without a FPU and 20 with a FPU. It seems as if we need to
>>differentiate between arms with a FPU and arms without an FPU in order
>>to have SP_OFFSET defined properly in each case.
>>I have seen that Mono has such detection code in their CVS, so I'm
>>inclined to grab it.
>>Another, apparently simpler alternative might be to compile and run
>>developers/sp_offset.c during configure, and use that value instead of
>>putting a value in stone into md.h for a platform.
> Problem: sp_offset.c just hangs on Cray, and it's not guarenteed to be
> correct on othe platforms either.

thanks a lot for the quick heads up! So it's going to be hard-coded, then.

btw, how is the cray (-linux??) port going?

dalibor topic

More information about the kaffe mailing list