diff mbox

[8/9] Use __udivmoddi4 for v6M aeabi_uldivmod

Message ID 1402481995-12749-8-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-v6m.S (__aeabi_uldivmod): Perform division using
	__udivmoddi4.
---
 libgcc/config/arm/bpabi-v6m.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Earnshaw June 18, 2014, 2:04 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-v6m.S (__aeabi_uldivmod): Perform division using
> 	__udivmoddi4.

OK.

R.

> ---
>  libgcc/config/arm/bpabi-v6m.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libgcc/config/arm/bpabi-v6m.S b/libgcc/config/arm/bpabi-v6m.S
> index 0bf2e55..d549fa6 100644
> --- a/libgcc/config/arm/bpabi-v6m.S
> +++ b/libgcc/config/arm/bpabi-v6m.S
> @@ -148,7 +148,7 @@ FUNC_START aeabi_uldivmod
>  	mov r0, sp
>  	push {r0, lr}
>  	ldr r0, [sp, #8]
> -	bl SYM(__gnu_uldivmod_helper)
> +	bl SYM(__udivmoddi4)
>  	ldr r3, [sp, #4]
>  	mov lr, r3
>  	add sp, sp, #8
>
diff mbox

Patch

diff --git a/libgcc/config/arm/bpabi-v6m.S b/libgcc/config/arm/bpabi-v6m.S
index 0bf2e55..d549fa6 100644
--- a/libgcc/config/arm/bpabi-v6m.S
+++ b/libgcc/config/arm/bpabi-v6m.S
@@ -148,7 +148,7 @@  FUNC_START aeabi_uldivmod
 	mov r0, sp
 	push {r0, lr}
 	ldr r0, [sp, #8]
-	bl SYM(__gnu_uldivmod_helper)
+	bl SYM(__udivmoddi4)
 	ldr r3, [sp, #4]
 	mov lr, r3
 	add sp, sp, #8