Difference between revisions of "Object file"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "In computing, an '''object file''' is a file containing object code, meaning relocatable format machine code that is usually not directly execu...")
 
(No difference)

Latest revision as of 10:27, 10 September 2016

In computing, an object file is a file containing object code, meaning relocatable format machine code that is usually not directly executable.

Description

There are various formats for object files, and the same object code can be packaged in different object files.

An object file also works like a library.

In addition to the object code itself, object files may contain metadata used for linking or debugging, including:

  • information to resolve symbolic cross-references between different modules
  • relocation information
  • stack unwinding information
  • comments
  • program symbols
  • debugging or profiling information

See also

External links