bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] RISC-V: lib: Fixes for setjmp/longjmp.


From: Janneke Nieuwenhuizen
Subject: Re: [PATCH v2] RISC-V: lib: Fixes for setjmp/longjmp.
Date: Fri, 24 May 2024 11:41:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Andrius tikonas writes:

> a0 register had been clobbered by val and subsequent loads were failing

Added a period.

> * lib/riscv64-mes-gcc/setjmp.c: Use extended assembly.

Extended to

    * lib/riscv64-mes-gcc/setjmp.c (longjmp): Use extended assembly, avoid
    clobbering a0.

> ---
>  lib/riscv64-mes-gcc/setjmp.c | 55 ++++++++++++++++++------------------
>  1 file changed, 28 insertions(+), 27 deletions(-)
>
> diff --git a/lib/riscv64-mes-gcc/setjmp.c b/lib/riscv64-mes-gcc/setjmp.c
> index 7c2828f0..8a06c1ba 100644
> --- a/lib/riscv64-mes-gcc/setjmp.c
> +++ b/lib/riscv64-mes-gcc/setjmp.c

Added your copyright and pushed to wip.

Thank you!

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]