aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/linux.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>2001-07-30 16:40:43 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2001-07-30 09:40:43 -0700
commit8597f3dd894c734199e80e6660c7f3bf0b47b81a (patch)
treeefa72560560668ca63aa8f28249f0bbab6c96d1b /gcc/config/mips/linux.h
parentb3026a929a426c033a322b3440d346d02394e991 (diff)
downloadgcc-8597f3dd894c734199e80e6660c7f3bf0b47b81a.zip
gcc-8597f3dd894c734199e80e6660c7f3bf0b47b81a.tar.gz
gcc-8597f3dd894c734199e80e6660c7f3bf0b47b81a.tar.bz2
linux.h (ASM_DECLARE_FUNCTION_NAME): Defined.
2001-07-30 H.J. Lu (hjl@gnu.org) * config/mips/linux.h (ASM_DECLARE_FUNCTION_NAME): Defined. (ASM_DECLARE_FUNCTION_SIZE): Likewise. (FUNCTION_NAME_ALREADY_DECLARED): Likewise. From-SVN: r44476
Diffstat (limited to 'gcc/config/mips/linux.h')
-rw-r--r--gcc/config/mips/linux.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index f89325e..710df19 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -192,3 +192,36 @@ Boston, MA 02111-1307, USA. */
fputc ('-', FILE); \
assemble_name (FILE, LO); \
} 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); \
+ } \
+ fprintf (STREAM, "\t%s\t ", TYPE_ASM_OP); \
+ assemble_name (STREAM, NAME); \
+ putc (',', STREAM); \
+ fprintf (STREAM, TYPE_OPERAND_FMT, "function"); \
+ putc ('\n', STREAM); \
+ 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. */
+#define FUNCTION_NAME_ALREADY_DECLARED