1# Copyright (C) 2002-2020 Free Software Foundation, Inc.
2#
3# This file is part of GCC.
4#
5# GCC is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3, or (at your option)
8# any later version.
9#
10# GCC is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with GCC; see the file COPYING3.  If not see
17# <http://www.gnu.org/licenses/>.
18
19# In order to work around the very problems that force us to now generally
20# create a libgcc.so, glibc reexported a number of routines from libgcc.a.
21# By now choosing the same version tags for these specific routines, we
22# maintain enough binary compatibility to allow future versions of glibc
23# to defer implementation of these routines to libgcc.so via DT_AUXILIARY.
24
25# Note that we cannot use the default libgcc-glibc.ver file on sh,
26# because GLIBC_2.0 does not exist on this architecture, as the first 
27# ever glibc release on the platform was GLIBC_2.2.
28
29%exclude {
30  __register_frame
31  __register_frame_table
32  __deregister_frame
33  __register_frame_info
34  __deregister_frame_info
35  __frame_state_for
36  __register_frame_info_table
37}
38
39%inherit GCC_3.0 GLIBC_2.2
40GLIBC_2.2 {
41  __register_frame
42  __register_frame_table
43  __deregister_frame
44  __register_frame_info
45  __deregister_frame_info
46  __frame_state_for
47  __register_frame_info_table
48}
49