re PR target/9571 ([PPC] problems with 'const', -msdata=eabi and sections.)
PR target/9571 * varasm.c (default_elf_select_section_1): Pass decl to named_section. From-SVN: r91462
This commit is contained in:
parent
6db081f1a8
commit
6654de69a7
|
@ -1,11 +1,16 @@
|
|||
2004-11-18 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
2004-11-29 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR target/9571
|
||||
* varasm.c (default_elf_select_section_1): Pass decl to named_section.
|
||||
|
||||
2004-11-28 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR middle-end/18164
|
||||
* gimplify.c (gimplify_asm_expr): If the length of an output operand
|
||||
is zero, do not process it, just let it go through.
|
||||
|
||||
2004-11-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
Diego Novillo <dnovillo@redhat.com>
|
||||
Diego Novillo <dnovillo@redhat.com>
|
||||
|
||||
PR/18662, also backported from tree-cleanup-branch.
|
||||
* tree-ssa-ccp.c (substitute_and_fold): If replaced anything,
|
||||
|
|
20
gcc/varasm.c
20
gcc/varasm.c
|
@ -4915,41 +4915,41 @@ default_elf_select_section_1 (tree decl, int reloc,
|
|||
mergeable_constant_section (DECL_MODE (decl), align, 0);
|
||||
break;
|
||||
case SECCAT_SRODATA:
|
||||
named_section (NULL_TREE, ".sdata2", reloc);
|
||||
named_section (decl, ".sdata2", reloc);
|
||||
break;
|
||||
case SECCAT_DATA:
|
||||
data_section ();
|
||||
break;
|
||||
case SECCAT_DATA_REL:
|
||||
named_section (NULL_TREE, ".data.rel", reloc);
|
||||
named_section (decl, ".data.rel", reloc);
|
||||
break;
|
||||
case SECCAT_DATA_REL_LOCAL:
|
||||
named_section (NULL_TREE, ".data.rel.local", reloc);
|
||||
named_section (decl, ".data.rel.local", reloc);
|
||||
break;
|
||||
case SECCAT_DATA_REL_RO:
|
||||
named_section (NULL_TREE, ".data.rel.ro", reloc);
|
||||
named_section (decl, ".data.rel.ro", reloc);
|
||||
break;
|
||||
case SECCAT_DATA_REL_RO_LOCAL:
|
||||
named_section (NULL_TREE, ".data.rel.ro.local", reloc);
|
||||
named_section (decl, ".data.rel.ro.local", reloc);
|
||||
break;
|
||||
case SECCAT_SDATA:
|
||||
named_section (NULL_TREE, ".sdata", reloc);
|
||||
named_section (decl, ".sdata", reloc);
|
||||
break;
|
||||
case SECCAT_TDATA:
|
||||
named_section (NULL_TREE, ".tdata", reloc);
|
||||
named_section (decl, ".tdata", reloc);
|
||||
break;
|
||||
case SECCAT_BSS:
|
||||
#ifdef BSS_SECTION_ASM_OP
|
||||
bss_section ();
|
||||
#else
|
||||
named_section (NULL_TREE, ".bss", reloc);
|
||||
named_section (decl, ".bss", reloc);
|
||||
#endif
|
||||
break;
|
||||
case SECCAT_SBSS:
|
||||
named_section (NULL_TREE, ".sbss", reloc);
|
||||
named_section (decl, ".sbss", reloc);
|
||||
break;
|
||||
case SECCAT_TBSS:
|
||||
named_section (NULL_TREE, ".tbss", reloc);
|
||||
named_section (decl, ".tbss", reloc);
|
||||
break;
|
||||
default:
|
||||
abort ();
|
||||
|
|
Loading…
Reference in New Issue