diff options
Diffstat (limited to 'gcc/config/arm/pe.c')
-rw-r--r-- | gcc/config/arm/pe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/arm/pe.c b/gcc/config/arm/pe.c index 2d38d1fc5e3..702ea3e43fa 100644 --- a/gcc/config/arm/pe.c +++ b/gcc/config/arm/pe.c @@ -213,8 +213,7 @@ arm_pe_encode_section_info (decl, rtl, first) int first ATTRIBUTE_UNUSED; { /* This bit is copied from arm_encode_section_info. */ - if (optimize > 0 && TREE_CONSTANT (decl) - && (!flag_writable_strings || TREE_CODE (decl) != STRING_CST)) + if (optimize > 0 && TREE_CONSTANT (decl)) SYMBOL_REF_FLAG (XEXP (rtl, 0)) = 1; /* Mark the decl so we can tell from the rtl whether the object is |