Share on Facebook Share on Twitter Email
Answers.com

object code

 
Dictionary: object code

n.
The code produced by a compiler from the source code, usually in the form of machine language that a computer can execute directly, or sometimes in assembly language.


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics

The machine language representation of programming source code. Object code is created by a compiler and is then turned into executable code by the linker. This is an early term that has no relationship to object technology. See linker, executable code, machine language and object-oriented programming.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

WordNet: object code
Top
Note: click on a word meaning below to see its connections and related words.

The noun has one meaning:

Meaning #1: the machine-language output of a compiler that is ready for execution on a particular computer


Wikipedia: Object file
Top

In computer science, an object file is an organised collection of named objects, and typically these objects are sequences of computer instructions in a machine code format, which may be directly executed by a computer's CPU. Object files are typically produced by a compiler as a result of processing a source code file. Object files contain compact code, and are often called "binaries". A linker is typically used to generate an executable or library by amalgamating parts of object files together. Object files for embedded systems typically contain nothing but machine code but generally, object files also contain data for use by the code at runtime: relocation information, stack unwinding information, comments, program symbols (names of variables and functions) for linking and/or debugging purposes, and other debugging information.

Contents

Object file formats

An object file format is a computer file format used for the storage of object code and related data typically produced by a compiler or assembler.

There are many different object file formats; originally each type of computer had its own unique format, but with the advent of Unix and other portable operating systems, some formats, such as COFF and ELF, have been defined and used on different kinds of systems. It is common for the same file format to be used both as linker input and output, and thus as the library and executable file format[citation needed].

The design and/or choice of an object file format is a key part of overall system design. It affects the performance of the linker and thus programmer turnaround while developing. If the format is used for executables, the design also affects the time programs take to begin running, and thus the responsiveness for users. Most object file formats are structured as blocks of data, each block containing a certain type of data. These blocks can be paged in as needed by the virtual memory system, needing no further processing to be ready to use.

The simplest object file format is the DOS .COM format, which is simply a file of raw bytes that is always loaded at a fixed location. Other formats are an elaborate array of structures and substructures whose specification runs to many pages.

Debugging information may either be an integral part of the object file format, as in COFF, or a semi-independent format which may be used with several object formats, such as stabs or DWARF.

The GNU Project's BFD library provides a common API for the manipulation of object files in a variety of formats.

Types of data supported by typical object file formats:

Notable object file formats

  • OpenVMS
    • ELF
    • DWARF - Debugging and Traceback information format.

See also

References


 
 

 

Copyrights:

Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.  Read more
Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2009 Computer Language Company Inc.  All rights reserved.  Read more
WordNet. WordNet 1.7.1 Copyright © 2001 by Princeton University. All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Object file" Read more