aboutsummaryrefslogtreecommitdiff
path: root/libgloss/epiphany
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-03-08 14:07:07 +0100
committerJeff Johnston <jjohnstn@redhat.com>2023-03-08 14:27:52 -0500
commit59de8167157ed300f06fd93cccf5d5ba98a77a70 (patch)
tree2fba79c2fa7812567002a8470555f9136f3def5a /libgloss/epiphany
parent93f70d7849b865f2081596bbeabdd6fca6101553 (diff)
downloadnewlib-59de8167157ed300f06fd93cccf5d5ba98a77a70.zip
newlib-59de8167157ed300f06fd93cccf5d5ba98a77a70.tar.gz
newlib-59de8167157ed300f06fd93cccf5d5ba98a77a70.tar.bz2
libgloss/epiphany: Fix move instruction in crt0.S
This patch relates to bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=30212
Diffstat (limited to 'libgloss/epiphany')
-rw-r--r--libgloss/epiphany/crt0.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/epiphany/crt0.S b/libgloss/epiphany/crt0.S
index b0d9ecb..fcbba1e 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)