summaryrefslogtreecommitdiff
path: root/gcc/config/i386/interix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/interix.c')
-rw-r--r--gcc/config/i386/interix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/interix.c b/gcc/config/i386/interix.c
index 58a19ab5de6..e2222cac1f3 100644
--- a/gcc/config/i386/interix.c
+++ b/gcc/config/i386/interix.c
@@ -112,7 +112,7 @@ i386_pe_unique_section (decl, reloc)
without a .rdata section. */
if (TREE_CODE (decl) == FUNCTION_DECL)
prefix = ".text$";
- else if (DECL_READONLY_SECTION (decl, reloc))
+ else if (decl_readonly_section (decl, reloc))
prefix = ".rdata$";
else
prefix = ".data$";