(output_function_profiler): When TARGET_MINIMAL_TOC,

emit .long instead of .tc.

From-SVN: r6116
This commit is contained in:
Jim Wilson 1993-11-19 13:42:23 -08:00
parent 9d85330726
commit 35fc1624ac

View File

@ -1973,8 +1973,11 @@ output_function_profiler (file, labelno)
/* Set up a TOC entry for the profiler label. */
toc_section ();
fprintf (file, "LPC..%d:\n\t.tc\tLP..%d[TC],LP..%d\n",
labelno, labelno, labelno);
if (TARGET_MINIMAL_TOC)
fprintf (file, "LPC..%d:\n\t.long LP..%d\n", labelno, labelno);
else
fprintf (file, "LPC..%d:\n\t.tc\tLP..%d[TC],LP..%d\n",
labelno, labelno, labelno);
text_section ();
/* Figure out last used parameter register. The proper thing to do is