aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1994-02-17 22:58:07 +0000
committerDoug Evans <dje@gnu.org>1994-02-17 22:58:07 +0000
commit545e2d7d8db4366c11e6321f15c97da0854f7b2c (patch)
treeb5523fcb4fce0cf62571985f725af9018c59a277 /gcc
parentfa8cc22d635729a9ce562c601b031e7f07101778 (diff)
downloadgcc-545e2d7d8db4366c11e6321f15c97da0854f7b2c.zip
gcc-545e2d7d8db4366c11e6321f15c97da0854f7b2c.tar.gz
gcc-545e2d7d8db4366c11e6321f15c97da0854f7b2c.tar.bz2
(ASM_OUTPUT_SECTION_NAME): Define.
(ASM_OUTPUT_SECTION): Delete. From-SVN: r6589
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sh/sh.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 74094f1..8b207a8d 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)