aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
-rw-r--r--gcc/config/rs6000/rs6000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index e803e2e..5bca89b 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -10952,7 +10952,7 @@ rs6000_select_rtx_section (mode, x)
|| GET_CODE (x) == CONST))
data_section ();
else
- const_section ();
+ readonly_data_section ();
}
/* A C statement or statements to switch to the appropriate
@@ -10970,7 +10970,7 @@ rs6000_elf_select_section (decl, reloc, align)
int needs_sdata;
int readonly;
static void (* const sec_funcs[4]) PARAMS ((void)) = {
- &const_section,
+ &readonly_data_section,
&sdata2_section,
&data_section,
&sdata_section