* config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
authorclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Nov 1999 13:55:07 +0000 (13:55 +0000)
committerclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Nov 1999 13:55:07 +0000 (13:55 +0000)
        defined.
        (ASM_DECLARE_FUNCTION_SIZE): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30429 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/svr4.h

index 50ef793..1825d80 100644 (file)
@@ -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.
index b2d9118..3547eb4 100644 (file)
@@ -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