]> sourceware.org Git - glibc.git/blob - sysdeps/powerpc/powerpc32/divdi3.c
Update.
[glibc.git] / sysdeps / powerpc / powerpc32 / divdi3.c
1 /* 64-bit multiplication and division libgcc routines for 32-bit PowerPC
2 Copyright (C) 2002 Free Software Foundation, Inc.
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
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. */
19
20 #define _DIVDI3_C
21 #include <sysdeps/wordsize-32/divdi3.c>
22
23 INTDEF (__udivdi3);
24 INTDEF (__moddi3);
25 INTDEF (__umoddi3);
26
27 #ifdef HAVE_DOT_HIDDEN
28 asm (".hidden __divdi3");
29 asm (".hidden __udivdi3");
30 asm (".hidden __moddi3");
31 asm (".hidden __umoddi3");
32 #endif
33
34 #include <shlib-compat.h>
35
36 #if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_2_6)
37
38 symbol_version (INTUSE (__divdi3), __divdi3, GLIBC_2.0);
39 symbol_version (INTUSE (__udivdi3), __udivdi3, GLIBC_2.0);
40 symbol_version (INTUSE (__moddi3), __moddi3, GLIBC_2.0);
41 symbol_version (INTUSE (__umoddi3), __umoddi3, GLIBC_2.0);
42
43 #endif
This page took 0.041312 seconds and 5 git commands to generate.