From 59de8167157ed300f06fd93cccf5d5ba98a77a70 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 8 Mar 2023 14:07:07 +0100 Subject: [PATCH] libgloss/epiphany: Fix move instruction in crt0.S 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 b0d9ecbab..fcbba1e65 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)