Patent ID: 9250881
Filing Date: 2016-02-02
CPC Classification: G06F

Claim Text:
1. A computer program product comprising a non-transitory computer readable storage medium having program instructions embodied thereon, the program instructions readable by a processor circuit, which when executed by the processor circuit, cause the processor circuit to execute a loader having a resolver for performing operations comprising: receiving a first request related to an object, the object having an unresolved symbol corresponding with a direct first function call in a first module of the object, the first request being a request to resolve the symbol; resolving the symbol by: returning a first callee function entry point associated with a first property of the two or more properties when the first function call has the first property, wherein the first callee function entry point is for storing as an entry in a program linkage table (PLT) for the first function call, and wherein the first property is that the first and second modules are the same modules and the first callee function entry point is a local entry point; returning a second callee function entry point associated with a second property of the two or more properties when the first function call has the second property, wherein the second callee function entry point is for storing as the entry in the PLT for the first function call, and wherein the second property is that the first and second modules are the different modules and the second callee function entry point is a global entry point; and returning a preferred callee function entry point when it is determined that the first function call corresponds with two properties of the two or more properties, wherein the preferred callee function entry point is selected for storing as the entry in the PLT for the first function call, and one of the first and second callee function entry points is the preferred callee function entry point.