Invention Grant
- Patent Title: Loading optimized local entry points for local-use-only function pointers
-
Application No.: US16114403Application Date: 2018-08-28
-
Publication No.: US10579353B2Publication Date: 2020-03-03
- Inventor: Michael Karl Gschwind , Ulrich Weigand
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Lieberman & Brandsdorfer, LLC
- Main IPC: G06F8/54
- IPC: G06F8/54 ; G06F9/448 ; G06F9/445

Abstract:
Embodiments relate to using a local entry point with an indirect call function. More specifically, an indirect call function configuration comprises a first application module having a target function of the indirect function call, a second application module with a symbolic reference to the target function of the indirect function call, and a third application module to originate an indirect function call. A compiler determines and indicates, in the program code, that the function pointer value resulting from a non-call reference of a function symbol is solely used to perform indirect calls in the same module, e.g. local-use-only. A linker or loader can read the indication the compiler made in the program code. The linker or loader use the local entry point associated with the target function if the target function is defined in the same module as the reference and is local-use-only.
Public/Granted literature
- US20180364995A1 Loading Optimized Local Entry Points for Local-Use-Only Function Pointers Public/Granted day:2018-12-20
Information query