Home
last modified time | relevance | path

Searched hist:d57e19fcbf3f7492974e78cd1dbaf85c67d198ce (Results 1 – 3 of 3) sorted by relevance

/linux/arch/riscv/lib/
H A Dstrcmp.Sdiff d57e19fcbf3f7492974e78cd1dbaf85c67d198ce Tue Jul 09 19:39:35 CEST 2024 Jesse Taube <jesse@rivosinc.com> RISC-V: lib: Add pi aliases for string functions

memset, strcmp, and strncmp are all used in the __pi_ section,
add SYM_FUNC_ALIAS for them.

When KASAN is enabled in <asm/string.h> __pi___memset is also needed.

Suggested-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Jesse Taube <jesse@rivosinc.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240709173937.510084-3-jesse@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
H A Dstrncmp.Sdiff d57e19fcbf3f7492974e78cd1dbaf85c67d198ce Tue Jul 09 19:39:35 CEST 2024 Jesse Taube <jesse@rivosinc.com> RISC-V: lib: Add pi aliases for string functions

memset, strcmp, and strncmp are all used in the __pi_ section,
add SYM_FUNC_ALIAS for them.

When KASAN is enabled in <asm/string.h> __pi___memset is also needed.

Suggested-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Jesse Taube <jesse@rivosinc.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240709173937.510084-3-jesse@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
H A Dmemset.Sdiff d57e19fcbf3f7492974e78cd1dbaf85c67d198ce Tue Jul 09 19:39:35 CEST 2024 Jesse Taube <jesse@rivosinc.com> RISC-V: lib: Add pi aliases for string functions

memset, strcmp, and strncmp are all used in the __pi_ section,
add SYM_FUNC_ALIAS for them.

When KASAN is enabled in <asm/string.h> __pi___memset is also needed.

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