diff options
author | David Edelsohn <edelsohn@gnu.org> | 1997-04-14 22:07:42 +0000 |
---|---|---|
committer | David Edelsohn <edelsohn@gnu.org> | 1997-04-14 22:07:42 +0000 |
commit | 5bf6466a8fba2207bf3c5ee495b4529497f773cb (patch) | |
tree | 044457abb3a63a2805d641d9473ffcd1cf18cb7c /gcc | |
parent | 9c849d2a8a998590e97a5cac54b04cc0e828c365 (diff) | |
download | gcc-5bf6466a8fba2207bf3c5ee495b4529497f773cb.zip gcc-5bf6466a8fba2207bf3c5ee495b4529497f773cb.tar.gz gcc-5bf6466a8fba2207bf3c5ee495b4529497f773cb.tar.bz2 |
prepend underscores to itrunc and uitrunc
define RS6000_MCOUNT macro as symbol with underscores
From-SVN: r13906
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index eac6df3..3b20a19 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -2209,8 +2209,8 @@ extern int rs6000_trunc_used; /* Function names to call to do floating point truncation. */ -#define RS6000_ITRUNC "itrunc" -#define RS6000_UITRUNC "uitrunc" +#define RS6000_ITRUNC "__itrunc" +#define RS6000_UITRUNC "__uitrunc" /* Prefix and suffix to use to saving floating point */ #ifndef SAVE_FP_PREFIX @@ -2224,6 +2224,9 @@ extern int rs6000_trunc_used; #define RESTORE_FP_SUFFIX "" #endif +/* Function name to call to do profiling. */ +#define RS6000_MCOUNT ".__mcount" + /* Control the assembler format that we output. */ @@ -2262,7 +2265,7 @@ extern int rs6000_trunc_used; private_data_section (); \ text_section (); \ if (profile_flag) \ - fputs ("\t.extern .mcount\n", FILE); \ + fprintf (FILE, "\t.extern %s\n", RS6000_MCOUNT); \ rs6000_file_start (FILE, TARGET_CPU_DEFAULT); \ } |