Linking a function with dual entry points
AssigneeInternational Business Machines Corporation
InventorsMichael Karl Gschwind, Ulrich Weigand
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsMichael Karl Gschwind, Ulrich Weigand
Estimating the term…
A method for a static linker to resolve a function call can include identifying, during link time, a first function call of a calling function to a callee function, determining whether the callee function is a local function, determining whether the callee function has a plurality of entry points, and whether an entry point of the plurality of entry points is a local entry point. The method can include resolving, during link time, the first function call to enter the local entry point, which can include replacing a symbol for the function in the first function call with an address of the local entry point during link time. If the callee function cannot be determined to be a local function, the method can include generating stub code and directing the first function call to enter the stub code during link time.
A computer program product for a static linker to resolve a function call, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a computer processor to cause the computer processor to:
A computer system comprising:
Dependencies are inferred from the claim text.