Re: [PATCH] libgloss/epiphany: Fix move instruction in crt0.S

Jeff Johnston <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAOox84sHi0Qc21_ZJebWyX1EMJ7mj2EVvVszx74fHREdPUFOjw@mail.gmail.com>
Patch applied.  Thanks.

-- Jeff J.

On Wed, Mar 8, 2023 at 8:07 AM Sebastian Huber <
[email protected]> wrote:

> This patch relates to bug report:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=30212
> ---
>  libgloss/epiphany/crt0.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libgloss/epiphany/crt0.S b/libgloss/epiphany/crt0.S
> index b0d9ecbabe..fcbba1e65b 100644
> --- a/libgloss/epiphany/crt0.S
> +++ b/libgloss/epiphany/crt0.S
> @@ -121,7 +121,7 @@ _external_start:
>  #error "not implemented"
>  #else  /* !__STRUCT_ALIGN_64__ */
>         str     r1, [r2, 0]     ; __atexit = &__atexit0
> -       movr    r0, 1
> +       mov     r0, 1
>         str     r0, [r1, 4]     ; __atexit0._ind = 1
>         mov     r0,%low(fini)
>         movt    r0,%high(fini)
> --
> 2.35.3
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.