elf.h (ASM_FILE_START): Reverted to profile_flag.
authorWilliam Cohen <wcohen@redhat.com>
Fri, 4 Jan 2002 15:43:30 +0000 (15:43 +0000)
committerWilliam Cohen <wcohen@gcc.gnu.org>
Fri, 4 Jan 2002 15:43:30 +0000 (15:43 +0000)
* config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
* config/pa/pa-linux.h (ASM_FILE_START): Likewise.
* config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
* config/pa/som.h (ASM_FILE_START): Likewise.

From-SVN: r48537

gcc/ChangeLog
gcc/config/pa/elf.h
gcc/config/pa/pa-linux.h
gcc/config/pa/pa64-hpux.h
gcc/config/pa/som.h

index e82aac97cce658e4cbb45a41f484d20ca05c292e..bbe28edbd4165b5913037c98fea0ec2747f4b4fe 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-04  William Cohen  <wcohen@redhat.com>
+
+       * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
+       * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
+       * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
+       * config/pa/som.h (ASM_FILE_START): Likewise.
+
 2001-01-04  Daniel Berlin  <dan@cgsoftware.com>
 
        * lcm.c: Include df.h.
index 89ca5e69f9bdd3648ea8348adeefe710ab6d71e1..db2f20fe969272ef05ae768ddd30d1c372244fb7 100644 (file)
@@ -41,7 +41,7 @@ do {  \
        fputs("\t.LEVEL 1.1\n", FILE); \
      else \
        fputs("\t.LEVEL 1.0\n", FILE); \
-     if (current_function_profile)\
+     if (profile_flag)\
        fprintf (FILE, "\t.IMPORT _mcount, ENTRY\n");\
      if (write_symbols != NO_DEBUG) \
        output_file_directive ((FILE), main_input_filename); \
index 5367fdab6aee9b16e859f66ee0a1f82b7ddcc146..49e167cf824cf91fe35820c72e4bc0160bf18edb 100644 (file)
@@ -99,7 +99,7 @@ Boston, MA 02111-1307, USA.  */
        fputs("\t.LEVEL 1.1\n", FILE);                          \
       else                                                     \
        fputs("\t.LEVEL 1.0\n", FILE);                          \
-      if (current_function_profile)                            \
+      if (profile_flag)                                                \
        fputs ("\t.IMPORT _mcount, CODE\n", FILE);              \
     }                                                          \
    while (0)
index ec52b43d083a6517067481874ec5b4e8a6988ead..6445c9aa27ea18ac2d0a783531895f8b5e917d83 100644 (file)
@@ -68,7 +68,7 @@ do {  \
        fputs("\t.LEVEL 1.1\n", FILE); \
      else \
        fputs("\t.LEVEL 1.0\n", FILE); \
-     if (current_function_profile)\
+     if (profile_flag)\
        fprintf (FILE, "\t.IMPORT _mcount, CODE\n");\
      if (write_symbols != NO_DEBUG) \
        output_file_directive ((FILE), main_input_filename); \
index 53c59e1710400772d58da34ab3f1b5a558035351..e6ac6fba544a40c0714cc733199f33f79a93a039 100644 (file)
@@ -233,7 +233,7 @@ do {  \
 \t.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY\n\
 \t.IMPORT $global$,DATA\n\
 \t.IMPORT $$dyncall,MILLICODE\n", FILE);\
-     if (current_function_profile)\
+     if (profile_flag)\
        fprintf (FILE, "\t.IMPORT _mcount, CODE\n");\
      if (write_symbols != NO_DEBUG) \
        output_file_directive ((FILE), main_input_filename); \