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 + * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile) + [__mcoldfire__]: Fix copying loop. + * sysdeps/m68k/sotruss-lib.c: New file. 2012-11-21 Andreas Schwab 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: