aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-09-28 11:26:53 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2020-09-28 11:26:53 +0100
commit1923f615f726efd02b8b1845740adabca67146d7 (patch)
tree89f6ad9b2ec0483760ba94ab1428dd7dcf8d2fdb
parent53673d763f9e0c655d4239042bb69993a8d950b5 (diff)
downloadgcc-1923f615f726efd02b8b1845740adabca67146d7.zip
gcc-1923f615f726efd02b8b1845740adabca67146d7.tar.gz
gcc-1923f615f726efd02b8b1845740adabca67146d7.tar.bz2
aarch64: Add HF routines to libgcc_s.so
The libgcc HF support routines were being linked into libgcc_s.so, but weren't being exported. libgcc/ * config/aarch64/libgcc-softfp.ver: New file. * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
-rw-r--r--libgcc/config/aarch64/libgcc-softfp.ver28
-rw-r--r--libgcc/config/aarch64/t-softfp1
2 files changed, 29 insertions, 0 deletions
diff --git a/libgcc/config/aarch64/libgcc-softfp.ver b/libgcc/config/aarch64/libgcc-softfp.ver
new file mode 100644
index 0000000..b51a3de
--- /dev/null
+++ b/libgcc/config/aarch64/libgcc-softfp.ver
@@ -0,0 +1,28 @@
+# Copyright (C) 2020 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+GCC_11.0 {
+ __divhc3
+ __extendhftf2
+ __fixhfti
+ __fixunshfti
+ __floattihf
+ __floatuntihf
+ __mulhc3
+ __trunctfhf2
+}
diff --git a/libgcc/config/aarch64/t-softfp b/libgcc/config/aarch64/t-softfp
index c4ce0dc..981ced7 100644
--- a/libgcc/config/aarch64/t-softfp
+++ b/libgcc/config/aarch64/t-softfp
@@ -8,3 +8,4 @@ softfp_extras := fixhfti fixunshfti floattihf floatuntihf
TARGET_LIBGCC2_CFLAGS += -Wno-missing-prototypes
LIB2ADD += $(srcdir)/config/aarch64/sfp-exceptions.c
+SHLIB_MAPFILES += $(srcdir)/config/aarch64/libgcc-softfp.ver