diff options
author | David Edelsohn <edelsohn@gnu.org> | 1997-04-14 22:06:31 +0000 |
---|---|---|
committer | David Edelsohn <edelsohn@gnu.org> | 1997-04-14 22:06:31 +0000 |
commit | 9c849d2a8a998590e97a5cac54b04cc0e828c365 (patch) | |
tree | db05e66d3a7f9fd4cb325bd06a8b0c566ce816db /gcc | |
parent | 977eef43d8891a481186c971a46cec0c619c8e2d (diff) | |
download | gcc-9c849d2a8a998590e97a5cac54b04cc0e828c365.zip gcc-9c849d2a8a998590e97a5cac54b04cc0e828c365.tar.gz gcc-9c849d2a8a998590e97a5cac54b04cc0e828c365.tar.bz2 |
change hardcoded .mcount to RS6000_MCOUNT
From-SVN: r13905
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 4b59736..ba66028 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2837,7 +2837,7 @@ first_reg_to_save () break; /* If profiling, then we must save/restore every register that contains - a parameter before/after the .mcount call. Use registers from 30 down + a parameter before/after the .__mcount call. Use registers from 30 down to 23 to do this. Don't use the frame pointer in reg 31. For now, save enough room for all of the parameter registers. */ @@ -2870,7 +2870,7 @@ rs6000_makes_calls () { rtx insn; - /* If we are profiling, we will be making a call to mcount. */ + /* If we are profiling, we will be making a call to __mcount. */ if (profile_flag) return 1; @@ -4317,7 +4317,7 @@ output_function_profiler (file, labelno) ASM_GENERATE_INTERNAL_LABEL (buf, "LPC", labelno); asm_fprintf (file, "\t{l|lwz} %s,", reg_names[3]); assemble_name (file, buf); - asm_fprintf (file, "(%s)\n\tbl .mcount\n", reg_names[2]); + asm_fprintf (file, "(%s)\n\tbl %s\n", reg_names[2], RS6000_MCOUNT); /* Restore parameter registers. */ |