On Thu, 2009-12-31 at 12:53 +0100, Sébastien Lorquet wrote: > For the sake of my curiosity, in lib7b.objdump, what's the difference > between these two symbols? > > [ 16](sec -1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x01000000 __ImageBase > and > > > [ 34](sec -1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x01000000 __image_base__
Thanks for reminding me, I had seen this but never investigated. This appears to be a hack in ld/emultempl/pe.em (function set_pe_name). When ld sets __image_base__, it duplicates it into __ImageBase. It matches a macro MSIMAGEBASEOFF, whereas __image_base__ matches IMAGEBASEOFF, so it is probably there for compatibility with some MS tool. Using it instead of the other symbol in my test gives no change. Oh well, it was worth a try :-( 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