Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2021 19:11:43 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 27693a604a78 - stable/13 - Export various 128 bit long double functions from libgcc_s.so.1
Message-ID:  <202106211911.15LJBhMN048095@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=27693a604a78f45f01737a0f40b7cf1890d20afb

commit 27693a604a78f45f01737a0f40b7cf1890d20afb
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-06-14 19:17:05 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-06-21 19:07:14 +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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106211911.15LJBhMN048095>