default_section_type_flags and SECTION_SMALL
Jan Beulich
JBeulich@novell.com
Mon Jan 3 09:47:00 GMT 2005
Is there a particular reason why default_section_type_flags (in
varasm.c) makes no attempt to set SECTION_SMALL, while
default_elf_asm_named_section (also in varasm.c) consumes this? IA64,
for this reason, doesn't set the 'short' attribute on .gnu.linkonce.s*
sections (and depends on non-ABI-mandated assembler functionality for
.sdata.* and .sbss.*), and mips-*-irix* also has to special case this,
but appearantly that code is not fully in sync with
default_unique_section (.sdata.* and .sbss.* don't get handled); other
architectures' *_in_small_data_p seem to not account for all
possibilities, too (so there might be a point in generalizing that
function, too).
Thanks, Jan
More information about the Gcc
mailing list