Subject: CVS commit: src/common/lib/libc/gmon
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 10/26/2006 23:10:16
Module Name: src
Committed By: uwe
Date: Thu Oct 26 23:10:16 UTC 2006
Modified Files:
src/common/lib/libc/gmon: mcount.c
Log Message:
Do the used/unused dance under #ifdef KERNEL too. Prevents mcount
from being optimized away when compiling sh3 kernels with profiling
enabled (gcc doesn't see that __mcount, which is written in asm,
refers to it).
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/common/lib/libc/gmon/mcount.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.