On Fri, Oct 31, 2025 at 12:48:28PM +0000, Robert Clausecker wrote:
> The branch main has been updated by fuz:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=63ff982b17ee398c7808be323d8fd37819a5863c
>
> commit 63ff982b17ee398c7808be323d8fd37819a5863c
> Author: Strahinja Stanišić <[email protected]>
> AuthorDate: 2024-10-24 16:29:04 +0000
> Commit: Robert Clausecker <[email protected]>
> CommitDate: 2025-10-31 12:47:57 +0000
>
> simd.7: add scalar strrchr() for RISC-V to manpage
>
> MFC after: 1 month
> MFC to: stable/15
> Approved by: mhorne, markj (mentor)
> Sponsored by: Google LLC (GSoC 2024)
> Differential Revision: https://reviews.freebsd.org/D47275
> ---
> lib/libc/riscv/string/strrchr.S | 3 +++
> share/man/man7/simd.7 | 15 +++++++++------
> 2 files changed, 12 insertions(+), 6 deletions(-)
>
> diff --git a/lib/libc/riscv/string/strrchr.S b/lib/libc/riscv/string/strrchr.S
> index 51f34ca21fac..e922a692e77f 100644
> --- a/lib/libc/riscv/string/strrchr.S
> +++ b/lib/libc/riscv/string/strrchr.S
> @@ -6,6 +6,9 @@
>
> #include <machine/asm.h>
>
> + .weak rindex
> + .set rindex, strrchr
> +
Was this alias addition intended?