From 35fc1624acabf68663c05b029b75763bff8fd6ab Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 19 Nov 1993 13:42:23 -0800 Subject: [PATCH] (output_function_profiler): When TARGET_MINIMAL_TOC, emit .long instead of .tc. From-SVN: r6116 --- gcc/config/rs6000/rs6000.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.30.2