From: Andreas Schwab Date: Fri, 23 Nov 2012 21:23:38 +0000 (+0100) Subject: m68k/cf: fix copying frame in _dl_runtime_profile X-Git-Tag: upstream/2.16.90~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e2e43e2504b5dd2768afc0f8b6de77849f5a376;p=platform%2Fupstream%2Fglibc.git m68k/cf: fix copying frame in _dl_runtime_profile --- 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 + * 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 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: