Skip to content

riscv_bfd_tidying_2

Tsukasa OI edited this page Feb 10, 2023 · 3 revisions

Cleaning and Optimization: Linker Relaxation Passes

Issue Solved

Commit 43025f01a0c9 ("RISC-V: Improve link time complexity.") reduced the time complexity of the linker relaxation but some portions did not reflect this feature.

This commit fixes a comment describing each relaxation pass and reduces actual number of passes for the RISC-V linker relaxation from 3 to 2.

Though it does not change the functionality, it marginally improves the performance while linking large programs (with many relocations).

Clone this wiki locally