projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d85330
)
(output_function_profiler): When TARGET_MINIMAL_TOC,
author
Jim Wilson
<wilson@gcc.gnu.org>
Fri, 19 Nov 1993 21:42:23 +0000
(13:42 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Fri, 19 Nov 1993 21:42:23 +0000
(13:42 -0800)
emit .long instead of .tc.
From-SVN: r6116
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index a770be1e4d7e2029039dc92067a3bb900790e5c5..415c90e38539d7015ab785c6e1a1ed758218651e 100644
(file)
--- 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