diff mbox

[9/9] Remove __gnu_uldivmod_helper

Message ID 1402481995-12749-9-git-send-email-charles.baylis@linaro.org
State New
Headers show

Commit Message

Charles Baylis June 11, 2014, 10:19 a.m. UTC
2014-05-22  Charles Baylis  <charles.baylis@linaro.org>

	* config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
---
 libgcc/config/arm/bpabi.c | 14 --------------
 1 file changed, 14 deletions(-)

Comments

Richard Earnshaw June 18, 2014, 2:09 p.m. UTC | #1
On 11/06/14 11:19, Charles Baylis wrote:
> 2014-05-22  Charles Baylis  <charles.baylis@linaro.org>
> 
> 	* config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.

OK.

R.

> ---
>  libgcc/config/arm/bpabi.c | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/libgcc/config/arm/bpabi.c b/libgcc/config/arm/bpabi.c
> index 7b155cc..e90d044 100644
> --- a/libgcc/config/arm/bpabi.c
> +++ b/libgcc/config/arm/bpabi.c
> @@ -26,9 +26,6 @@ extern long long __divdi3 (long long, long long);
>  extern unsigned long long __udivdi3 (unsigned long long, 
>  				     unsigned long long);
>  extern long long __gnu_ldivmod_helper (long long, long long, long long *);
> -extern unsigned long long __gnu_uldivmod_helper (unsigned long long, 
> -						 unsigned long long, 
> -						 unsigned long long *);
>  
>  
>  long long
> @@ -43,14 +40,3 @@ __gnu_ldivmod_helper (long long a,
>    return quotient;
>  }
>  
> -unsigned long long
> -__gnu_uldivmod_helper (unsigned long long a, 
> -		       unsigned long long b,
> -		       unsigned long long *remainder)
> -{
> -  unsigned long long quotient;
> -
> -  quotient = __udivdi3 (a, b);
> -  *remainder = a - b * quotient;
> -  return quotient;
> -}
>
diff mbox

Patch

diff --git a/libgcc/config/arm/bpabi.c b/libgcc/config/arm/bpabi.c
index 7b155cc..e90d044 100644
--- a/libgcc/config/arm/bpabi.c
+++ b/libgcc/config/arm/bpabi.c
@@ -26,9 +26,6 @@  extern long long __divdi3 (long long, long long);
 extern unsigned long long __udivdi3 (unsigned long long, 
 				     unsigned long long);
 extern long long __gnu_ldivmod_helper (long long, long long, long long *);
-extern unsigned long long __gnu_uldivmod_helper (unsigned long long, 
-						 unsigned long long, 
-						 unsigned long long *);
 
 
 long long
@@ -43,14 +40,3 @@  __gnu_ldivmod_helper (long long a,
   return quotient;
 }
 
-unsigned long long
-__gnu_uldivmod_helper (unsigned long long a, 
-		       unsigned long long b,
-		       unsigned long long *remainder)
-{
-  unsigned long long quotient;
-
-  quotient = __udivdi3 (a, b);
-  *remainder = a - b * quotient;
-  return quotient;
-}