[PATCH] [MSP430] Fix incorrect assembly code in _msp430_run_array

Corinna Vinschen vinschen@redhat.com
Tue Apr 16 11:24:00 GMT 2019


On Apr 15 18:13, Jozef Lawrynowicz wrote:
> >From 0b0a51a95c73dcff21639eb5f66e0686b88456bd Mon Sep 17 00:00:00 2001
> From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
> Date: Mon, 15 Apr 2019 18:06:09 +0100
> Subject: [PATCH] [MSP430] Fix incorrect assembly code in _msp430_run_array
> 
> ---
>  libgloss/msp430/crt0.S | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libgloss/msp430/crt0.S b/libgloss/msp430/crt0.S
> index f5ab8d335..53162e6bd 100644
> --- a/libgloss/msp430/crt0.S
> +++ b/libgloss/msp430/crt0.S
> @@ -246,8 +246,8 @@ _msp430_run_array:
>  	jeq	_msp430_run_done
>  	mov_	@R4, R7
>  	add_	R6, R4
> -	call_	@R7
> -	br_	_msp430_run_array
> +	call_	R7
> +	br_	#_msp430_run_array
>  
>  _msp430_run_done:
>  	ret_
> -- 
> 2.17.1
> 

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190416/27e3398d/attachment.sig>


More information about the Newlib mailing list