From nobody Sat Nov 01 18:17:40 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4czR0Y6Llkz6DdyB; Sat, 01 Nov 2025 18:17:49 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4czR0Y3YlFz47y1; Sat, 01 Nov 2025 18:17:49 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.18.1/8.18.1) with ESMTPS id 5A1IHeDL050080 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 1 Nov 2025 19:17:40 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.18.1/8.18.1/Submit) id 5A1IHekW050079; Sat, 1 Nov 2025 19:17:40 +0100 (CET) (envelope-from fuz) Date: Sat, 1 Nov 2025 19:17:40 +0100 From: Robert Clausecker To: Konstantin Belousov Cc: Robert Clausecker , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 63ff982b17ee - main - simd.7: add scalar strrchr() for RISC-V to manpage Message-ID: References: <202510311248.59VCmSpY042422@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4czR0Y3YlFz47y1 Hi Kib, Am Sat, Nov 01, 2025 at 08:00:47PM +0200 schrieb Konstantin Belousov: > On Sat, Nov 01, 2025 at 11:48:19AM +0100, Robert Clausecker wrote: > > Hi kib, > > > > Am Sat, Nov 01, 2025 at 05:39:49AM +0200 schrieb Konstantin Belousov: > > > On Fri, Oct 31, 2025 at 12:48:28PM +0000, Robert Clausecker wrote: > > > > #include > > > > > > > > + .weak rindex > > > > + .set rindex, strrchr > > > > + > > > Was this alias addition intended? > > > > Yes, this is intentional. See also lib/lib/{aarch64,amd64}/string/strrchr.S. > > Ok, let me reformulate my question. > Was the 'rindex' symbol exported from libc on riscv before your commit? > > I remember that there was some effort to not provide 'obsoleted' exports > from libc on the new arches like aarch64 and riscv. As far as I know, yes. lib/libc/strrchr.c provides the same alias. Yours, Robert Clausecker -- () ascii ribbon campaign - for an encoding-agnostic world /\ - against html email - against proprietary attachments