- Fix modulo bug that was masked by the correct code in libgcc.a which is
used in almost all programs unless a shared library specifically ignores libgcc.a.
This commit is contained in:
parent
ec009fd251
commit
7824892cc8
@ -59,7 +59,7 @@ __moddi3(a, b)
|
||||
else
|
||||
ua = a, neg = 0;
|
||||
if (b < 0)
|
||||
ub = -(u_quad_t)b, neg ^= 1;
|
||||
ub = -(u_quad_t)b;
|
||||
else
|
||||
ub = b;
|
||||
(void)__qdivrem(ua, ub, &ur);
|
||||
|
Loading…
x
Reference in New Issue
Block a user