From nobody Tue May 21 00:05:04 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 4Vjvnr6pFCz5LpXy; Tue, 21 May 2024 00:05:04 +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 4Vjvnr4LL0z4rQd; Tue, 21 May 2024 00:05:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716249904; 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=k9Jcu3iIDnptLij/DCf4rB/aU0zkU8pkFrrX4yDqvu8=; b=o+UpIpgAzXIkj6u9RrqTmYRR5yREAZz9WOnuenBmOXcy/LTPme1fWjjnK/g1aA5msvdcwe eUP177lJ/71NQXM8XsuPEux6YhwpP051FyTGp4a6w+zqIhOiISlBHe+intwE6pWQaOiAEb agdDVMsY8q9e49BHYrKGWz8x4FIPjsO/HaXnCbJvU8YhGgtvz7CtsPRLY/G5iAKpcRc0rA bYU/qxoJjtg09D6J22+huyLBwABnC1mmQd7T1m+UwLXASxpfc6aH49whUuAvSEENmum1Lm IkJu16jP1QT1UcCm/9ZWvHFzCXFHCStrV5CCAFI6+8iPpcErSjoEbtfv9Mhhgw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716249904; a=rsa-sha256; cv=none; b=M5LCaP8IIyOHkT+bmrCu7z1/onpCKHM1drVAO989F0/FUvEYJvP0u1M1eu5N6FQlBA0Grq feAuuwX5KLAENb/iT9suBmi0FTfuKcf7eBCuQi1eSQnItgRz7Qv2LrmXSFZYWW6QzSP1Mo TEnjQ4+Emn2VPrephQRb2tauBe4E5YJpS3lsnwx+s4rlDcYAWX8dZ7HWBz1/M+crRzSQgi W16huCJxP16NwGpNq0uMzF/liki5+arLytW/FoibBf8dxLhaHfwA0ApE9Xv4muRpNeRsV0 ir82VTAcgUZPJhymSKYVZToS+/lI06OBEkIiycVLpnBjRZxetyZMqtYY5ZWpyA== 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=1716249904; 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=k9Jcu3iIDnptLij/DCf4rB/aU0zkU8pkFrrX4yDqvu8=; b=ahztL0upWtz7XmxwPWiWJu/+BIX7BEALqQIP3/NSFK1V9FI9IIGpPnBV5cFUcIRXNGwdwY oh2mao6krqHRIyJX5zlxN20Js8LIH2vQIA4alevpbSoMoxegyLmU7GAjSNW0hl7jbRSrCh tWMlMtEMwhN+YxPYCkStDlY4s4olbbupUAmRsy3995rszjaQF46tpkS/c450A+xh9rTpHW Du76pcUigIxDZEJrYHeqVdG3p714RbEHFlArzPWuIYRFc1ydouwSb0RKmFmls0smhUt/GG uhYt5FFNlHXCFjwtK24rMlOTBxSU/TI+G39ZuOYD0hUezB64OuTKdzaZEfKlcA== 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 4Vjvnr3xsmz10DS; Tue, 21 May 2024 00:05:04 +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 44L054vO013413; Tue, 21 May 2024 00:05:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44L054hg013410; Tue, 21 May 2024 00:05:04 GMT (envelope-from git) Date: Tue, 21 May 2024 00:05:04 GMT Message-Id: <202405210005.44L054hg013410@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: 364133901a8d - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 364133901a8dcd228e975e88ded0c3f624992150 Auto-Submitted: auto-generated The branch stable/13 has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=364133901a8dcd228e975e88ded0c3f624992150 commit 364133901a8dcd228e975e88ded0c3f624992150 Author: Brooks Davis AuthorDate: 2024-03-21 23:45:53 +0000 Commit: Brooks Davis CommitDate: 2024-05-20 22:26:02 +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) {