Pull in the following change from gcc mainline:

2003-11-30  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
        set SECTION_WRITE on TARGET_RELOCATABLE.
This commit is contained in:
matt 2003-12-12 17:43:37 +00:00
parent 648d5e6e22
commit a29393ca12

View File

@ -13138,14 +13138,8 @@ rs6000_elf_section_type_flags (decl, name, reloc)
const char *name;
int reloc;
{
unsigned int flags
= default_section_type_flags_1 (decl, name, reloc,
flag_pic || DEFAULT_ABI == ABI_AIX);
if (TARGET_RELOCATABLE)
flags |= SECTION_WRITE;
return flags;
return default_section_type_flags_1 (decl, name, reloc,
flag_pic || DEFAULT_ABI == ABI_AIX);
}
/* Record an element in the table of global constructors. SYMBOL is