* config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
authorRichard Henderson <rth@redhat.com>
Tue, 8 Jan 2002 00:37:34 +0000 (16:37 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 8 Jan 2002 00:37:34 +0000 (16:37 -0800)
From-SVN: r48618

gcc/ChangeLog
gcc/config/rs6000/xcoff.h

index a13b5b2adaca9bedf7ba184f15cc731875515353..409bc75c032f5b9f056b3e914aca7b77285ba3c3 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-07  Richard Henderson  <rth@redhat.com>
+
+       * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
+
 2002-01-07  Jason Merrill  <jason@redhat.com>
 
        * unwind-dw2.c (execute_cfa_program): Use < again.
index 2b3f5b9aeb27ebbb45e7946019c39fc99957c157..e60f3fe8282532cfebab6447179f9dfcb15c133a 100644 (file)
@@ -307,7 +307,7 @@ toc_section ()                                              \
   if (write_symbols != NO_DEBUG)                               \
     private_data_section ();                                   \
   text_section ();                                             \
-  if (current_function_profile)                                        \
+  if (profile_flag)                                            \
     fprintf (FILE, "\t.extern %s\n", RS6000_MCOUNT);           \
   rs6000_file_start (FILE, TARGET_CPU_DEFAULT);                        \
 }