Merge from mainline
[official-gcc.git] / gcc / config / s390 / libgcc-glibc.ver
blobe9413d0fff1e6d12762a90bd77c7584d6c231edc
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 # Note that we cannot use the default libgcc-glibc.ver file on s390x,
8 # because GLIBC_2.0 does not exist on this architecture, as the first 
9 # ever glibc release on the platform was GLIBC_2.2.
11 %ifndef __s390x__
12 %inherit GCC_3.0 GLIBC_2.0
13 GLIBC_2.0 {
14   __divdi3
15   __moddi3
16   __udivdi3
17   __umoddi3
19   __register_frame
20   __register_frame_table
21   __deregister_frame
22   __register_frame_info
23   __deregister_frame_info
24   __frame_state_for
25   __register_frame_info_table
27 %endif
29 %ifdef __s390x__
30 %inherit GCC_3.0 GLIBC_2.2
31 GLIBC_2.2 {
32   __register_frame
33   __register_frame_table
34   __deregister_frame
35   __register_frame_info
36   __deregister_frame_info
37   __frame_state_for
38   __register_frame_info_table
40 %endif
42 # With GCC 4.1.0 long double 128 bit support was introduced. The
43 # following symbols coming from libgcc are enabled when -mlong-double-128
44 # is specified. These lines make the symbols to get a @@GCC_4.1.0 attached.
46 %exclude {
47   __divtc3
48   __multc3
49   __powitf2
50   __fixtfti
51   __fixunstfti
52   __floattitf
54   __fixtfdi
55   __fixunstfdi
56   __floatditf
59 GCC_4.1.0 {
60   __divtc3
61   __multc3
62   __powitf2
64 %ifdef __s390x__
65   __fixtfti
66   __fixunstfti
67   __floattitf
69 %else
70   __fixtfdi
71   __fixunstfdi
72   __floatditf
73 %endif