Well I found one problem!

The illegal access to RAM was at address 0x1100 and 0x1101. Which I mapped to give a test fail until I figured what it was.

AVRORA was correct as ATMEGA128 with internal memory only does not have RAM here.

So I looked at bench mark and this one does a return from main - when main() is not called, but rather jumped to after intialisation. So stack underflows

So I figure that I have some compiler switches wrong. Or there a gcc library doing a jump instead of a call.

Suggestion where this might be?

compilation was:

/home/awhconf/gcc/xgcc -B/home/awhconf/gcc/ /home/gcc/gcc/testsuite/gcc.c-torture/execute/20050224-1.c -w -O3 -fomit-frame-pointer -DSTACK_SIZE=400 -DNO_TRAMPOLINES -fno-show-column -DSIGNAL_SUPPRESS -mmcu=atmega128 /home/Andy/dejagnuboards/avroraexit.c -lm -o /home/awhconf/gcc/testsuite/gcc/20050224-1.x3

Andy





_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to