| 1 |
# Exclude libgcc.so symbols for the Synopsys DesignWare ARC CPU. |
| 2 |
|
| 3 |
# Copyright (C) 2007-2025 Free Software Foundation, Inc. |
| 4 |
# Contributor: Joern Rennecke <[email protected]> |
| 5 |
# on behalf of Synopsys Inc. |
| 6 |
|
| 7 |
# This file is part of GCC. |
| 8 |
|
| 9 |
# GCC is free software; you can redistribute it and/or modify it under |
| 10 |
# the terms of the GNU General Public License as published by the Free |
| 11 |
# Software Foundation; either version 3, or (at your option) any later |
| 12 |
# version. |
| 13 |
|
| 14 |
# GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
| 15 |
# WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 16 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 17 |
# for more details. |
| 18 |
|
| 19 |
# Under Section 7 of GPL version 3, you are granted additional |
| 20 |
# permissions described in the GCC Runtime Library Exception, version |
| 21 |
# 3.1, as published by the Free Software Foundation. |
| 22 |
|
| 23 |
# You should have received a copy of the GNU General Public License and |
| 24 |
# a copy of the GCC Runtime Library Exception along with this program; |
| 25 |
# see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
| 26 |
# <http://www.gnu.org/licenses/>. */ |
| 27 |
|
| 28 |
# Exclude various symbols which should not be visible in libgcc.so for ARC. |
| 29 |
# Floating point comparisons use a special lightweight ABI which is not |
| 30 |
# compatible with calls via a plt. Moreover, the code is so compact that |
| 31 |
# it is better to include a separate copy in each dso. |
| 32 |
%exclude { |
| 33 |
__eqsf2 |
| 34 |
__eqdf2 |
| 35 |
__gtsf2 |
| 36 |
__gtdf2 |
| 37 |
__gesf2 |
| 38 |
__gedf2 |
| 39 |
__uneqsf2 |
| 40 |
__uneqdf2 |
| 41 |
__ordsf2 |
| 42 |
__orddf2 |
| 43 |
} |