Commit 8d170590 by Catherine Moore Committed by Catherine Moore

elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.

        * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
        (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.

From-SVN: r30444
parent 80048418
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> Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
* integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns. * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
......
...@@ -489,6 +489,7 @@ do { \ ...@@ -489,6 +489,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); \
...@@ -499,7 +500,7 @@ do { \ ...@@ -499,7 +500,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. */
#define ASM_DECLARE_OBJECT_NAME(FILE, NAME, DECL) \ #define ASM_DECLARE_OBJECT_NAME(FILE, NAME, DECL) \
...@@ -542,7 +543,7 @@ do { \ ...@@ -542,7 +543,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) \
...@@ -561,6 +562,7 @@ do { \ ...@@ -561,6 +562,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
......
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