rs6000.c (rs6000_xcoff_asm_named_section): Place SECTION_EXCLUDE in XO mapping class.
* config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Place SECTION_EXCLUDE in XO mapping class. From-SVN: r228203
This commit is contained in:
parent
6fb917d907
commit
951ed92393
|
@ -1,3 +1,8 @@
|
|||
2015-09-28 David Edelsohn <dje.gcc@gmail.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Place
|
||||
SECTION_EXCLUDE in XO mapping class.
|
||||
|
||||
2015-09-28 Oleg Endo <olegendo@gcc.gnu.org>
|
||||
|
||||
PR target/54236
|
||||
|
|
|
@ -30845,14 +30845,16 @@ rs6000_xcoff_asm_named_section (const char *name, unsigned int flags,
|
|||
tree decl ATTRIBUTE_UNUSED)
|
||||
{
|
||||
int smclass;
|
||||
static const char * const suffix[4] = { "PR", "RO", "RW", "TL" };
|
||||
static const char * const suffix[5] = { "PR", "RO", "RW", "TL", "XO" };
|
||||
|
||||
if (flags & SECTION_DEBUG)
|
||||
if (flags & SECTION_EXCLUDE)
|
||||
smclass = 4;
|
||||
else if (flags & SECTION_DEBUG)
|
||||
{
|
||||
fprintf (asm_out_file, "\t.dwsect %s\n", name);
|
||||
return;
|
||||
}
|
||||
if (flags & SECTION_CODE)
|
||||
else if (flags & SECTION_CODE)
|
||||
smclass = 0;
|
||||
else if (flags & SECTION_TLS)
|
||||
smclass = 3;
|
||||
|
|
Loading…
Reference in New Issue