This is the mail archive of the gcc-patches@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]

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.


r~


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