Hi,

I think we need to change the epilog used on ARM.
It emits the instruction "ldm fp, {fp, sp, pc}" which AFAIK will not
do what we want when it is restarted after an exception, as the first
thing it does is to change fp. A workaround would be to move fp to lr
first and use that to load the other registers.

There once was a discussion about aligning our stack frame with the
one expected by debuggers. Maybe it is time to do that.

Any suggestions?

Best regards,

  Daniel

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to