[ANNOUNCEMENT] Updated: llvm/clang-3.4.2-1

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jul 24 13:58:00 GMT 2014


On Jul 23 21:23, Angelo Graziosi wrote:
> Corinna Vinschen wrote:
> >The default for native Windows applications is the small code model
> >[...]
> >Therefore my
> >collegue Kai Tietz provided GCC with implementations of a medium and
> >large code model
>> Gulp! Seems to re-read the Borland C++/TPascal manuals at the beginning of
> the 1990s... only the huge model is missed (and tiny, obviously..)

It's not that bad. It's just about using a trampolin for symbols not
marked as dllimport/dllexport. The medium and large code models allow
to drop the requirement to mark symbols as DLL symbols and still link
the executable correctly, even in the big 44 bit address room of x86_64.
The problem stems from the fact that the x86_64 64 bit instruction set
doesn't know relative jumps with more than 31 bit displacement.
The only really bad problem is, sombody has to create a patch for clang...
Corinna
-- 
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140724/88d4b60c/attachment.sig>


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /