2.9
[glibc/nacl-glibc.git] / sysdeps / powerpc / powerpc32 / libgcc-compat.S
blob196293fd9764efd5afc2ab33c860ac2633b248fe
1 /* pre-.hidden libgcc compatibility
2    Copyright (C) 2002 Free Software Foundation, Inc.
3    This file is part of the GNU C Library.
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.
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.
15    You should have received a copy of the GNU Lesser General Public
16    License along with the GNU C Library; if not, write to the Free
17    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18    02111-1307 USA.  */
20         .file   "libgcc-compat.S"
22 #include <shlib-compat.h>
24 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2_6)
26 #define __ashldi3_v_glibc20     INTUSE (__ashldi3)
27 #define __ashrdi3_v_glibc20     INTUSE (__ashrdi3)
28 #define __lshrdi3_v_glibc20     INTUSE (__lshrdi3)
29 #define __cmpdi2_v_glibc20      INTUSE (__cmpdi2)
30 #define __ucmpdi2_v_glibc20     INTUSE (__ucmpdi2)
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)
38         .symver __ashldi3_v_glibc20,__ashldi3@GLIBC_2.0
39         .symver __ashrdi3_v_glibc20,__ashrdi3@GLIBC_2.0
40         .symver __lshrdi3_v_glibc20,__lshrdi3@GLIBC_2.0
41         .symver __cmpdi2_v_glibc20,__cmpdi2@GLIBC_2.0
42         .symver __ucmpdi2_v_glibc20,__ucmpdi2@GLIBC_2.0
43         .symver __fixdfdi_v_glibc20,__fixdfdi@GLIBC_2.0
44         .symver __fixunsdfdi_v_glibc20,__fixunsdfdi@GLIBC_2.0
45         .symver __fixsfdi_v_glibc20,__fixsfdi@GLIBC_2.0
46         .symver __fixunssfdi_v_glibc20,__fixunssfdi@GLIBC_2.0
47         .symver __floatdidf_v_glibc20,__floatdidf@GLIBC_2.0
48         .symver __floatdisf_v_glibc20,__floatdisf@GLIBC_2.0
50 #ifdef HAVE_DOT_HIDDEN
51         .hidden __ashldi3
52         .hidden __ashrdi3
53         .hidden __lshrdi3
54         .hidden __cmpdi2
55         .hidden __ucmpdi2
56         .hidden __fixdfdi
57         .hidden __fixsfdi
58         .hidden __fixunsdfdi
59         .hidden __fixunssfdi
60         .hidden __floatdidf
61         .hidden __floatdisf
62 #endif
64         .section        ".text"
66         .align 2
67         .globl __ashldi3_v_glibc20
68         .type   __ashldi3_v_glibc20,@function
69 __ashldi3_v_glibc20:
70         b __ashldi3@local
71 .Lfe5:
72         .size   __ashldi3_v_glibc20,.Lfe5-__ashldi3_v_glibc20
73         .align 2
74         .globl __ashrdi3_v_glibc20
75         .type   __ashrdi3_v_glibc20,@function
76 __ashrdi3_v_glibc20:
77         b __ashrdi3@local
78 .Lfe6:
79         .size   __ashrdi3_v_glibc20,.Lfe6-__ashrdi3_v_glibc20
80         .align 2
81         .globl __lshrdi3_v_glibc20
82         .type   __lshrdi3_v_glibc20,@function
83 __lshrdi3_v_glibc20:
84         b __lshrdi3@local
85 .Lfe7:
86         .size   __lshrdi3_v_glibc20,.Lfe7-__lshrdi3_v_glibc20
87         .align 2
88         .globl __cmpdi2_v_glibc20
89         .type   __cmpdi2_v_glibc20,@function
90 __cmpdi2_v_glibc20:
91         b __cmpdi2@local
92 .Lfe8:
93         .size   __cmpdi2_v_glibc20,.Lfe8-__cmpdi2_v_glibc20
94         .align 2
95         .globl __ucmpdi2_v_glibc20
96         .type   __ucmpdi2_v_glibc20,@function
97 __ucmpdi2_v_glibc20:
98         b __ucmpdi2@local
99 .Lfe9:
100         .size   __ucmpdi2_v_glibc20,.Lfe9-__ucmpdi2_v_glibc20
101         .align 2
102         .globl __fixdfdi_v_glibc20
103         .type   __fixdfdi_v_glibc20,@function
104 __fixdfdi_v_glibc20:
105         b __fixdfdi@local
106 .Lfe10:
107         .size   __fixdfdi_v_glibc20,.Lfe10-__fixdfdi_v_glibc20
108         .align 2
109         .globl __fixunsdfdi_v_glibc20
110         .type   __fixunsdfdi_v_glibc20,@function
111 __fixunsdfdi_v_glibc20:
112         b __fixunsdfdi@local
113 .Lfe11:
114         .size   __fixunsdfdi_v_glibc20,.Lfe11-__fixunsdfdi_v_glibc20
115         .align 2
116         .globl __fixsfdi_v_glibc20
117         .type   __fixsfdi_v_glibc20,@function
118 __fixsfdi_v_glibc20:
119         b __fixsfdi@local
120 .Lfe12:
121         .size   __fixsfdi_v_glibc20,.Lfe12-__fixsfdi_v_glibc20
122         .align 2
123         .globl __fixunssfdi_v_glibc20
124         .type   __fixunssfdi_v_glibc20,@function
125 __fixunssfdi_v_glibc20:
126         b __fixunssfdi@local
127 .Lfe13:
128         .size   __fixunssfdi_v_glibc20,.Lfe13-__fixunssfdi_v_glibc20
129         .align 2
130         .globl __floatdidf_v_glibc20
131         .type   __floatdidf_v_glibc20,@function
132 __floatdidf_v_glibc20:
133         b __floatdidf@local
134 .Lfe14:
135         .size   __floatdidf_v_glibc20,.Lfe14-__floatdidf_v_glibc20
136         .align 2
137         .globl __floatdisf_v_glibc20
138         .type   __floatdisf_v_glibc20,@function
139 __floatdisf_v_glibc20:
140         b __floatdisf@local
141 .Lfe15:
142         .size   __floatdisf_v_glibc20,.Lfe15-__floatdisf_v_glibc20
144 #endif