diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2008-08-09 18:10:18 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2008-08-09 18:10:18 +0000 |
commit | b2b6160771d3f0fb783b7f18a3a015126e55ead3 (patch) | |
tree | 7422b65d4002cbc7cb1349eca463a1a3ba449abc /gcc/config/mips/linux.h | |
parent | 7c9577becf922e261c901a1108ee0cb58aa73d58 (diff) | |
download | gcc-b2b6160771d3f0fb783b7f18a3a015126e55ead3.zip gcc-b2b6160771d3f0fb783b7f18a3a015126e55ead3.tar.gz gcc-b2b6160771d3f0fb783b7f18a3a015126e55ead3.tar.bz2 |
mips.h (FUNCTION_NAME_ALREADY_DECLARED): Delete.
gcc/
2008-08-09 Richard Sandiford <rdsandiford@googlemail.com>
Daniel Jacobowitz <dan@codesourcery.com>
* config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Delete.
* config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Delete.
(ASM_DECLARE_FUNCTION_SIZE, FUNCTION_NAME_ALREADY_DECLARED): Delete.
* config/mips/mips.c (mips_start_function_definition): New function.
(mips_end_function_definition): Likewise.
(mips_output_function_prologue): Use mips_start_function_definition.
(mips_output_function_epilogue): Use mips_end_function_definition.
(build_mips16_function_stub): Use mips_start_function_definition
and mips_end_function_definition.
(build_mips16_call_stub): Likewise.
Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>
From-SVN: r138908
Diffstat (limited to 'gcc/config/mips/linux.h')
-rw-r--r-- | gcc/config/mips/linux.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 2e7b102..90cf63d 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -96,36 +96,6 @@ along with GCC; see the file COPYING3. If not see fputc ( '\n', FILE); \ } while (0) -#undef ASM_DECLARE_FUNCTION_NAME -#define ASM_DECLARE_FUNCTION_NAME(STREAM, NAME, DECL) \ - do { \ - if (!flag_inhibit_size_directive) \ - { \ - fputs ("\t.ent\t", STREAM); \ - assemble_name (STREAM, NAME); \ - putc ('\n', STREAM); \ - } \ - ASM_OUTPUT_TYPE_DIRECTIVE (STREAM, NAME, "function"); \ - assemble_name (STREAM, NAME); \ - fputs (":\n", STREAM); \ - } while (0) - -#undef ASM_DECLARE_FUNCTION_SIZE -#define ASM_DECLARE_FUNCTION_SIZE(STREAM, NAME, DECL) \ - do { \ - if (!flag_inhibit_size_directive) \ - { \ - fputs ("\t.end\t", STREAM); \ - assemble_name (STREAM, NAME); \ - putc ('\n', STREAM); \ - } \ - } while (0) - -/* Tell function_prologue in mips.c that we have already output the .ent/.end - pseudo-ops. */ -#undef FUNCTION_NAME_ALREADY_DECLARED -#define FUNCTION_NAME_ALREADY_DECLARED 1 - /* The glibc _mcount stub will save $v0 for us. Don't mess with saving it, since ASM_OUTPUT_REG_PUSH/ASM_OUTPUT_REG_POP do not work in the presence of $gp-relative calls. */ |