From: Jim Wilson Date: Fri, 19 Nov 1993 21:42:23 +0000 (-0800) Subject: (output_function_profiler): When TARGET_MINIMAL_TOC, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35fc1624acabf68663c05b029b75763bff8fd6ab;p=gcc.git (output_function_profiler): When TARGET_MINIMAL_TOC, emit .long instead of .tc. From-SVN: r6116 --- diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a770be1e4d7..415c90e3853 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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