PE vs ELF
Posted: Thu Jul 31, 2008 10:00 am
Which are pros and cons of PE and ELF file formats when they are used for executables, shared libraries and device drivers?
Vote and give your opinion!
Vote and give your opinion!
...requiring work on all parts of the toolchain involved to support the new format.zhak wrote:a new executable file format may be implemented for new OS.
PE: Designed by Microsoft for Windows. Really useful for executable files on Windows clones.Jeko wrote:Which are pros and cons of PE and ELF file formats when they are used for executables, shared libraries and device drivers?
For me, the PE format looks much more simple. It is true that relocating an image (shared library) is required when the image cannot shared between two processes, but I don't think it is *that* slow (AMD64 has even RIP-relative addressing, which makes some of the relocations go away). Of course you have to watch out for some differing fields between PE and PE+ when targeting the x64 platform. And it has some Windows-specific stuff, all of which can safely be ignored.Jeko wrote:Which are pros and cons of PE and ELF file formats when they are used for executables, shared libraries and device drivers?
Vote and give your opinion!