> > > Windows and GCC ABIs are on x86-64 more different than that (they 
was
> > > historically developed in parallel). GCC 4.3 will support attribute 
for
> > > this calling convention contributed by Kai Tiez and Richard 
Henderson,
> > > but before that there is not much to do...
> > Note: My name is Kai Tietz ;) not Tiez
> > 
> > I think, it isn't to hard introducing this attributes to the AMD64 
abi's. 
> > What names should we use for it? I suggest "x86_64_ms" and 
"x86_64_linux". 
> 
> For code bridging MS and GNU codebases (such as wine, or lets say, GNU
> runtime in windows if it ends up with non-MS calling convetions).
> Then you want to use the attributes to call code from foreign world.
> 
> x86_64_linux is probably not very exact - we intended the ABI to be
> generally useful for non-linux or non-GNU system (i.e. specified as
> System V Application Binary Interface AMD64 Architecture Processor
> Supplement with GCC as reference implementation).  I believe Sparc and
> other unixes are more or less following it too.
> 
> For MS I would probably suggest ms_abi (it makes it cleaner that the
> attribute is affecting calling convetion). For our abi I am not sure, we
> can sysv_abi or something else...

I will prepare an patch for it. For me "ms_abi" and "sysv_abi" is fine.

Cheers,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: 
Ulrike Döhler, Manuela Kluger

Reply via email to