diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2002-10-21 23:10:38 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2002-10-21 23:10:38 +0000 |
commit | f8eef883323f1cf0b1e442bb285a51216e41ddd6 (patch) | |
tree | 750347a7d35f14a56263c516ca6215586748749c | |
parent | 89e56fe54bd6bdc2b267ab0cea22415cb3f543bb (diff) | |
download | gcc-f8eef883323f1cf0b1e442bb285a51216e41ddd6.zip gcc-f8eef883323f1cf0b1e442bb285a51216e41ddd6.tar.gz gcc-f8eef883323f1cf0b1e442bb285a51216e41ddd6.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/libgcc2.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b633ef3..2dc6568 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 4c78eb4..cd5a005 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -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) |