From: William Cohen Date: Fri, 4 Jan 2002 15:43:30 +0000 (+0000) Subject: elf.h (ASM_FILE_START): Reverted to profile_flag. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6ec437a14a6a4774e07529aaeaa8879bf379011;p=gcc.git elf.h (ASM_FILE_START): Reverted to profile_flag. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e82aac97cce..bbe28edbd41 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-01-04 William Cohen + + * 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 * lcm.c: Include df.h. diff --git a/gcc/config/pa/elf.h b/gcc/config/pa/elf.h index 89ca5e69f9b..db2f20fe969 100644 --- a/gcc/config/pa/elf.h +++ b/gcc/config/pa/elf.h @@ -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); \ diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index 5367fdab6ae..49e167cf824 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -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) diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h index ec52b43d083..6445c9aa27e 100644 --- a/gcc/config/pa/pa64-hpux.h +++ b/gcc/config/pa/pa64-hpux.h @@ -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); \ diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h index 53c59e17104..e6ac6fba544 100644 --- a/gcc/config/pa/som.h +++ b/gcc/config/pa/som.h @@ -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); \