]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
authorCatherine Moore <clm@cygnus.com>
Mon, 8 Nov 1999 01:46:20 +0000 (01:46 +0000)
committerCatherine Moore <clm@gcc.gnu.org>
Mon, 8 Nov 1999 01:46:20 +0000 (20:46 -0500)
        * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
        (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.

From-SVN: r30444

gcc/ChangeLog
gcc/config/elfos.h

index 07bdfd60685a38b3eadb7611932e8cf96fb8df18..69e63f35ec88936b703a773efcf25c5447785af2 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov  7 19:41:17 1999  Catherine Moore  <clm@cygnus.com>
+
+        * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
+        (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
+
 Sun Nov  7 10:23:28 1999  Mark P. Mitchell  <mark@codesourcery.com>
 
        * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
index ad88b1e326c4bb019a270ef0bda88861294d2deb..fbb111a9431f36b4d8bc9df8fea9969cb0269aba 100644 (file)
@@ -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