COFF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
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.
  
==Overview==
+
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.
'''COFF''' (Common Object File Format) 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.
+
 
+
Nowadays, remnants of COFF can be found almost exclusively in the [[PE|PE-EXE format]], which is based on COFF.
+
  
 
==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

File Format
Name COFF
Ontology

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

  • Texas Instruments has a nice overview of the COFF format
  • Since DJGPP uses a variant of COFF, they also have a summary available here
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox