Home
last modified time | relevance | path

Searched hist:"14 c3ec67236b2d90c553d2575950369aa6fa43c5" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/riscv/kernel/pi/
H A DMakefilediff 14c3ec67236b2d90c553d2575950369aa6fa43c5 Tue Jul 09 19:39:34 CEST 2024 Jesse Taube <jesse@rivosinc.com> RISC-V: pi: Force hidden visibility for all symbol references

Eliminate all GOT entries in the .pi section, by forcing hidden
visibility for all symbol references, which informs the compiler that
such references will be resolved at link time without the need for
allocating GOT entries.

Include linux/hidden.h in Makefile, like arm64, for the
hidden visibility attribute.

Signed-off-by: Jesse Taube <jesse@rivosinc.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240709173937.510084-2-jesse@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>