Technique for Linking 32-bit Object Files and 64-bit Object Files into a Single Executable
Original Publication Date: 1999-Jan-01
Included in the Prior Art Database: 2005-Apr-05
Nallapati, KV: AUTHOR [+2]
AbstractDisclosed is a technique for linking a mixture of 32-bit and 64-bit object files, creating a single executable that contains the code and data from all of the input object files.
Technique for Linking 32-bit Object Files and 64-bit
into a Single Executable
Disclosed is a
technique for linking a mixture of 32-bit
and 64-bit object files, creating a single executable that contains
the code and data from all of the input object files.
In most computer
systems, a program called the
"link-editor" allows multiple object files to be combined into an
executable. The link-editor reads the object file headers and symbol
tables of the input files and uses the information to construct an
describes a new way of implementing a
link-editor so that both 32-bit and 64-bit object files can be linked
into a single executable. The technique requires converting header
and symbol table information from all input object files into a
common internal format. The internal format is defined so that
fields are large enough to contain addresses and other values from a
64-bit object file.
used by conventional link-editors to
resolve and relocate symbols are usually independent of the format of
the input object files. Therefore, once symbol table information has
been converted into object-file-independent internal data structures,
the new link-editor can continue to use its conventional algorithms.
Once the symbol
resolution and relocation is complete, the
link-editor writes the output file, using the internal data
structures to determine how to copy the text and data from the input