can assume that it is in the same shared library is just a direct "call"
instructions. Similarly for variables: A reference to a global variable
fetches a pointer in the so-called GOT (global offset table); this pointer
can assume that it is in the same shared library is just a direct "call"
instructions. Similarly for variables: A reference to a global variable
fetches a pointer in the so-called GOT (global offset table); this pointer
load instructions. Whereas for a variable which is known to reside in the
same shared library, it is just a direct memory access: one memory load
instruction.
load instructions. Whereas for a variable which is known to reside in the
same shared library, it is just a direct memory access: one memory load
instruction.