encyclopegia.org

Object file

An object file is a file that contains machine code or bytecode, as well as other data and metadata, generated by a compiler or assembler from source code during the compilation or assembly process. The machine code that is generated is known as object code. The object code is usually relocatable, and not usually directly executable. There are various formats for object files, and the same machine code can be packaged in different object file formats. An object file may also work like a shared library. The metadata that object files may include can be used for linking or debugging; it includes information to resolve symbolic cross-references between different modules, relocation information, stack unwinding information, comments, program symbols, and debugging or profiling information. Other metadata may include the date and time of compilation, the compiler name and version, and other identifying information. The term "object program" dates from at least the 1950s: A linker is used to combine the object code into one executable program or library pulling in precompiled system libraries as needed.

An object file is a file that contains machine code or bytecode, as well as other data and metadata, generated by a compiler or assembler from source code during the compilation or assembly process. The machine code that is generated is known as object code. The object code is usually relocatable, and not usually directly executable. There are various formats for object files, and the same machine code can be packaged in different object file formats. An object file may also work like a shared library. The metadata that object files may include can be used for linking or debugging; it includes information to resolve symbolic cross-references between different modules, relocation information, stack unwinding information, comments, program symbols, and debugging or profiling information. Other metadata may include the date and time of compilation, the compiler name and version, and other identifying information. The term "object program" dates from at least the 1950s: A linker is used to combine the object code into one executable program or library pulling in precompiled system libraries as needed. ===Absolute files=== Many early computers, or small microcomputers, support only an absolute object format. Programs are not relocatable; they need to be assembled or compiled to execute at specific, predefined addresses. The file contains no relocation or linkage information. These files can be loaded into read/write memory, or stored in read-only memory. For example, the Motorola 6800 MIKBUG monitor contains a routine to read an absolute object file (SREC Format) from paper tape. DOS COM files are a more recent example of absolute object files. ==References== ==Further reading== Code: [ftp://ftp.iecc.com/pub/linker/] Errata: * (NB. Description of the Microsoft REL file format for relocatable objects, also used by Digital Research.) [https://www.seasip.info/Cpm/amsfid.html#PRL%20file%20format (16 pages) (1+23 pages) (1 page) (NB. Describes the history and relationship of IEEE 695 with CUFOM and MUFOM.) (NB. Supersedes IEEE 695-1985 (1985-09-09)).

References

  1. FatELF: Universal Binaries for Linux · retrieved 2020-08-01 · rev 1375395570
    Cite this reference

    MLA "FatELF: Universal Binaries for Linux." 2020-08-01. http://icculus.org/fatelf/. Accessed 24 November 2026.

    Chicago "FatELF: Universal Binaries for Linux." 2020-08-01. http://icculus.org/fatelf/.

    APA encyclopegia.org. (2020). FatELF: Universal Binaries for Linux. Retrieved November 24, 2026, from http://icculus.org/fatelf/

  2. Godse, Deepali A.; Godse, Atul P. (2008). Microprocessor (1 ed.). Pune, India: Technical Publications. pp. 3– 15. ISBN 978-81-8431-355-0 . Wikipedia revision 1375395570, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1375395570
    Cite this reference

    MLA "Godse, Deepali A.; Godse, Atul P. (2008). Microprocessor (1 ed.). Pune, India: Technical Publications. pp. 3– 15. ISBN 978-81-8431-355-0 . Wikipedia revision 1375395570, retrieved 2026-11-18." Godse, Deepali A. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 24 November 2026.

    Chicago "Godse, Deepali A.; Godse, Atul P. (2008). Microprocessor (1 ed.). Pune, India: Technical Publications. pp. 3– 15. ISBN 978-81-8431-355-0 . Wikipedia revision 1375395570, retrieved 2026-11-18." Godse, Deepali A. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier).

    APA Godse, Deepali A. (2026). Godse, Deepali A.; Godse, Atul P. (2008). Microprocessor (1 ed.). Pune, India: Technical Publications. pp. 3– 15. ISBN 978-81-8431-355-0 . Wikipedia revision 1375395570, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)

  3. IBM OS Linkage Editor and Loader (PDF) . IBM Corporation . 1973. p. 16 . Retrieved 2012-08-06 . Wikipedia revision 1375395570, retrieved 2026-11-18 · retrieved 2012-08-05 · rev 1375395570
    Cite this reference

    MLA "IBM OS Linkage Editor and Loader (PDF) . IBM Corporation . 1973. p. 16 . Retrieved 2012-08-06 . Wikipedia revision 1375395570, retrieved 2026-11-18." IBM OS Linkage Editor and Loader (PDF). 2012-08-05. http://www.bitsavers.org/pdf/ibm/360/os/R21.7_Apr73/GC28-6538-10_Linkage_Editor_Rel_21_Apr73.pdf. Accessed 24 November 2026.

    Chicago "IBM OS Linkage Editor and Loader (PDF) . IBM Corporation . 1973. p. 16 . Retrieved 2012-08-06 . Wikipedia revision 1375395570, retrieved 2026-11-18." IBM OS Linkage Editor and Loader (PDF). 2012-08-05. http://www.bitsavers.org/pdf/ibm/360/os/R21.7_Apr73/GC28-6538-10_Linkage_Editor_Rel_21_Apr73.pdf.

    APA IBM OS Linkage Editor and Loader (PDF). (2012). IBM OS Linkage Editor and Loader (PDF) . IBM Corporation . 1973. p. 16 . Retrieved 2012-08-06 . Wikipedia revision 1375395570, retrieved 2026-11-18. Retrieved November 24, 2026, from http://www.bitsavers.org/pdf/ibm/360/os/R21.7_Apr73/GC28-6538-10_Linkage_Editor_Rel_21_Apr73.pdf

  4. Irvine, Kip R. (1993). Assembly language for the IBM-PC (2 ed.). New York, USA: Macmillan. ISBN 0-02-359651-1 . Wikipedia revision 1375395570, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1375395570
    Cite this reference

    MLA "Irvine, Kip R. (1993). Assembly language for the IBM-PC (2 ed.). New York, USA: Macmillan. ISBN 0-02-359651-1 . Wikipedia revision 1375395570, retrieved 2026-11-18." Irvine, Kip R. 2026-11-17. https://archive.org/details/assemblylanguage0000irvi. Accessed 24 November 2026.

    Chicago "Irvine, Kip R. (1993). Assembly language for the IBM-PC (2 ed.). New York, USA: Macmillan. ISBN 0-02-359651-1 . Wikipedia revision 1375395570, retrieved 2026-11-18." Irvine, Kip R. 2026-11-17. https://archive.org/details/assemblylanguage0000irvi.

    APA Irvine, Kip R. (2026). Irvine, Kip R. (1993). Assembly language for the IBM-PC (2 ed.). New York, USA: Macmillan. ISBN 0-02-359651-1 . Wikipedia revision 1375395570, retrieved 2026-11-18. Retrieved November 24, 2026, from https://archive.org/details/assemblylanguage0000irvi

  5. Appendix E. The ELF Binary Format · retrieved 2020-07-31 · rev 1375395570
    Cite this reference

    MLA "Appendix E. The ELF Binary Format." Mauerer, Wolfgang (2010). 2020-07-31. https://books.google.com/books?id=-6zvRFEfQ24C&pg=PT1137. Accessed 24 November 2026.

    Chicago "Appendix E. The ELF Binary Format." Mauerer, Wolfgang (2010). 2020-07-31. https://books.google.com/books?id=-6zvRFEfQ24C&pg=PT1137.

    APA Mauerer, Wolfgang (2010). (2020). Appendix E. The ELF Binary Format. Retrieved November 24, 2026, from https://books.google.com/books?id=-6zvRFEfQ24C&pg=PT1137

  6. Wiles, Mike; Felix, Andre. MCM6830L7 MIKBUG/MINIBUG ROM (PDF) . Motorola Semiconductor Products, Inc . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18 · retrieved 2020-07-30 · rev 1375395570
    Cite this reference

    MLA "Wiles, Mike; Felix, Andre. MCM6830L7 MIKBUG/MINIBUG ROM (PDF) . Motorola Semiconductor Products, Inc . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18." Wiles, Mike; Felix, Andre. 2020-07-30. http://bitsavers.org/components/motorola/6800/Engineering_Note_100_MCM6830L7_MIKBUG_MINBUG_ROM_Jul77.pdf. Accessed 24 November 2026.

    Chicago "Wiles, Mike; Felix, Andre. MCM6830L7 MIKBUG/MINIBUG ROM (PDF) . Motorola Semiconductor Products, Inc . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18." Wiles, Mike; Felix, Andre. 2020-07-30. http://bitsavers.org/components/motorola/6800/Engineering_Note_100_MCM6830L7_MIKBUG_MINBUG_ROM_Jul77.pdf.

    APA Wiles, Mike; Felix, Andre. (2020). Wiles, Mike; Felix, Andre. MCM6830L7 MIKBUG/MINIBUG ROM (PDF) . Motorola Semiconductor Products, Inc . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18. Retrieved November 24, 2026, from http://bitsavers.org/components/motorola/6800/Engineering_Note_100_MCM6830L7_MIKBUG_MINBUG_ROM_Jul77.pdf

  7. Wrubel, Marshal H. (1959). A primer of programming for digital computers . New York, USA: McGraw-Hill . p. 222 . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18 · retrieved 2020-07-30 · rev 1375395570
    Cite this reference

    MLA "Wrubel, Marshal H. (1959). A primer of programming for digital computers . New York, USA: McGraw-Hill . p. 222 . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18." Wrubel, Marshal H. 2020-07-30. https://catalog.hathitrust.org/Record/000429866. Accessed 24 November 2026.

    Chicago "Wrubel, Marshal H. (1959). A primer of programming for digital computers . New York, USA: McGraw-Hill . p. 222 . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18." Wrubel, Marshal H. 2020-07-30. https://catalog.hathitrust.org/Record/000429866.

    APA Wrubel, Marshal H. (2020). Wrubel, Marshal H. (1959). A primer of programming for digital computers . New York, USA: McGraw-Hill . p. 222 . Retrieved 2020-07-31 . Wikipedia revision 1375395570, retrieved 2026-11-18. Retrieved November 24, 2026, from https://catalog.hathitrust.org/Record/000429866

  8. Universal Binaries and 32-bit/64-bit PowerPC Binaries · retrieved 2026-11-17 · rev 1375395570
    Cite this reference

    MLA "Universal Binaries and 32-bit/64-bit PowerPC Binaries." 2026-11-17. https://web.archive.org/web/20140904004108/https://developer.apple.com/library/mac/documentation/developertools/conceptual/MachORuntime/Reference/reference.html#//apple_ref/doc/uid/20001298-154889. Accessed 24 November 2026.

    Chicago "Universal Binaries and 32-bit/64-bit PowerPC Binaries." 2026-11-17. https://web.archive.org/web/20140904004108/https://developer.apple.com/library/mac/documentation/developertools/conceptual/MachORuntime/Reference/reference.html#//apple_ref/doc/uid/20001298-154889.

    APA encyclopegia.org. (2026). Universal Binaries and 32-bit/64-bit PowerPC Binaries. Retrieved November 24, 2026, from https://web.archive.org/web/20140904004108/https://developer.apple.com/library/mac/documentation/developertools/conceptual/MachORuntime/Reference/reference.html#//apple_ref/doc/uid/20001298-154889

Cite this article

MLA

"Object file." encyclopegia.org, 2026, https://encyclopegia.org/wiki/object-file. Accessed 24 November 2026.

Chicago

"Object file." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/object-file.

APA

encyclopegia.org. (2026). Object file. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/object-file

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Digital Object Identifier

article · references available

Electronic Object Identifier

article · references available

trans-Neptunian object

stub · references available

Messier object

stub · references available

File Allocation Table

stub · references available

binary file

stub · references available

System File Checker

stub · references available

object

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375395570 · 0.5 · snapshot enwiki-001375395570

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.