]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgcc, i386: Export *hf* and *hc* from libgcc_s.so.1
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Sep 2021 09:34:45 +0000 (11:34 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 8 Sep 2021 09:34:45 +0000 (11:34 +0200)
The following patch exports it for Linux from config/i386/*.ver where it
IMNSHO belongs, aarch64 already exports some of those at GCC_11* and other
targets might add them at completely different gcc versions.

2021-09-08  Jakub Jelinek  <jakub@redhat.com>
    Iain Sandoe  <iain@sandoe.co.uk>

* config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
and export *hf* and *hc* functions at GCC_12.0.0.

libgcc/config/i386/libgcc-glibc.ver

index 06e5d37198407c980ed2c7522baab7f681f2568e..5bed10479b3d33612e3dcd25e227bae4448ac8ae 100644 (file)
@@ -194,3 +194,23 @@ GCC_4.8.0 {
   __cpu_indicator_init
 }
 %endif
+
+%inherit GCC_12.0.0 GCC_7.0.0
+GCC_12.0.0 {
+  __divhc3
+  __mulhc3
+  __eqhf2
+  __nehf2
+  __extendhfdf2
+  __extendhfsf2
+  __extendhftf2
+  __extendhfxf2
+  __fixhfti
+  __fixunshfti
+  __floattihf
+  __floatuntihf
+  __truncdfhf2
+  __truncsfhf2
+  __trunctfhf2
+  __truncxfhf2
+}