(ASM_OUTPUT_SECTION_NAME): Define.
authorDoug Evans <dje@gnu.org>
Thu, 17 Feb 1994 22:58:07 +0000 (22:58 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 17 Feb 1994 22:58:07 +0000 (22:58 +0000)
(ASM_OUTPUT_SECTION): Delete.

From-SVN: r6589

gcc/config/sh/sh.h

index 74094f1418b2b907955c679224d8892872aecb3d..8b207a8d5cc91f8cd193c8f2310ac2cdbc2babed 100644 (file)
@@ -1174,6 +1174,13 @@ extern int current_function_anonymous_args;
 #define CTORS_SECTION_ASM_OP   "\t.section\t.ctors\n"
 #define DTORS_SECTION_ASM_OP   "\t.section\t.dtors\n"
 #define INIT_SECTION_ASM_OP    "\t.section\t.init\n"
+
+/* Assemble generic sections.
+   This is currently only used to support section attributes.  */
+
+#define ASM_OUTPUT_SECTION_NAME(FILE, NAME) \
+   fprintf (FILE, ".section\t%s\n", NAME)
+
 #define EXTRA_SECTIONS                 in_ctors, in_dtors
 
 #define EXTRA_SECTION_FUNCTIONS                              \
@@ -1196,9 +1203,6 @@ dtors_section()                                        \
     }                                                       \
 }                                                            
 
-#define ASM_OUTPUT_SECTION(file, nam) \
-   do { fprintf (file, "\t.section\t%s\n", nam); } while(0) 
-
 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)      \
    do { ctors_section();  fprintf(FILE,"\t.long\t_%s\n", NAME); } while (0)