diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82dd6139764..050120a4c65 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-19 Olivier Hainque + + * varasm.c (default_section_type_flags): Flag .persistent.bss + sections as SECTION_BSS. + 2014-09-19 Nick Clifton * config/rl78/rl78.c (rl78_expand_epilogue): Generate a USE of the diff --git a/gcc/varasm.c b/gcc/varasm.c index 62a6b0f0c48..111c6578c5f 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -6063,6 +6063,7 @@ default_section_type_flags (tree decl, const char *name, int reloc) if (strcmp (name, ".bss") == 0 || strncmp (name, ".bss.", 5) == 0 || strncmp (name, ".gnu.linkonce.b.", 16) == 0 + || strcmp (name, ".persistent.bss") == 0 || strcmp (name, ".sbss") == 0 || strncmp (name, ".sbss.", 6) == 0 || strncmp (name, ".gnu.linkonce.sb.", 17) == 0)