summaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-08 01:46:20 +0000
committerclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-08 01:46:20 +0000
commit8ad4384682a29097ed009829294323ad2ea2c37b (patch)
tree13ebcebf19e5921ba8680e62ddcf25db8453fe5e /gcc/config/elfos.h
parent5af5654a438073ed1a67b489d9490f60715ce89c (diff)
downloadgcc-8ad4384682a29097ed009829294323ad2ea2c37b.tar.gz
* config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
(ASM_DECLARE_FUNCTION_SIZE): Conditionally define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30444 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/elfos.h')
-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 ad88b1e326c..fbb111a9431 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