summaryrefslogtreecommitdiff
path: root/gcc/config/mep/mep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mep/mep.c')
-rw-r--r--gcc/config/mep/mep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index 558883c47c3..2f2d0faee27 100644
--- a/gcc/config/mep/mep.c
+++ b/gcc/config/mep/mep.c
@@ -4658,7 +4658,7 @@ mep_unique_section (tree decl, int reloc)
sprintf (string, "%s%s", prefix, name);
- DECL_SECTION_NAME (decl) = build_string (len, string);
+ set_decl_section_name (decl, build_string (len, string));
}
/* Given a decl, a section name, and whether the decl initializer