diff options
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index b1e9edc551c..4c78eb417b6 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -366,8 +366,17 @@ __muldi3 (DWtype u, DWtype v) } #endif +#if (defined (L_udivdi3) || defined (L_divdi3) || \ + defined (L_umoddi3) || defined (L_moddi3)) +#define L_udiv_w_sdiv +#endif + #ifdef L_udiv_w_sdiv #if defined (sdiv_qrnnd) +#if (defined (L_udivdi3) || defined (L_divdi3) || \ + defined (L_umoddi3) || defined (L_moddi3)) +static inline +#endif UWtype __udiv_w_sdiv (UWtype *rp, UWtype a1, UWtype a0, UWtype d) { |