COFF
From Just Solve the File Format Problem
(Difference between revisions)
m (add navigation) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | { | + | {{FormatInfo |
− | | | + | |formattype=electronic |
− | | | + | |subcat=Executables |
− | | | + | |extensions={{ext|o}} |
− | | | + | }} |
− | + | The '''Common Object File Format''' ('''COFF''') is a format used for object code and executables. It was originally developed for UNIX System V by AT&T. It was intended as a replacement for [[a.out]], adding features like shared libraries and relocation records, but it was shortly after replaced by the [[ELF]] format. The COFF format has many incompatible extensions. | |
− | + | ||
− | + | ||
− | + | ||
− | + | The [[Portable Executable]] format is based on COFF. COFF is also the native object format of the DJGPP toolchain; executables produced by it are COFF files with an [[MZ]] stub prepended. | |
− | The | + | |
− | + | ||
− | + | ||
==References== | ==References== | ||
* Texas Instruments has a nice [http://www.ti.com/lit/an/spraao8/spraao8.pdf overview] of the COFF format | * Texas Instruments has a nice [http://www.ti.com/lit/an/spraao8/spraao8.pdf overview] of the COFF format | ||
− | * Since DJGPP uses a variant of COFF , they also have a summary available [http://www.delorie.com/djgpp/doc/coff/ here] | + | * Since DJGPP uses a variant of COFF, they also have a summary available [http://www.delorie.com/djgpp/doc/coff/ here] |
Latest revision as of 16:18, 12 September 2016
The Common Object File Format (COFF) is a format used for object code and executables. It was originally developed for UNIX System V by AT&T. It was intended as a replacement for a.out, adding features like shared libraries and relocation records, but it was shortly after replaced by the ELF format. The COFF format has many incompatible extensions.
The Portable Executable format is based on COFF. COFF is also the native object format of the DJGPP toolchain; executables produced by it are COFF files with an MZ stub prepended.