aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-11-23 22:23:38 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-11-25 20:59:31 +0100
commit3e2e43e2504b5dd2768afc0f8b6de77849f5a376 (patch)
treeaa3afa7356c0e5f3732e850ced05cecfa02a35ae /ports
parent9205a9917621c0ea7d1ae6e3142b491b1f99008f (diff)
downloadglibc-3e2e43e2504b5dd2768afc0f8b6de77849f5a376.zip
glibc-3e2e43e2504b5dd2768afc0f8b6de77849f5a376.tar.gz
glibc-3e2e43e2504b5dd2768afc0f8b6de77849f5a376.tar.bz2
m68k/cf: fix copying frame in _dl_runtime_profile
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.m68k3
-rw-r--r--ports/sysdeps/m68k/dl-trampoline.S2
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k
index 00830ee..853351f 100644
--- a/ports/ChangeLog.m68k
+++ b/ports/ChangeLog.m68k
@@ -1,5 +1,8 @@
2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
+ * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
+ [__mcoldfire__]: Fix copying loop.
+
* sysdeps/m68k/sotruss-lib.c: New file.
2012-11-21 Andreas Schwab <schwab@linux-m68k.org>
diff --git a/ports/sysdeps/m68k/dl-trampoline.S b/ports/sysdeps/m68k/dl-trampoline.S
index fad1864..dec335e 100644
--- a/ports/sysdeps/m68k/dl-trampoline.S
+++ b/ports/sysdeps/m68k/dl-trampoline.S
@@ -130,7 +130,7 @@ _dl_runtime_profile:
#ifdef __mcoldfire__
tst.l %d1
beq 2f
-1: move.l (%a0)+, (%a1)+
+1: move.l (%a1)+, (%a0)+
subq.l #4,%d1
bne 1b
2: