This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
default_section_type_flags and SECTION_SMALL
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Mon, 03 Jan 2005 10:48:23 +0100
- Subject: 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