From owner-dev-commits-src-branches@freebsd.org Mon Jun 21 19:12:34 2021 Return-Path: Delivered-To: dev-commits-src-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6984964E513; Mon, 21 Jun 2021 19:12:34 +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 4G7zgQ2c5gz4fCy; Mon, 21 Jun 2021 19:12:34 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 4207E22A4B; Mon, 21 Jun 2021 19:12:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15LJCYHe048384; Mon, 21 Jun 2021 19:12:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15LJCYoi048383; Mon, 21 Jun 2021 19:12:34 GMT (envelope-from git) Date: Mon, 21 Jun 2021 19:12:34 GMT Message-Id: <202106211912.15LJCYoi048383@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: f616d57736dc - stable/11 - Export various 128 bit long double functions from libgcc_s.so.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/11 X-Git-Reftype: branch X-Git-Commit: f616d57736dc663ae5cae08f2f3c3c34c199bcd4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the stable branches of the FreeBSD src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2021 19:12:34 -0000 The branch stable/11 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=f616d57736dc663ae5cae08f2f3c3c34c199bcd4 commit f616d57736dc663ae5cae08f2f3c3c34c199bcd4 Author: Dimitry Andric AuthorDate: 2021-06-14 19:17:05 +0000 Commit: Dimitry Andric CommitDate: 2021-06-21 19:09:47 +0000 Export various 128 bit long double functions from libgcc_s.so.1 These were already compiled for some time on aarch64 and riscv, by including lib/libcompiler_rt/Makefile.inc, but never exported in the shared library. Since gcc exports these under version GCC_4.6.0, we do the same. This review should replace D11482 for now. For e.g. amd64 more work is still to be done, as compiler-rt does not seem to support 128 bit long double math for that architecture. Reviewed by: cem Differential Revision: https://reviews.freebsd.org/D28690 (cherry picked from commit 790a6be5a1699291c6da87871426d0c56dedcc89) --- lib/libgcc_s/Symbol.map | 29 +++++++++++++++++++++++++++++ lib/libgcc_s/Versions.def | 3 +++ 2 files changed, 32 insertions(+) diff --git a/lib/libgcc_s/Symbol.map b/lib/libgcc_s/Symbol.map index 695f61893360..2580623d778b 100644 --- a/lib/libgcc_s/Symbol.map +++ b/lib/libgcc_s/Symbol.map @@ -148,3 +148,32 @@ GCC_4.3.0 { __bswapdi2; __bswapsi2; }; + +GCC_4.6.0 { + __addtf3; + __cmptf2; + __divtf3; + __eqtf2; + __extenddftf2; + __extendsftf2; + __fixtfdi; + __fixtfsi; + __fixtfti; + __fixunstfdi; + __fixunstfsi; + __fixunstfti; + __floatsitf; + __floattitf; + __floatunsitf; + __floatuntitf; + __getf2; + __gttf2; + __letf2; + __lttf2; + __multf3; + __netf2; + __subtf3; + __trunctfdf2; + __trunctfsf2; + __unordtf2; +}; diff --git a/lib/libgcc_s/Versions.def b/lib/libgcc_s/Versions.def index 2c9fdc00e3b5..16ef1d3fc504 100644 --- a/lib/libgcc_s/Versions.def +++ b/lib/libgcc_s/Versions.def @@ -29,3 +29,6 @@ GCC_4.2.0 { GCC_4.3.0 { } GCC_4.2.0; + +GCC_4.6.0 { +} GCC_4.3.0;