libgcc-sparc-glibc.ver revision 169689
1# In order to work around the very problems that force us to now generally
2# create a libgcc.so, glibc reexported a number of routines from libgcc.a.
3# By now choosing the same version tags for these specific routines, we
4# maintain enough binary compatibility to allow future versions of glibc
5# to defer implementation of these routines to libgcc.so via DT_AUXILIARY.
6
7%ifdef __arch64__
8%define GLIBC_VER GLIBC_2.2
9%else
10%define GLIBC_VER GLIBC_2.0
11%endif
12%inherit GCC_3.0 GLIBC_VER
13GLIBC_VER {
14  # Sampling of DImode arithmetic used by (at least) i386 and m68k.
15  __divdi3
16  __moddi3
17  __udivdi3
18  __umoddi3
19
20  # Exception handling support functions used by most everyone.
21  __register_frame
22  __register_frame_table
23  __deregister_frame
24  __register_frame_info
25  __deregister_frame_info
26  __frame_state_for
27  __register_frame_info_table
28}
29
30%if !defined (__arch64__) && defined (__LONG_DOUBLE_128__)
31
32# long double 128 bit support from 32-bit libgcc_s.so.1 is only available
33# when configured with --with-long-double-128.  Make sure all the
34# symbols are available at @@GCC_LDBL_* versions to make it clear
35# there is a configurable symbol set.
36
37%exclude {
38  __fixtfdi
39  __fixunstfdi
40  __floatditf
41
42  __divtc3
43  __multc3
44  __powitf2
45}
46
47%inherit GCC_LDBL_3.0 GCC_3.0
48GCC_LDBL_3.0 {
49  __fixtfdi
50  __fixunstfdi
51  __floatditf
52}
53
54%inherit GCC_LDBL_4.0.0 GCC_4.0.0
55GCC_LDBL_4.0.0 {
56  __divtc3
57  __multc3
58  __powitf2
59}
60
61%endif
62