[PATCH v5 14/18] riscv: Add RVV strncat for multiarch and non-multiarch

Peter Bergner bergner@tenstorrent.com
Mon Apr 20 15:47:34 GMT 2026


> diff --git a/sysdeps/unix/sysv/linux/riscv/multiarch/strncat.c b/sysdeps/unix/sysv/linux/riscv/multiarch/strncat.c
[snip]
> +riscv_libc_ifunc_redirected (__redirect_strncat, strncat, select_strncat_ifunc);

This is different than the riscv/multiarch/{memset,strcat}.c changes
that use riscv_libc_ifunc().  Can you explain why the need for this
new riscv_libc_ifunc_redirected macro and its use here?  Ie, why doesn't
this just use the same template as the memset and strcat files?

Ditto for the strncpy, strnlen, memcmpeq and memrchr patches.

Peter




More information about the Libc-alpha mailing list