(DECL_SECTION_NAME): New macro.
authorDoug Evans <dje@gnu.org>
Thu, 17 Feb 1994 22:50:36 +0000 (22:50 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 17 Feb 1994 22:50:36 +0000 (22:50 +0000)
(struct tree_decl): New member `section_name'.

From-SVN: r6584

gcc/tree.h

index dd813e9..a9d073e 100644 (file)
@@ -727,6 +727,9 @@ struct tree_type
    Often this is the same as DECL_NAME.
    It is an IDENTIFIER_NODE.  */
 #define DECL_ASSEMBLER_NAME(NODE) ((NODE)->decl.assembler_name)
+/* Records the section name in a section attribute.  Used to pass
+   the name from decl_attributes to make_function_rtl and make_decl_rtl.  */
+#define DECL_SECTION_NAME(NODE) ((NODE)->decl.section_name)
 /*  For FIELD_DECLs, this is the
     RECORD_TYPE, UNION_TYPE, or QUAL_UNION_TYPE node that the field is
     a member of.  For VAR_DECL, PARM_DECL, FUNCTION_DECL, LABEL_DECL,
@@ -946,6 +949,7 @@ struct tree_decl
   /* The PRINT_NAME field is marked for death.  */
   char *print_name;
   union tree_node *assembler_name;
+  union tree_node *section_name;
   struct rtx_def *rtl; /* acts as link to register transfer language
                                   (rtl) info */
   /* For a FUNCTION_DECL, if inline, this is the size of frame needed.