From: Olivier Hainque Date: Fri, 19 Sep 2014 08:02:44 +0000 (+0000) Subject: varasm.c (default_section_type_flags): Flag .persistent.bss sections as SECTION_BSS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3b4b410ae57324d31039b75f0f4ab7657e58161;p=gcc.git varasm.c (default_section_type_flags): Flag .persistent.bss sections as SECTION_BSS. 2014-09-19 Olivier Hainque * varasm.c (default_section_type_flags): Flag .persistent.bss sections as SECTION_BSS. From-SVN: r215376 --- 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)