You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GOT-based PIC is a similar concept, but using GOT to implement PIC. For ARM chips, register R9 can be used as pointer to GOT, this is useful when trying to implment xip elf-loader, which will not load .text and .rodata into ram. We implment linux support for CortexM MCU chips with low sram resources by this feature.
But for Riscv, in riscv-elf.adoc, it seems Tag_RISCV_x3_reg_usage does not support this. How to add this feature for riscv?
The text was updated successfully, but these errors were encountered:
I find an issue about Embedded PIC at #128 (comment).
GOT-based PIC is a similar concept, but using GOT to implement PIC. For ARM chips, register R9 can be used as pointer to GOT, this is useful when trying to implment xip elf-loader, which will not load .text and .rodata into ram. We implment linux support for CortexM MCU chips with low sram resources by this feature.
But for Riscv, in riscv-elf.adoc, it seems Tag_RISCV_x3_reg_usage does not support this. How to add this feature for riscv?
The text was updated successfully, but these errors were encountered: