aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc/libgcc-excl.ver
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/arc/libgcc-excl.ver')
-rw-r--r--gcc/config/arc/libgcc-excl.ver16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/config/arc/libgcc-excl.ver b/gcc/config/arc/libgcc-excl.ver
new file mode 100644
index 00000000000..2eaa87a87b0
--- /dev/null
+++ b/gcc/config/arc/libgcc-excl.ver
@@ -0,0 +1,16 @@
+# Exclude various symbols which should not be visible in libgcc.so for ARC.
+# Floating point comparisons use a special lightweight ABI which is not
+# compatible with calls via a plt. Moreover, the code is so compact that
+# it is better to include a separate copy in each dso.
+%exclude {
+ __eqsf2
+ __eqdf2
+ __gtsf2
+ __gtdf2
+ __gesf2
+ __gedf2
+ __uneqsf2
+ __uneqdf2
+ __ordsf2
+ __orddf2
+}