m68k/cf: fix copying frame in _dl_runtime_profile
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 23 Nov 2012 21:23:38 +0000 (22:23 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 25 Nov 2012 19:59:31 +0000 (20:59 +0100)
ports/ChangeLog.m68k
ports/sysdeps/m68k/dl-trampoline.S

index 00830ee426bfcb8b0a85a071797a588e1ccedcd2..853351febe61ff80d41b5f228fc8d77465d034b0 100644 (file)
@@ -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>
index fad1864588fe10faa872e985d7fe7802bc1a1793..dec335ef22dc0def40ed3f4116b23124a317716a 100644 (file)
@@ -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: