about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
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 00830ee426..853351febe 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 fad1864588..dec335ef22 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: