From 868e87899b12b97b41c5ecddb2cbf57c7da2cfe1 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 17 Feb 1994 22:50:36 +0000 Subject: [PATCH] (DECL_SECTION_NAME): New macro. (struct tree_decl): New member `section_name'. From-SVN: r6584 --- gcc/tree.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/tree.h b/gcc/tree.h index dd813e9b53b..a9d073eb514 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -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. -- 2.30.2