1 /* pre-.hidden libgcc compatibility
2 Copyright (C) 2002-2014 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, see
17 <http://www.gnu.org/licenses/>. */
19 .file "libgcc-compat.S"
21 #include <shlib-compat.h>
23 #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2_6)
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)
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)
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
44 #if !defined _SOFT_FLOAT && !defined __NO_FPRS__
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
53 #ifdef HAVE_DOT_HIDDEN
59 # if !defined _SOFT_FLOAT && !defined __NO_FPRS__
72 .globl __ashldi3_v_glibc20
73 .type __ashldi3_v_glibc20,@function
77 .size __ashldi3_v_glibc20,.Lfe5-__ashldi3_v_glibc20
79 .globl __ashrdi3_v_glibc20
80 .type __ashrdi3_v_glibc20,@function
84 .size __ashrdi3_v_glibc20,.Lfe6-__ashrdi3_v_glibc20
86 .globl __lshrdi3_v_glibc20
87 .type __lshrdi3_v_glibc20,@function
91 .size __lshrdi3_v_glibc20,.Lfe7-__lshrdi3_v_glibc20
93 .globl __cmpdi2_v_glibc20
94 .type __cmpdi2_v_glibc20,@function
98 .size __cmpdi2_v_glibc20,.Lfe8-__cmpdi2_v_glibc20
100 .globl __ucmpdi2_v_glibc20
101 .type __ucmpdi2_v_glibc20,@function
105 .size __ucmpdi2_v_glibc20,.Lfe9-__ucmpdi2_v_glibc20
106 #if !defined _SOFT_FLOAT && !defined __NO_FPRS__
108 .globl __fixdfdi_v_glibc20
109 .type __fixdfdi_v_glibc20,@function
113 .size __fixdfdi_v_glibc20,.Lfe10-__fixdfdi_v_glibc20
115 .globl __fixunsdfdi_v_glibc20
116 .type __fixunsdfdi_v_glibc20,@function
117 __fixunsdfdi_v_glibc20:
120 .size __fixunsdfdi_v_glibc20,.Lfe11-__fixunsdfdi_v_glibc20
122 .globl __fixsfdi_v_glibc20
123 .type __fixsfdi_v_glibc20,@function
127 .size __fixsfdi_v_glibc20,.Lfe12-__fixsfdi_v_glibc20
129 .globl __fixunssfdi_v_glibc20
130 .type __fixunssfdi_v_glibc20,@function
131 __fixunssfdi_v_glibc20:
134 .size __fixunssfdi_v_glibc20,.Lfe13-__fixunssfdi_v_glibc20
136 .globl __floatdidf_v_glibc20
137 .type __floatdidf_v_glibc20,@function
138 __floatdidf_v_glibc20:
141 .size __floatdidf_v_glibc20,.Lfe14-__floatdidf_v_glibc20
143 .globl __floatdisf_v_glibc20
144 .type __floatdisf_v_glibc20,@function
145 __floatdisf_v_glibc20:
148 .size __floatdisf_v_glibc20,.Lfe15-__floatdisf_v_glibc20