Commit 368256d8 by Denis Chertykov Committed by Denis Chertykov

avr.c (asm_file_start): output 0 as r0 and 1 as r1 in __tmp_reg__ and __zero_reg__ initialization.

	* config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
	__tmp_reg__ and __zero_reg__ initialization.

From-SVN: r33567
parent a47ad784
Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
__tmp_reg__ and __zero_reg__ initialization.
2000-04-30 Richard Henderson <rth@cygnus.com> 2000-04-30 Richard Henderson <rth@cygnus.com>
* flow.c (propagate_one_insn): Mark sets even when the insn is dead. * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
......
...@@ -3336,8 +3336,8 @@ asm_file_start (file) ...@@ -3336,8 +3336,8 @@ asm_file_start (file)
sprintf (buf, "0x%x", avr_mcu_type->stack); sprintf (buf, "0x%x", avr_mcu_type->stack);
} }
fputs ("__tmp_reg__ = r0\n" fputs ("__tmp_reg__ = 0\n"
"__zero_reg__ = r1\n" "__zero_reg__ = 1\n"
"_PC_ = 2\n", file); "_PC_ = 2\n", file);
commands_in_file = 0; commands_in_file = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment