projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Daily bump.
[gcc.git]
/
libgcc
/
divmod.c
diff --git
a/libgcc/divmod.c
b/libgcc/divmod.c
index eda57a9bf4dd5a135b6687363ac4d738308a9587..4e3c2cb174c026b73a9f4caa00187fb2a88ecdf7 100644
(file)
--- a/
libgcc/divmod.c
+++ b/
libgcc/divmod.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 2000-20
13
Free Software Foundation, Inc.
+/* Copyright (C) 2000-20
20
Free Software Foundation, Inc.
This file is part of GCC.
This file is part of GCC.
@@
-21,7
+21,8
@@
a copy of the GCC Runtime Library Exception along with this program;
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-long udivmodsi4 ();
+extern unsigned long __udivmodsi4(unsigned long num, unsigned long den,
+ int modwanted);
long
__divsi3 (long a, long b)
long
__divsi3 (long a, long b)
@@
-41,7
+42,7
@@
__divsi3 (long a, long b)
neg = !neg;
}
neg = !neg;
}
- res = udivmodsi4 (a, b, 0);
+ res =
__
udivmodsi4 (a, b, 0);
if (neg)
res = -res;
if (neg)
res = -res;
@@
-64,7
+65,7
@@
__modsi3 (long a, long b)
if (b < 0)
b = -b;
if (b < 0)
b = -b;
- res = udivmodsi4 (a, b, 1);
+ res =
__
udivmodsi4 (a, b, 1);
if (neg)
res = -res;
if (neg)
res = -res;