From nobody Thu Mar 21 23:50:14 2024 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 4V12JQ2cwHz5F5Sk; Thu, 21 Mar 2024 23:50:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V12JQ25cTz4qv2; Thu, 21 Mar 2024 23:50:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711065014; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jNN28Vq3jn+O9kw0OOLt2ZDQ2kKIkCYcreNBWjJ3WrA=; b=DcSk/y8VcSLKK+0OT02DXdsuX/YEOzSVaIDvIbJJmPhYUgH+VwxZJ4DD2ugM49YsN9ZGei eQDQzYzq15T5u7XdUFAazU/Dhvf6DDIZRxG1xQBnV1/dR9AvwsBHpbCBs36YZsNVNee8O1 Q0eJ7POiHUIjuyT5VNPXi3Wu8nN6aidpCzdRDW0EiantC6XA0vvbr2jf2iKiVo4ZdkMhEr 34F2PsncxMKrUe49KgbaWiCc1kIsrysnQnJi+uscAlk+tDwGjXRcbA59NRS8lfKKulGlJu JBFp7deXXmBL5eOSFF3mQHx5FC7t91XP0JIK/h67KFAMpKokaT7Dy4fD/2SK4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711065014; a=rsa-sha256; cv=none; b=NpNSO4Zm9z9fXjpNFyJKiGfTbwsIJrcRMqKRPXluon+ly50SYKfYEcjcHPdImzapYvxt1C jagGwn8cYAwRz7BQCzGTyE89ptzVbYgx56ioo2UK7ESbJnnw2Vatd0pIkSpwsMELaXOwWN BBHPktZntW9XU9zChacHy/gCxNQMyOUvapsD+rp/DZODrIYY8fGSa4ypVwpawuzXD77aCx JoAHgOhS72Q4mQ3iPfW+XFbmQYlEaNJH7TsDTUAU7u4StaKRkLmrNXIZ87bUyYUGWG1Qpf uigEMOMLf9elvOQtUONhwnyrQXGhZZGB6KIGPj3dZatEclFV9l8xLMUW5v+ncA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711065014; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jNN28Vq3jn+O9kw0OOLt2ZDQ2kKIkCYcreNBWjJ3WrA=; b=o7YoISHefXGP0SgdXPGkOvxLpfaOjDk9Ncfr+mpLO+lttxCYe2CRP33ufY+5ZOUcOb5qk9 M5bIOMxnfxSnI0EbXqYMEKEN7IGH3W5rfZTZmufJywM6XozThVtwjHE08QEv/yYwiQtUG2 JVx3emxxIC8exd33iaZcnsloRRXVoRY6lTph01WKJ1/nVxEV8I7tkgacE7zfKlbB6LjNb7 TOxa39pn3bqdjRFlmnXntsOE60ik60fKM105scZamiA54uGSjCPFJJdcWKrTuO/BopMcDB i5d8nDujtvHCeyTQ1/IeuqDCUxe+RjD03J7P42MfhNBNJ+RCkFV4v9bSXI0Jog== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V12JQ1hbrzwXg; Thu, 21 Mar 2024 23:50:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42LNoEWn008039; Thu, 21 Mar 2024 23:50:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42LNoEkG008031; Thu, 21 Mar 2024 23:50:14 GMT (envelope-from git) Date: Thu, 21 Mar 2024 23:50:14 GMT Message-Id: <202403212350.42LNoEkG008031@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 1947a9383ec3 - main - msun/riscv: expose fe{disable,enable}except 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1947a9383ec3a048e334022365aa199a6ae55289 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=1947a9383ec3a048e334022365aa199a6ae55289 commit 1947a9383ec3a048e334022365aa199a6ae55289 Author: Brooks Davis AuthorDate: 2024-03-21 23:45:53 +0000 Commit: Brooks Davis CommitDate: 2024-03-21 23:48:37 +0000 msun/riscv: expose fe{disable,enable}except This is required for GCC to build. PR: 272759 Reported by: dgilbert@eicat.ca Submitted by: jrtc27 Differential Revision: https://reviews.freebsd.org/D44333 --- lib/msun/riscv/Symbol.map | 10 ++++------ lib/msun/riscv/fenv.h | 7 +++---- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/lib/msun/riscv/Symbol.map b/lib/msun/riscv/Symbol.map index 2bc6215688bb..c3d72443cb2c 100644 --- a/lib/msun/riscv/Symbol.map +++ b/lib/msun/riscv/Symbol.map @@ -1,15 +1,13 @@ -/* - */ -FBSD_1.0 { -}; - FBSD_1.3 { fesetexceptflag; feraiseexcept; fegetenv; feholdexcept; feupdateenv; + fegetexcept; +}; + +FBSD_1.8 { feenableexcept; fedisableexcept; - fegetexcept; }; diff --git a/lib/msun/riscv/fenv.h b/lib/msun/riscv/fenv.h index 1971e976645c..36abb7b00b7d 100644 --- a/lib/msun/riscv/fenv.h +++ b/lib/msun/riscv/fenv.h @@ -216,14 +216,12 @@ feupdateenv(const fenv_t *__envp) #if __BSD_VISIBLE -/* We currently provide no external definitions of the functions below. */ - #ifdef __riscv_float_abi_soft int feenableexcept(int __mask); int fedisableexcept(int __mask); int fegetexcept(void); #else -static inline int +__fenv_static inline int feenableexcept(int __mask __unused) { @@ -232,7 +230,7 @@ feenableexcept(int __mask __unused) return (0); } -static inline int +__fenv_static inline int fedisableexcept(int __mask __unused) { @@ -241,6 +239,7 @@ fedisableexcept(int __mask __unused) return (0); } +/* We currently provide no external definition of fegetexcept(). */ static inline int fegetexcept(void) {