aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1994-02-17 22:50:36 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1994-02-17 22:50:36 +0000
commit99c00961e4993d5f187da5768cae86dc367a61ef (patch)
tree9f2beccfd0396727c68381ae9f462da2609470ed /gcc
parent3790eb7e984104d12fd5ac5afb1c7f94599b75cd (diff)
(DECL_SECTION_NAME): New macro.
(struct tree_decl): New member `section_name'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree.h4
1 files changed, 4 insertions, 0 deletions
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.