diff options
author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-05-29 01:18:14 +0000 |
---|---|---|
committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-05-29 01:18:14 +0000 |
commit | 7671b766a63e119f1cc7cc6561d25e9e20462992 (patch) | |
tree | af8593f19077aed02f67810030c5c51979d0ddaa /sys/kern/subr_prof.c | |
parent | 402705521a27059790f2742318d953693e7f39cf (diff) | |
download | src-7671b766a63e119f1cc7cc6561d25e9e20462992.tar.gz src-7671b766a63e119f1cc7cc6561d25e9e20462992.zip |
Enable MI bits for gcc -ftest-coverage -fprofile-arcs on amd64.
Notes
Notes:
svn path=/head/; revision=129826
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r-- | sys/kern/subr_prof.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index 1797f7a38142..d2cfe65660e3 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -534,7 +534,8 @@ out: PROC_UNLOCK(p); } -#if defined(__i386__) && __GNUC__ >= 2 && !defined(__INTEL_COMPILER) +#if (defined(__amd64__) || defined(__i386__)) && __GNUC__ >= 2 && \ + !defined(__INTEL_COMPILER) /* * Support for "--test-coverage --profile-arcs" in GCC. * |