aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-09-08 11:34:45 +0200
committerJakub Jelinek <jakub@redhat.com>2021-09-08 11:34:45 +0200
commit87d55da7d78f64bfce5e8217379d46bdc9ab287b (patch)
treeeee4a19c09f599a8a0bc5d3574e732f97b8467b0 /libgcc
parenta7b626d98a9a821ffb33466818d6aa86cac1d6fd (diff)
downloadgcc-87d55da7d78f64bfce5e8217379d46bdc9ab287b.zip
gcc-87d55da7d78f64bfce5e8217379d46bdc9ab287b.tar.gz
gcc-87d55da7d78f64bfce5e8217379d46bdc9ab287b.tar.bz2
libgcc, i386: Export *hf* and *hc* from libgcc_s.so.1
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.
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/config/i386/libgcc-glibc.ver20
1 files changed, 20 insertions, 0 deletions
diff --git a/libgcc/config/i386/libgcc-glibc.ver b/libgcc/config/i386/libgcc-glibc.ver
index 06e5d37..5bed104 100644
--- a/libgcc/config/i386/libgcc-glibc.ver
+++ b/libgcc/config/i386/libgcc-glibc.ver
@@ -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
+}