On Wed, 2009-12-30 at 12:41 +0100, Vincent R. wrote: > Some remarks, DLLs produced by cegcc have a weird IAT address because > in Data Directories fields there is : > > Virtual Address Size > 00033198 00000040 > > and this address doesn't even exists. > > > On a dll produced by Visual we get : > Virtual Address Size > 10003000 00000024 > > and 10003000 corresponds to the address of .data section.
I'll look into that. > Finally address are also suspicious because in old days (before all > binutils hacks) sections > had address like 10002000h, 10003000h,... but now it's more 00011000h, > 00012000h,... > Is there any reason image_base has been modified ? This is in binutils/ld/emultempl/pe.em, committed by Pedro in revision 486 (2006-08-30). The comment speaks for itself : #if defined(TARGET_IS_arm_wince_pe) /* Windows CE ignores the image base, but we want to be compatible with MSFT's tools. */ #undef NT_DLL_IMAGE_BASE #define NT_DLL_IMAGE_BASE 0x00010000 #endif Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel