public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libgloss/epiphany: Fix move instruction in crt0.S
@ 2023-03-08 13:07 Sebastian Huber
  2023-03-08 19:28 ` Jeff Johnston
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Huber @ 2023-03-08 13:07 UTC (permalink / raw)
  To: newlib

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-08 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 13:07 [PATCH] libgloss/epiphany: Fix move instruction in crt0.S Sebastian Huber
2023-03-08 19:28 ` Jeff Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).