Merge from mainline
[official-gcc.git] / gcc / config / sparc / libgcc-sparc-glibc.ver
blobed280fe05a7482a7e5d6efc089284849164443d6
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.
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
13 GLIBC_VER {
14   # Sampling of DImode arithmetic used by (at least) i386 and m68k.
15   __divdi3
16   __moddi3
17   __udivdi3
18   __umoddi3
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
30 %if !defined (__arch64__) && defined (__LONG_DOUBLE_128__)
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.
37 %exclude {
38   __fixtfdi
39   __fixunstfdi
40   __floatditf
42   __divtc3
43   __multc3
44   __powitf2
47 %inherit GCC_LDBL_3.0 GCC_3.0
48 GCC_LDBL_3.0 {
49   __fixtfdi
50   __fixunstfdi
51   __floatditf
54 %inherit GCC_LDBL_4.0.0 GCC_4.0.0
55 GCC_LDBL_4.0.0 {
56   __divtc3
57   __multc3
58   __powitf2
61 %endif