Commit 392e5756 by Jakub Jelinek Committed by Jakub Jelinek

sparc.c (sparc_output_scratch_registers): Use #ignore instead of #scratch for…

sparc.c (sparc_output_scratch_registers): Use #ignore instead of #scratch for %g7 .register directive.

	* config/sparc/sparc.c (sparc_output_scratch_registers): Use
	#ignore instead of #scratch for %g7 .register directive.

From-SVN: r110522
parent f767d794
2006-02-02 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.c (sparc_output_scratch_registers): Use
#ignore instead of #scratch for %g7 .register directive.
2006-02-02 Andreas Tobler <a.tobler@schweiz.ch>
* config/sparc/freebsd.h (ENDFILE_SPEC): Add space to separate
......
......@@ -3693,7 +3693,10 @@ sparc_output_scratch_registers (FILE *file ATTRIBUTE_UNUSED)
&& ! sparc_hard_reg_printed [i])
{
sparc_hard_reg_printed [i] = 1;
fprintf (file, "\t.register\t%%g%d, #scratch\n", i);
/* %g7 is used as TLS base register, use #ignore
for it instead of #scratch. */
fprintf (file, "\t.register\t%%g%d, #%s\n", i,
i == 7 ? "ignore" : "scratch");
}
if (i == 3) i = 5;
}
......
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