This is the mail archive of the
mailing list for the GCC project.
Re: Medium model support for x86-64
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Fri, 5 Nov 2004 18:40:24 -0800
- Subject: Re: Medium model support for x86-64
- References: <20041106021221.GM28016@kam.mff.cuni.cz>
On Sat, Nov 06, 2004 at 03:12:21AM +0100, Jan Hubicka wrote:
> + #ifndef TARGET_IN_LARGE_DATA_P
> + #define TARGET_IN_LARGE_DATA_P hook_bool_tree_false
> + #endif
I don't think you should need this, or anything associated with it.
I would think that you could implement all of this with the
select_section and unique_section hooks.
> + /* Flag to mark data that is in the small address area (addressable
> + via "addl", that is, within a 2GByte offset of 0. */
> + #define SYMBOL_FLAG_FAR_ADDR (SYMBOL_FLAG_MACH_DEP << 0)
Sense of the comment is wrong.
The rest of the actual x86 changes looks fine.