summaryrefslogtreecommitdiff
path: root/gcc/config/v850/v850.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/v850/v850.c')
-rw-r--r--gcc/config/v850/v850.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index c47e47b3dcd..72129d3868d 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -2890,7 +2890,7 @@ v850_select_section (exp, reloc, align)
default:
if (is_const)
- const_section ();
+ readonly_data_section ();
else
data_section ();
break;
@@ -2899,10 +2899,10 @@ v850_select_section (exp, reloc, align)
else if (TREE_CODE (exp) == STRING_CST)
{
if (! flag_writable_strings)
- const_section ();
+ readonly_data_section ();
else
data_section ();
}
else
- const_section ();
+ readonly_data_section ();
}