Patch AVR: fix call prologue saves for avr6

Tristan Gingold gingold@adacore.com
Wed May 21 11:03:00 GMT 2008


Hi,

this is a tiny patch to fix the use of prologue_saves on avr6.  As  
EIND is always 0, a stub must be
generated (if required) for the return point.

Tested by recompiling GCC.

Tristan.

2008-05-21  Tristan Gingold  <gingold@adacore.com>

	* config/avr/avr.md ("call_prologue_saves"): Use hi8(gs())/lo8(gs())
	instead of pm_lo8/pm_hi8 to makes this call working on avr6.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: avr-gcc-fsf.diffs
Type: application/octet-stream
Size: 526 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080521/5c07cddf/attachment.obj>


More information about the Gcc-patches mailing list