libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that don't define sdiv_qrnnd.

* libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
        don't define sdiv_qrnnd.

From-SVN: r58393
This commit is contained in:
Ulrich Weigand 2002-10-21 23:10:38 +00:00 committed by Ulrich Weigand
parent 89e56fe54b
commit f8eef88332
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-10-21 Ulrich Weigand <uweigand@de.ibm.com>
* libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
don't define sdiv_qrnnd.
2002-10-21 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify

View File

@ -368,8 +368,10 @@ __muldi3 (DWtype u, DWtype v)
#if (defined (L_udivdi3) || defined (L_divdi3) || \
defined (L_umoddi3) || defined (L_moddi3))
#if defined (sdiv_qrnnd)
#define L_udiv_w_sdiv
#endif
#endif
#ifdef L_udiv_w_sdiv
#if defined (sdiv_qrnnd)