libgcc-sparc-glibc.ver revision 259065
1221167Sgnn# In order to work around the very problems that force us to now generally
2221167Sgnn# create a libgcc.so, glibc reexported a number of routines from libgcc.a.
3221167Sgnn# By now choosing the same version tags for these specific routines, we
4221167Sgnn# maintain enough binary compatibility to allow future versions of glibc
5221167Sgnn# to defer implementation of these routines to libgcc.so via DT_AUXILIARY.
6221167Sgnn
7221167Sgnn%ifdef __arch64__
8221167Sgnn%define GLIBC_VER GLIBC_2.2
9221167Sgnn%else
10221167Sgnn%define GLIBC_VER GLIBC_2.0
11221167Sgnn%endif
12221167Sgnn%inherit GCC_3.0 GLIBC_VER
13221167SgnnGLIBC_VER {
14221167Sgnn  # Sampling of DImode arithmetic used by (at least) i386 and m68k.
15221167Sgnn  __divdi3
16221167Sgnn  __moddi3
17221167Sgnn  __udivdi3
18221167Sgnn  __umoddi3
19221167Sgnn
20221167Sgnn  # Exception handling support functions used by most everyone.
21221167Sgnn  __register_frame
22221167Sgnn  __register_frame_table
23221167Sgnn  __deregister_frame
24221167Sgnn  __register_frame_info
25221167Sgnn  __deregister_frame_info
26221167Sgnn  __frame_state_for
27221167Sgnn  __register_frame_info_table
28221167Sgnn}
29221167Sgnn
30221167Sgnn%if !defined (__arch64__) && defined (__LONG_DOUBLE_128__)
31221167Sgnn
32221167Sgnn# long double 128 bit support from 32-bit libgcc_s.so.1 is only available
33221167Sgnn# when configured with --with-long-double-128.  Make sure all the
34221167Sgnn# symbols are available at @@GCC_LDBL_* versions to make it clear
35221167Sgnn# there is a configurable symbol set.
36221167Sgnn
37221167Sgnn%exclude {
38221167Sgnn  __fixtfdi
39221167Sgnn  __fixunstfdi
40221167Sgnn  __floatditf
41221167Sgnn
42221167Sgnn  __divtc3
43221167Sgnn  __multc3
44221167Sgnn  __powitf2
45221167Sgnn}
46221167Sgnn
47221167Sgnn%inherit GCC_LDBL_3.0 GCC_3.0
48221167SgnnGCC_LDBL_3.0 {
49221167Sgnn  __fixtfdi
50221167Sgnn  __fixunstfdi
51221167Sgnn  __floatditf
52221167Sgnn}
53221167Sgnn
54221167Sgnn%inherit GCC_LDBL_4.0.0 GCC_4.0.0
55221167SgnnGCC_LDBL_4.0.0 {
56221167Sgnn  __divtc3
57221167Sgnn  __multc3
58221167Sgnn  __powitf2
59221167Sgnn}
60221167Sgnn
61221167Sgnn%endif
62221167Sgnn