Commit 65183558 by Catherine Moore Committed by Catherine Moore

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
parent cd55cf68
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> Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro. * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
......
...@@ -703,6 +703,7 @@ do { \ ...@@ -703,6 +703,7 @@ do { \
Some svr4 assemblers need to also have something extra said about the Some svr4 assemblers need to also have something extra said about the
function's return value. We allow for that here. */ function's return value. We allow for that here. */
#ifndef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \ #define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
do { \ do { \
fprintf (FILE, "\t%s\t ", TYPE_ASM_OP); \ fprintf (FILE, "\t%s\t ", TYPE_ASM_OP); \
...@@ -713,6 +714,7 @@ do { \ ...@@ -713,6 +714,7 @@ do { \
ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL)); \ ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL)); \
ASM_OUTPUT_LABEL(FILE, NAME); \ ASM_OUTPUT_LABEL(FILE, NAME); \
} while (0) } while (0)
#endif
/* Write the extra assembler code needed to declare an object properly. */ /* Write the extra assembler code needed to declare an object properly. */
...@@ -762,7 +764,7 @@ do { \ ...@@ -762,7 +764,7 @@ do { \
} while (0) } while (0)
/* This is how to declare the size of a function. */ /* This is how to declare the size of a function. */
#ifndef ASM_DECLARE_FUNCTION_SIZE
#define ASM_DECLARE_FUNCTION_SIZE(FILE, FNAME, DECL) \ #define ASM_DECLARE_FUNCTION_SIZE(FILE, FNAME, DECL) \
do { \ do { \
if (!flag_inhibit_size_directive) \ if (!flag_inhibit_size_directive) \
...@@ -781,7 +783,7 @@ do { \ ...@@ -781,7 +783,7 @@ do { \
putc ('\n', FILE); \ putc ('\n', FILE); \
} \ } \
} while (0) } while (0)
#endif
/* A table of bytes codes used by the ASM_OUTPUT_ASCII and /* A table of bytes codes used by the ASM_OUTPUT_ASCII and
ASM_OUTPUT_LIMITED_STRING macros. Each byte in the table ASM_OUTPUT_LIMITED_STRING macros. Each byte in the table
corresponds to a particular byte value [0..255]. For any corresponds to a particular byte value [0..255]. For any
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment