[PATCH 8/9] Use __udivmoddi4 for v6M aeabi_uldivmod

Richard Earnshaw rearnsha@arm.com
Wed Jun 18 14:04:00 GMT 2014


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
> 




More information about the Gcc-patches mailing list