DragonFly commits List (threaded) for 2010-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DragonFly_RELEASE_2_6 Fix -pg compiled programs on i386
commit cbe285f6f5205bb7b11d321acd839c0ee67ad08f
Author: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Date: Tue Jun 1 23:07:52 2010 +0300
Fix -pg compiled programs on i386
mcount() is supposed to preserve all registers. Since it
clobbered ecx, this resulted in argc/argv always being 0.
It probably only ever worked because of some artifact of
code generation by older GCCs.
Reported-by: Venkatesh Srinivas <me@endeavour.zapto.org>
Testing-by: swildner@
Summary of changes:
sys/cpu/i386/include/profile.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cbe285f6f5205bb7b11d321acd839c0ee67ad08f
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]