This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
default_elf_select_section
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 28 Nov 2004 14:20:22 +1030
- Subject: default_elf_select_section
Is there a reason why default_elf_select_section_1 doesn't pass decl
down to named_section? I'm asking because named_section decides on
flags for the section depending on decl. If you don't pass the decl,
targetm.section_type_flags doesn't have enough to work on, and a default
of "aw" tends to be chosen. On powerpc, this causes assembler warnings
when choosing .sdata2.
--
Alan Modra
IBM OzLabs - Linux Technology Centre