m68k/cf: fix copying frame in _dl_runtime_profile

This commit is contained in:
Andreas Schwab 2012-11-23 22:23:38 +01:00
parent 9205a99176
commit 3e2e43e250
2 changed files with 4 additions and 1 deletions

View 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>

View 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: