diff options
author | kan <kan@FreeBSD.org> | 2004-07-29 18:02:28 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-29 18:02:28 +0000 |
commit | c1bceab802a20cb17b0942fdfee0724cf07b5ba5 (patch) | |
tree | 1278b812aaaa171f23ae8f9c96932a73cc0b5fb0 /sys/amd64/include/profile.h | |
parent | af4709187f48022b3daefa6ba57d11932771246c (diff) | |
download | FreeBSD-src-c1bceab802a20cb17b0942fdfee0724cf07b5ba5.zip FreeBSD-src-c1bceab802a20cb17b0942fdfee0724cf07b5ba5.tar.gz |
Use newly added __used attribute to keep static function symbol from
being eliminated.
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r-- | sys/amd64/include/profile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h index f53927c..a4cce2c 100644 --- a/sys/amd64/include/profile.h +++ b/sys/amd64/include/profile.h @@ -92,7 +92,7 @@ extern int mcount_lock; #define FUNCTION_ALIGNMENT 4 #define _MCOUNT_DECL \ -static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __unused; \ +static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __used; \ static void _mcount #ifdef __GNUC__ |