Community
Participate
Working Groups
Created attachment 189194 [details] a 32bit executable generated with cygwin on Windows XP Hi, I have a 32 bit executable generated with cywin on WindowsXP (with gcc 4.3.4). I had a look on the way CygwinPEBinaryObject loads symbols of this binary file, and found some strange things. For example, according to CygwinPEBinaryObject, symbol "_mainCRTStartup" is located at address "0x400200". However, the cygwin binutils do not give the same result: $ nm a.exe | grep _mainCRTStartup 00401000 T _mainCRTStartup Do I miss something ? Xavier
In other words, there is an offset of 0xe00 between symbol addresses given by "nm" and symbol addresses given by CygwinPEBinaryObject X
I quickly debugged this with CDT 7.0.2 and for me the CygwinPEBinaryObject assigns a value of 4198400 (0x401000) for _mainCRTStartup.
Hi, I investigate deeper on that, and I found that this bug has been fixed by revision 1.27 of org.eclipse.cdt.utils.coff.PE. So it's fixed in CDT 7.0 I mark the bug a closed/fixed.
duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=291840
Thanks for the update. *** This bug has been marked as a duplicate of bug 291840 ***