aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>1999-11-06 13:55:07 +0000
committerCatherine Moore <clm@gcc.gnu.org>1999-11-06 08:55:07 -0500
commit6518355866eacb5b69d30d063714c0cb772c30f3 (patch)
treeb032d9424489c363cd2d70518bceb02f47f2b080 /gcc
parentcd55cf682e321184f52dceb6692e55b67fda8163 (diff)
downloadgcc-6518355866eacb5b69d30d063714c0cb772c30f3.zip
gcc-6518355866eacb5b69d30d063714c0cb772c30f3.tar.gz
gcc-6518355866eacb5b69d30d063714c0cb772c30f3.tar.bz2
svr4.h (ASM_DECLARE_FUNCTION): Check if already defined.
* config/svr4.h (ASM_DECLARE_FUNCTION): Check if already defined. (ASM_DECLARE_FUNCTION_SIZE): Likewise. From-SVN: r30429
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/svr4.h6
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 50ef793..1825d80 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
+
+ * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
+ defined.
+ (ASM_DECLARE_FUNCTION_SIZE): Likewise.
+
Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h
index b2d9118..3547eb4 100644
--- a/gcc/config/svr4.h
+++ b/gcc/config/svr4.h
@@ -703,6 +703,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); \
@@ -713,6 +714,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. */
@@ -762,7 +764,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) \
@@ -781,7 +783,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
corresponds to a particular byte value [0..255]. For any