aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>1999-11-08 01:46:20 +0000
committerCatherine Moore <clm@gcc.gnu.org>1999-11-07 20:46:20 -0500
commit8d170590175c07873ad68a42c5cc98457edba4d9 (patch)
tree13ebcebf19e5921ba8680e62ddcf25db8453fe5e /gcc/config
parent8004841847ed40f95b693fcaf390a256b3224b5b (diff)
downloadgcc-8d170590175c07873ad68a42c5cc98457edba4d9.zip
gcc-8d170590175c07873ad68a42c5cc98457edba4d9.tar.gz
gcc-8d170590175c07873ad68a42c5cc98457edba4d9.tar.bz2
elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
* config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define. (ASM_DECLARE_FUNCTION_SIZE): Conditionally define. From-SVN: r30444
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/elfos.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index ad88b1e..fbb111a 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -489,6 +489,7 @@ do { \
Some svr4 assemblers need to also have something extra said about the
function's return value. We allow for that here. */
+#ifndef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
do { \
fprintf (FILE, "\t%s\t ", TYPE_ASM_OP); \
@@ -499,7 +500,7 @@ do { \
ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL)); \
ASM_OUTPUT_LABEL(FILE, NAME); \
} while (0)
-
+#endif
/* Write the extra assembler code needed to declare an object properly. */
#define ASM_DECLARE_OBJECT_NAME(FILE, NAME, DECL) \
@@ -542,7 +543,7 @@ do { \
} while (0)
/* This is how to declare the size of a function. */
-
+#ifndef ASM_DECLARE_FUNCTION_SIZE
#define ASM_DECLARE_FUNCTION_SIZE(FILE, FNAME, DECL) \
do { \
if (!flag_inhibit_size_directive) \
@@ -561,6 +562,7 @@ do { \
putc ('\n', FILE); \
} \
} while (0)
+#endif
/* A table of bytes codes used by the ASM_OUTPUT_ASCII and
ASM_OUTPUT_LIMITED_STRING macros. Each byte in the table