diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-07-18 17:22:17 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-07-18 17:22:17 -0700 |
commit | 993cd990a856000f3b9e5925738e8fdcfd5573a9 (patch) | |
tree | f4b5bd0b11aeb802b46f16093dc6b88ed4035e93 /gcc | |
parent | f8ea2d9478c62fee196a7d671f2eec628440820c (diff) | |
download | gcc-993cd990a856000f3b9e5925738e8fdcfd5573a9.zip gcc-993cd990a856000f3b9e5925738e8fdcfd5573a9.tar.gz gcc-993cd990a856000f3b9e5925738e8fdcfd5573a9.tar.bz2 |
(function_prologue): Use FUNCTION_NAME_ALREADY_DECLARED.
(function_epilogue): Likewise.
From-SVN: r12522
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mips/mips.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 3c95564..09015bc 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -5060,18 +5060,21 @@ function_prologue (file, size) ASM_OUTPUT_SOURCE_LINE (file, DECL_SOURCE_LINE (current_function_decl)); #endif + inside_function = 1; + +#ifndef FUNCTION_NAME_ALREADY_DECLARED /* Get the function name the same way that toplev.c does before calling assemble_start_function. This is needed so that the name used here exactly matches the name used in ASM_DECLARE_FUNCTION_NAME. */ fnname = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); - inside_function = 1; fputs ("\t.ent\t", file); assemble_name (file, fnname); fputs ("\n", file); assemble_name (file, fnname); fputs (":\n", file); +#endif fprintf (file, "\t.frame\t%s,%d,%s\t\t# vars= %d, regs= %d/%d, args= %d, extra= %d\n", reg_names[ (frame_pointer_needed) ? FRAME_POINTER_REGNUM : STACK_POINTER_REGNUM ], @@ -5458,6 +5461,7 @@ function_epilogue (file, size) } } +#ifndef FUNCTION_NAME_ALREADY_DECLARED /* Get the function name the same way that toplev.c does before calling assemble_start_function. This is needed so that the name used here exactly matches the name used in ASM_DECLARE_FUNCTION_NAME. */ @@ -5466,6 +5470,7 @@ function_epilogue (file, size) fputs ("\t.end\t", file); assemble_name (file, fnname); fputs ("\n", file); +#endif if (TARGET_STATS) { |