From 6518355866eacb5b69d30d063714c0cb772c30f3 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Sat, 6 Nov 1999 13:55:07 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/svr4.h | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 50ef7930104..1825d80000a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 6 07:48:59 1999 Catherine Moore + + * 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 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro. diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index b2d91185693..3547eb4c2a9 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