This is the mail archive of the
mailing list for the GCC project.
Re: Medium model support for x86-64
On Sat, Nov 06, 2004 at 07:44:04AM +0100, Jan Hubicka wrote:
> This is where I started, but it resulted in quite a lot of code
> dupplication (such as cathegorize_decl_for_section, the code setting
> flags and default_elf_select_sections),
You shouldn't have to duplicate much at all. Call
categorize_decl_for_section, notice the three relevant types,
check the object size, do the large thing, else call back to
the default select section.