Patent Number: 6,298,479

Title: Method and system for compiling and linking source files

Abstract: A system, method and computer program product for compiling and linking a source file and to generate a symbol table associating a global symbol with a register referenced in the source file. The symbol table enables a linker to initialize the global registers using a relocation entry which holds an initializer. The compiler also generates an object file from the source file. The object file includes the global symbol information. A linker links the object file potentially with at least one other object file or shared library to thereby generate an executable file or shared library. The linker uses the global symbol information contained in the object file to initialize the global registers and to perform relocation operations.

Inventors: Chessin; Stephen Alan (Mountain View, CA), Evans; Rodrick Ison (Menlo Park, CA), Walker; Michael S. (Los Altos, CA)

Assignee: Sun Microsystems, Inc.

International Classification: G06F 9/445 (20060101); G06F 9/45 (20060101); G06F 009/45 ()

Expiration Date: 10/02/2018