CROSS-LINKING METHOD AND APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM
The present application provides a cross-linking method and apparatus, an electronic device and a storage medium. The method includes: modifying a register address in a first operation instruction of a library function after the register address in the first operation instruction hits a preset mappi...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present application provides a cross-linking method and apparatus, an electronic device and a storage medium. The method includes: modifying a register address in a first operation instruction of a library function after the register address in the first operation instruction hits a preset mapping table, wherein the mapping table includes a mapping relationship between a target register address of a main program and the register address of the library function, the target register address of the main program is increased to a first address bit number, the register address in the operation instruction of the library function has a second address bit number, the first address bit number is greater than the second address bit number, and the modified register address in the first operation instruction is the target register address of the corresponding main program in the mapping table; and migrating the modified first operation instruction into the main program. In this way, a worker may not be required to upgrade all compilers generating library functions to the first address bit number, thus reducing a workload of the worker, and accelerating a development process of a subsequent project. |
---|