Patent ID: 6298479
Filing Date: 2001-10-02
Classification: G06F

Abstract:
A method of compiling and linking a source file, the method comprising:generating, using a compiler, global variable information pertaining to at least one global variable referenced in a source file;generating, using the compiler, a first object file from the source file, where the object file includes the global variable information;linking the first object file with a second object file to generate an executable file;generating, during the linking process, a composite symbol table having a symbol entry for each global variable in the linked object files;examining, during the linking process, the composite symbol table and determining if at least one variable conflict occurs;generating, during or after the linking process, a composite relocation table having at least one relocation entry for resolving at least one variable conflict determined during examination of the composite symbol table; andperforming, during or after the linking process, a relocation operation according to at least one relocation entry in the composite relocation table.