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_section_type_flags and SECTION_SMALL


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


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