This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]