Dongsheng Song <[email protected]> wrote on 19.10.2010 09:17:28:

> On 2010-10-19 14:13, Kai Tietz wrote:
> > Well, all those symbols in msvcrt.def need to be marked by DATA.
> > 
> > Thanks for the list.
> > 
> > Cheers,
> > Kai
> > 
> 
> What's the difference between comment out and marked by DATA ?

The difference is that for code generated by a different compiler (like 
VC), which has in object code references to __imp_<symbol> it can be still 
resolved. The marking by DATA just keeps the __imp_<symbol>, so it is 
still resolvable. If we would simply remove it, those symbols wouldn't be 
any longer being resolvable, which is a major issue in mixing gcc 
(mingw-w64) generated code and other compiler generated code.

Regards,
Kai

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


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to