diff options
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r-- | gcc/ada/gcc-interface/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index 56636a62f1c..71761e3515f 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -2476,9 +2476,9 @@ process_attributes (tree *node, struct attrib **attr_list, bool in_place, case ATTR_LINK_SECTION: if (targetm_common.have_named_sections) { - DECL_SECTION_NAME (*node) - = build_string (IDENTIFIER_LENGTH (attr->name), - IDENTIFIER_POINTER (attr->name)); + set_decl_section_name (*node, + build_string (IDENTIFIER_LENGTH (attr->name), + IDENTIFIER_POINTER (attr->name))); DECL_COMMON (*node) = 0; } else |