Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 19:17:39 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 790a6be5a169 - main - Export various 128 bit long double functions from libgcc_s.so.1
Message-ID:  <202106141917.15EJHdNa079092@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=790a6be5a1699291c6da87871426d0c56dedcc89

commit 790a6be5a1699291c6da87871426d0c56dedcc89
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-06-14 19:17:05 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-06-14 19:17:05 +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
    MFC after:      1 week
    Differential Revision: https://reviews.freebsd.org/D28690
---
 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?202106141917.15EJHdNa079092>