Commit 35fc1624 by Jim Wilson

(output_function_profiler): When TARGET_MINIMAL_TOC,

emit .long instead of .tc.

From-SVN: r6116
parent 9d853307
...@@ -1973,8 +1973,11 @@ output_function_profiler (file, labelno) ...@@ -1973,8 +1973,11 @@ output_function_profiler (file, labelno)
/* Set up a TOC entry for the profiler label. */ /* Set up a TOC entry for the profiler label. */
toc_section (); toc_section ();
fprintf (file, "LPC..%d:\n\t.tc\tLP..%d[TC],LP..%d\n", if (TARGET_MINIMAL_TOC)
labelno, labelno, labelno); 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 (); text_section ();
/* Figure out last used parameter register. The proper thing to do is /* Figure out last used parameter register. The proper thing to do is
......
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