]>
Commit | Line | Data |
---|---|---|
c8f3e6bc | 1 | /* pre-.hidden libgcc compatibility |
d4697bc9 | 2 | Copyright (C) 2002-2014 Free Software Foundation, Inc. |
c8f3e6bc RM |
3 | This file is part of the GNU C Library. |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
6 | modify it under the terms of the GNU Lesser General Public | |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
9 | ||
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | Lesser General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU Lesser General Public | |
59ba27a6 PE |
16 | License along with the GNU C Library; if not, see |
17 | <http://www.gnu.org/licenses/>. */ | |
c8f3e6bc RM |
18 | |
19 | .file "libgcc-compat.S" | |
20 | ||
21 | #include <shlib-compat.h> | |
22 | ||
23 | #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2_6) | |
24 | ||
25 | #define __ashldi3_v_glibc20 INTUSE (__ashldi3) | |
26 | #define __ashrdi3_v_glibc20 INTUSE (__ashrdi3) | |
27 | #define __lshrdi3_v_glibc20 INTUSE (__lshrdi3) | |
28 | #define __cmpdi2_v_glibc20 INTUSE (__cmpdi2) | |
29 | #define __ucmpdi2_v_glibc20 INTUSE (__ucmpdi2) | |
eb983568 JM |
30 | #if !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
31 | # define __fixdfdi_v_glibc20 INTUSE (__fixdfdi) | |
32 | # define __fixsfdi_v_glibc20 INTUSE (__fixsfdi) | |
33 | # define __fixunsdfdi_v_glibc20 INTUSE (__fixunsdfdi) | |
34 | # define __fixunssfdi_v_glibc20 INTUSE (__fixunssfdi) | |
35 | # define __floatdidf_v_glibc20 INTUSE (__floatdidf) | |
36 | # define __floatdisf_v_glibc20 INTUSE (__floatdisf) | |
37 | #endif | |
c8f3e6bc RM |
38 | |
39 | .symver __ashldi3_v_glibc20,__ashldi3@GLIBC_2.0 | |
40 | .symver __ashrdi3_v_glibc20,__ashrdi3@GLIBC_2.0 | |
41 | .symver __lshrdi3_v_glibc20,__lshrdi3@GLIBC_2.0 | |
42 | .symver __cmpdi2_v_glibc20,__cmpdi2@GLIBC_2.0 | |
43 | .symver __ucmpdi2_v_glibc20,__ucmpdi2@GLIBC_2.0 | |
eb983568 | 44 | #if !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
c8f3e6bc RM |
45 | .symver __fixdfdi_v_glibc20,__fixdfdi@GLIBC_2.0 |
46 | .symver __fixunsdfdi_v_glibc20,__fixunsdfdi@GLIBC_2.0 | |
47 | .symver __fixsfdi_v_glibc20,__fixsfdi@GLIBC_2.0 | |
48 | .symver __fixunssfdi_v_glibc20,__fixunssfdi@GLIBC_2.0 | |
49 | .symver __floatdidf_v_glibc20,__floatdidf@GLIBC_2.0 | |
50 | .symver __floatdisf_v_glibc20,__floatdisf@GLIBC_2.0 | |
eb983568 | 51 | #endif |
c8f3e6bc RM |
52 | |
53 | #ifdef HAVE_DOT_HIDDEN | |
54 | .hidden __ashldi3 | |
55 | .hidden __ashrdi3 | |
56 | .hidden __lshrdi3 | |
57 | .hidden __cmpdi2 | |
58 | .hidden __ucmpdi2 | |
eb983568 | 59 | # if !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
c8f3e6bc RM |
60 | .hidden __fixdfdi |
61 | .hidden __fixsfdi | |
62 | .hidden __fixunsdfdi | |
63 | .hidden __fixunssfdi | |
64 | .hidden __floatdidf | |
65 | .hidden __floatdisf | |
eb983568 | 66 | # endif |
c8f3e6bc RM |
67 | #endif |
68 | ||
69 | .section ".text" | |
70 | ||
71 | .align 2 | |
72 | .globl __ashldi3_v_glibc20 | |
73 | .type __ashldi3_v_glibc20,@function | |
74 | __ashldi3_v_glibc20: | |
75 | b __ashldi3@local | |
76 | .Lfe5: | |
77 | .size __ashldi3_v_glibc20,.Lfe5-__ashldi3_v_glibc20 | |
78 | .align 2 | |
79 | .globl __ashrdi3_v_glibc20 | |
80 | .type __ashrdi3_v_glibc20,@function | |
81 | __ashrdi3_v_glibc20: | |
82 | b __ashrdi3@local | |
83 | .Lfe6: | |
84 | .size __ashrdi3_v_glibc20,.Lfe6-__ashrdi3_v_glibc20 | |
85 | .align 2 | |
86 | .globl __lshrdi3_v_glibc20 | |
87 | .type __lshrdi3_v_glibc20,@function | |
88 | __lshrdi3_v_glibc20: | |
89 | b __lshrdi3@local | |
90 | .Lfe7: | |
91 | .size __lshrdi3_v_glibc20,.Lfe7-__lshrdi3_v_glibc20 | |
92 | .align 2 | |
93 | .globl __cmpdi2_v_glibc20 | |
94 | .type __cmpdi2_v_glibc20,@function | |
95 | __cmpdi2_v_glibc20: | |
96 | b __cmpdi2@local | |
97 | .Lfe8: | |
98 | .size __cmpdi2_v_glibc20,.Lfe8-__cmpdi2_v_glibc20 | |
99 | .align 2 | |
100 | .globl __ucmpdi2_v_glibc20 | |
101 | .type __ucmpdi2_v_glibc20,@function | |
102 | __ucmpdi2_v_glibc20: | |
103 | b __ucmpdi2@local | |
104 | .Lfe9: | |
105 | .size __ucmpdi2_v_glibc20,.Lfe9-__ucmpdi2_v_glibc20 | |
eb983568 | 106 | #if !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
c8f3e6bc RM |
107 | .align 2 |
108 | .globl __fixdfdi_v_glibc20 | |
109 | .type __fixdfdi_v_glibc20,@function | |
110 | __fixdfdi_v_glibc20: | |
111 | b __fixdfdi@local | |
112 | .Lfe10: | |
113 | .size __fixdfdi_v_glibc20,.Lfe10-__fixdfdi_v_glibc20 | |
114 | .align 2 | |
115 | .globl __fixunsdfdi_v_glibc20 | |
116 | .type __fixunsdfdi_v_glibc20,@function | |
117 | __fixunsdfdi_v_glibc20: | |
118 | b __fixunsdfdi@local | |
119 | .Lfe11: | |
120 | .size __fixunsdfdi_v_glibc20,.Lfe11-__fixunsdfdi_v_glibc20 | |
121 | .align 2 | |
122 | .globl __fixsfdi_v_glibc20 | |
123 | .type __fixsfdi_v_glibc20,@function | |
124 | __fixsfdi_v_glibc20: | |
125 | b __fixsfdi@local | |
126 | .Lfe12: | |
127 | .size __fixsfdi_v_glibc20,.Lfe12-__fixsfdi_v_glibc20 | |
128 | .align 2 | |
129 | .globl __fixunssfdi_v_glibc20 | |
130 | .type __fixunssfdi_v_glibc20,@function | |
131 | __fixunssfdi_v_glibc20: | |
132 | b __fixunssfdi@local | |
133 | .Lfe13: | |
134 | .size __fixunssfdi_v_glibc20,.Lfe13-__fixunssfdi_v_glibc20 | |
135 | .align 2 | |
136 | .globl __floatdidf_v_glibc20 | |
137 | .type __floatdidf_v_glibc20,@function | |
138 | __floatdidf_v_glibc20: | |
139 | b __floatdidf@local | |
140 | .Lfe14: | |
141 | .size __floatdidf_v_glibc20,.Lfe14-__floatdidf_v_glibc20 | |
142 | .align 2 | |
143 | .globl __floatdisf_v_glibc20 | |
144 | .type __floatdisf_v_glibc20,@function | |
145 | __floatdisf_v_glibc20: | |
146 | b __floatdisf@local | |
147 | .Lfe15: | |
148 | .size __floatdisf_v_glibc20,.Lfe15-__floatdisf_v_glibc20 | |
eb983568 | 149 | #endif |
c8f3e6bc RM |
150 | |
151 | #endif |