]>
Commit | Line | Data |
---|---|---|
7adcbafe | 1 | # Copyright (C) 2000-2022 Free Software Foundation, Inc. |
ad41bd84 JM |
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 | ||
83dad10c RH |
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 | ||
ff473280 L |
25 | %exclude { |
26 | __divdi3 | |
27 | __moddi3 | |
28 | __udivdi3 | |
29 | __umoddi3 | |
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 | ||
83dad10c RH |
39 | %inherit GCC_3.0 GLIBC_2.0 |
40 | GLIBC_2.0 { | |
41 | # Sampling of DImode arithmetic used by (at least) i386 and m68k. | |
42 | __divdi3 | |
43 | __moddi3 | |
44 | __udivdi3 | |
45 | __umoddi3 | |
46 | ||
47 | # Exception handling support functions used by most everyone. | |
48 | __register_frame | |
49 | __register_frame_table | |
50 | __deregister_frame | |
51 | __register_frame_info | |
52 | __deregister_frame_info | |
53 | __frame_state_for | |
54 | __register_frame_info_table | |
55 | } |