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:
parent
648d5e6e22
commit
a29393ca12
10
gnu/dist/gcc/gcc/config/rs6000/rs6000.c
vendored
10
gnu/dist/gcc/gcc/config/rs6000/rs6000.c
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user