0
|
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 # 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.
|
|
10
|
|
11 %ifndef __s390x__
|
|
12 %exclude {
|
|
13 __divdi3
|
|
14 __moddi3
|
|
15 __udivdi3
|
|
16 __umoddi3
|
|
17 __register_frame
|
|
18 __register_frame_table
|
|
19 __deregister_frame
|
|
20 __register_frame_info
|
|
21 __deregister_frame_info
|
|
22 __frame_state_for
|
|
23 __register_frame_info_table
|
|
24 }
|
|
25
|
|
26 %inherit GCC_3.0 GLIBC_2.0
|
|
27 GLIBC_2.0 {
|
|
28 __divdi3
|
|
29 __moddi3
|
|
30 __udivdi3
|
|
31 __umoddi3
|
|
32
|
|
33 __register_frame
|
|
34 __register_frame_table
|
|
35 __deregister_frame
|
|
36 __register_frame_info
|
|
37 __deregister_frame_info
|
|
38 __frame_state_for
|
|
39 __register_frame_info_table
|
|
40 }
|
|
41 %endif
|
|
42
|
|
43 %ifdef __s390x__
|
|
44 %exclude {
|
|
45 __register_frame
|
|
46 __register_frame_table
|
|
47 __deregister_frame
|
|
48 __register_frame_info
|
|
49 __deregister_frame_info
|
|
50 __frame_state_for
|
|
51 __register_frame_info_table
|
|
52 }
|
|
53
|
|
54 %inherit GCC_3.0 GLIBC_2.2
|
|
55 GLIBC_2.2 {
|
|
56 __register_frame
|
|
57 __register_frame_table
|
|
58 __deregister_frame
|
|
59 __register_frame_info
|
|
60 __deregister_frame_info
|
|
61 __frame_state_for
|
|
62 __register_frame_info_table
|
|
63 }
|
|
64 %endif
|
|
65
|
|
66 # With GCC 4.1.0 long double 128 bit support was introduced. The
|
|
67 # following symbols coming from libgcc are enabled when -mlong-double-128
|
|
68 # is specified. These lines make the symbols to get a @@GCC_4.1.0 attached.
|
|
69
|
|
70 %exclude {
|
|
71 __divtc3
|
|
72 __multc3
|
|
73 __powitf2
|
|
74 __fixtfti
|
|
75 __fixunstfti
|
|
76 __floattitf
|
|
77
|
|
78 __fixtfdi
|
|
79 __fixunstfdi
|
|
80 __floatditf
|
|
81 }
|
|
82
|
|
83 GCC_4.1.0 {
|
|
84 __divtc3
|
|
85 __multc3
|
|
86 __powitf2
|
|
87
|
|
88 %ifdef __s390x__
|
|
89 __fixtfti
|
|
90 __fixunstfti
|
|
91 __floattitf
|
|
92
|
|
93 %else
|
|
94 __fixtfdi
|
|
95 __fixunstfdi
|
|
96 __floatditf
|
|
97 %endif
|
|
98 }
|