default_elf_select_section

Alan Modra amodra@bigpond.net.au
Sun Nov 28 08:06:00 GMT 2004


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



More information about the Gcc mailing list