2011/4/11 Georg-Johann Lay <a...@gjlay.de>: > Georg-Johann Lay schrieb: >> Tested patch v2 from 2010-04-02 now for atmega2560 on avrtest >> simulator. In main, var1 and var2 are initialized as expected and >> anObject.getVal() is 30. >> >> Without patch the program hangs. > > > 2011-04-11 Georg-Johann Lay <a...@gjlay.de> > > PR target/45263 > * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): > Don't use > r20 around calls of __tablejump_elpm__ >
Approved. Denis.