From: Doug Evans Date: Thu, 17 Feb 1994 22:58:07 +0000 (+0000) Subject: (ASM_OUTPUT_SECTION_NAME): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=545e2d7d8db4366c11e6321f15c97da0854f7b2c;p=gcc.git (ASM_OUTPUT_SECTION_NAME): Define. (ASM_OUTPUT_SECTION): Delete. From-SVN: r6589 --- diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 74094f1418b..8b207a8d5cc 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -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)