[gccsdk] SCL stubs bug

Ben Avison bavison at riscosopen.org
Tue Jul 24 16:44:51 PDT 2007


Sorry, it looks like I just missed the new release with this bug report.

In gcc/libscl/stubs.s at about line 668, __main, the code isn't applying the
library static offset before initialising the variable kallocExtendsWS.
This has the effect that heap extension doesn't work for module

I've verified that inserting

         [ {MODULE}={TRUE}
         LDR     r2, [sl, #-536]
         ADD     r1, r1, r2

two lines into __main fixes this bug.


More information about the gcc mailing list