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: PATCH: Updated version of x86_64-pc-mingw32 support of gcc.


Hi,

On Mon, 19 Mar 2007, Kai Tietz wrote:

> > Just from a quick glance:
> > 
> > > -       ix86_cmodel = flag_pic ? CM_SMALL_PIC : CM_SMALL;
> > > +       ix86_cmodel = (TARGET_64BIT_MS_ABI ? (flag_pic ? CM_MEDIUM_PIC 
> : 
> > > CM_MEDIUM) : (flag_pic ? CM_SMALL_PIC : CM_SMALL));
> > 
> > The ix86_cmodel is there to handle varoius ABI derrivations,
> > perhaps we can use it for MS abi as well?  Ie add CM_MSABI.
> > The MS ABI can then be available with -mcmodel=msabi for projects such
> > as wine.
> 
> The code-model should be LARGE for MS-ABI.

For x86-64?  I pretty much doubt that, given that the image format is 
explicitely restricted to a maximum of 2 GB.  So, the small code model is 
completely enough.


Ciao,
Michael.


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