Browse Prior Art Database

Technique for Linking 32-bit Object Files and 64-bit Object Files into a Single Executable

IP.com Disclosure Number: IPCOM000123547D
Original Publication Date: 1999-Jan-01
Included in the Prior Art Database: 2005-Apr-05
Document File: 1 page(s) / 34K

Publishing Venue

IBM

Related People

Nallapati, KV: AUTHOR [+2]

Abstract

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.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 84% of the total text.

Technique for Linking 32-bit Object Files and 64-bit Object Files
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
output file.

   This disclosure 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.

   The algorithms 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
object fi...