COFF
From Just Solve the File Format Problem
(Difference between revisions)
m (→Overview) |
|||
Line 3: | Line 3: | ||
|subcat=Executables | |subcat=Executables | ||
}} | }} | ||
+ | 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. | |
− | + | ||
− | + | ||
− | + | ||
==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] |
Revision as of 16:17, 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.