The present application discloses a dynamic link call
conversion method and device, wherein the method includes: if, when performing symbol resolution and binding for a first component, the first component is dynamically linked to a first symbol in a first dynamic link
library, and the first symbol has not established a dynamic link symbol binding relationship with the first component, and the first component and the first dynamic link
library use different calling conventions, then a dynamic
linker generates a first table entry in a call conversion table, the first table entry includes a first instruction and a second instruction, the first instruction is used to instruct to load the first address of the first symbol in the memory to a specified first storage container, and the second instruction is used to instruct to jump to a call converter; the dynamic
linker fills the second address of the first table entry in the memory into the second table entry in the default GOT table; the default GOT table belongs to the first component, thereby achieving the effect of call conversion across calling conventions without the need for manual intervention by the
programmer or recompiling the program.