From nobody Mon May 20 21:16:18 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 4Vjr362RCkz5LTfw; Mon, 20 May 2024 21:16:18 +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 4Vjr361wwCz4WNZ; Mon, 20 May 2024 21:16:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716239778; 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=N+Nt9HRV6ytAzUrxpDqcHr0jYaleHpSuI4qPvgVTNns=; b=UzgXf5u+qQn+CoPlpnB59d5P1SMmRQS0osj3Mmrh/w5384czBGIbnlv32YinyKLESyxK7+ RM3zYUZhKQe7H8LpRwhaj9DjpKj9GU5QqXgU8NeSUsRgzMhu4x0RrQqVjym+7joi99P83l o5v1eGbtQibWW/EheQaLIc1TkysvBb0nj5fdHV5uI3UQpNH2kv0N5dbGmRGWqSeLfay7Ay TimZQrpfgJMRNkZIOyphz0DNuqjogyvEWb9oUGTyl9Od6uYPOTwajcIxUB69gWCVT+DZ1o 4kz3YTig7E2r3VpB/fMpUWGfyZhEGUY4OIUBzTnyyKXMe8svCmq4BX1zuB34lQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716239778; a=rsa-sha256; cv=none; b=xzqfqd8eVk/1XrFwLQT3/B+Nk1l1PC45vRDV8HZDd8ey2QRnYR7+nIcR/8u30Twnj1Qdro 34+Vp4VF58TAZkzJvMd/8ecZED0wLuzF0Fn4WP8XTmgB1h2wWmLmMcpukheZEqwft1WbWj g3ScaRB5EWvazKawBc15FaQXzMQNAOrzawqffNzenw/ws4Va2QD55h7qhzTzzRNTXJRLmd PwPuNv/0go4pI3wUGlif0ps0BmG0tnvmwxpi0pLbqgAHi3OCC4t6f3A1SxpyiaUYPQZ4LA AvkNQ38o8D4564Ih2DltfA284Hm/2Jx5jXMIvPXRHJ4ROxmVrUUEbH9oPtOUbA== 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=1716239778; 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=N+Nt9HRV6ytAzUrxpDqcHr0jYaleHpSuI4qPvgVTNns=; b=JpwTRABv+JHS9OWsuv5kdtxTwMhNhWZfdje2PiVgnQcd2rRz7YZjMECCrOh4S6XNlIx4Fl /drLCCjYWQGO5/WZAZz6qPKvMOTsg4XrZN9zQIa2cTyUGfY7PPVvhTNKf0y9ckpiFncyxb pCr5qbkpDp460HBbq9fnCuLcyg+4GFnmMMD6CHJtLEBO4yZci4ZoVbIYPMZRU051rXxlhQ NhTkoN+s+QLKNmcAOFvvHXpji/BZPUR2fCCWsVTDos13XxMp4EzuUBZK0aaffRAFxkJDuL vfxnFIruKVXQWtgTNwmraT8HeQ6bJC/TVeKgmPQFcTUVmYMpIIypvHuh/uN+ag== 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 4Vjr361QnXztq3; Mon, 20 May 2024 21:16:18 +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 44KLGI4h025517; Mon, 20 May 2024 21:16:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44KLGIut025514; Mon, 20 May 2024 21:16:18 GMT (envelope-from git) Date: Mon, 20 May 2024 21:16:18 GMT Message-Id: <202405202116.44KLGIut025514@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Brooks Davis Subject: git: 7ad17751074c - stable/14 - 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: 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7ad17751074ca79a89ca503f5ac647819579e858 Auto-Submitted: auto-generated The branch stable/14 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=7ad17751074ca79a89ca503f5ac647819579e858 commit 7ad17751074ca79a89ca503f5ac647819579e858 Author: Brooks Davis AuthorDate: 2024-03-21 23:45:53 +0000 Commit: Brooks Davis CommitDate: 2024-05-20 20:49:06 +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 (cherry picked from commit 1947a9383ec3a048e334022365aa199a6ae55289) --- 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) {