|
From: Kai T. <kti...@go...> - 2012-10-12 16:39:17
|
2012/10/12 Dongsheng Song <don...@gm...>: > On Fri, Oct 12, 2012 at 11:39 PM, Kai Tietz <kti...@go...> wrote: >> >> 2012/10/12 Dieter Verfaillie <di...@op...>: >> > On 2012-10-12 05:51, Dongsheng Song wrote: >> >> Hi, >> >> >> >> What's the difference between pe and pei ? >> > >> > This nugget of info might be useful. Start reading from line 40: >> > http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libpei.h?annotate=1.25&cvsroot=src >> > >> > mvg, >> > Dieter >> >> Hmm, not sure if that description is very understandable. pe-coff is >> the PECOFF object file format, and pei-coff is the PECOFF IMAGE >> format. One difference is that within object-files long sections >> names are allowed, but in final-image they are not (yes, they get >> emulated, but they aren't supported by spec). >> >> Regards, >> Kai >> > > In practice, MinGW64 gcc only generate pe-i386 and pe-x86-64 format > exe/dll files ? > > Regards, > Dongsheng Huh? What the heck it has to do with MinGW64? pe-* is object-file format, pei-* is image-file format. And this is true for all flavors of coff using binutils. Regards, Kai |