Shared libraries implemented with linking program loader
AssigneeHewlett-Packard Company
InventorSamuel C. Sands
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Company
InventorSamuel C. Sands
Estimating the term…
A method and apparatus for running a computer program containing references to a library utilizes a load time linker to insert addresses of referenced library items directly into the program code at run-time. The linking loader causes a delay that is not objectionable to the user. The method includes the steps of maintaining in computer memory a shared library including library items and a library symbol table. A relocatable file representing the computer program is loaded into the computer memory when the computer program is to be run. Addresses of library items that are referenced in the program code are found in the library symbol table, and the addresses of the library items are inserted directly into the program code of the relocatable file in computer memory. After the relocatable file is loaded from disk to memory, all operations are performed in computer memory, resulting in high speed operation. Addresses of library items are preferably found by comparing an alphabetically sorted program symbol table with an alphabetically sorted library symbol table.
In a computer system comprising an electronic digital computer including a central processing unit, a computer memory and a disk storage unit, and computer software including one or more computer programs for operating said computer, a method for utilizing a library in said one or more computer programs, comprising the steps of:
In a computer system comprising an electronic digital computer including a central processing unit, a computer memory and a disk storage unit, and computer software including at least two computer programs for operating said computer, a method for utilizing a library in said two or more computer programs, comprising the steps of:
Dependencies are inferred from the claim text.