From: Richard Kenner Date: Thu, 13 Apr 1995 12:10:12 +0000 (-0400) Subject: (ASM_OUTPUT_SECTION_NAME): New macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6232580b2aef9bd33ef09fcc88f11125b759dcd;p=gcc.git (ASM_OUTPUT_SECTION_NAME): New macro. From-SVN: r9367 --- diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h index 67818f4ae2f..acb5206e99e 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. */