aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-04-13 08:10:12 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-04-13 08:10:12 -0400
commite6232580b2aef9bd33ef09fcc88f11125b759dcd (patch)
tree9c8f3f46d4f2ee7e786793f4af3ab045b2079609
parent6376fd9aedba6a655e183eeb10760382d2e21411 (diff)
downloadgcc-e6232580b2aef9bd33ef09fcc88f11125b759dcd.zip
gcc-e6232580b2aef9bd33ef09fcc88f11125b759dcd.tar.gz
gcc-e6232580b2aef9bd33ef09fcc88f11125b759dcd.tar.bz2
(ASM_OUTPUT_SECTION_NAME): New macro.
From-SVN: r9367
-rw-r--r--gcc/config/a29k/a29k.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h
index 67818f4..acb5206 100644
--- a/gcc/config/a29k/a29k.h
+++ b/gcc/config/a29k/a29k.h
@@ -1442,6 +1442,12 @@ literal_section () \
extern int a29k_debug_reg_map[];
#define DBX_REGISTER_NUMBER(REGNO) a29k_debug_reg_map[REGNO]
+/* This how to write an assembler directive to FILE to switch to
+ section NAME for DECL. */
+
+#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \
+ fprintf (FILE, "\t.sect %s, bss\n\t.use %s\n", NAME, NAME)
+
/* This is how to output the definition of a user-level label named NAME,
such as the label on a static function or variable NAME. */