- 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:
nate 1998-11-30 20:25:37 +00:00
parent ec009fd251
commit 7824892cc8

View File

@ -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);