Re: [patch,avr] remove secondary_reload hook implementation

2016-07-22 Thread Denis Chertykov
2016-07-21 18:33 GMT+03:00 Georg-Johann Lay : > This removes avr's TARGET_SECONDARY_RELOAD implementation which never worked > as expected... > > Its intention was to provide an 8-bit scratch register for loads from > non-generic address-spaces as they might need to set RAMPZ to the

[patch,avr] remove secondary_reload hook implementation

2016-07-21 Thread Georg-Johann Lay
This removes avr's TARGET_SECONDARY_RELOAD implementation which never worked as expected... Its intention was to provide an 8-bit scratch register for loads from non-generic address-spaces as they might need to set RAMPZ to the needed flash segment. The avr BE uses avr_find_unused_d_reg for