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 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.


r~


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