diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2004-07-29 18:02:28 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2004-07-29 18:02:28 +0000 |
commit | 8b5ae4db0df9bb32189866a355d22217954ff43c (patch) | |
tree | 1278b812aaaa171f23ae8f9c96932a73cc0b5fb0 | |
parent | b289983ea4f83cc6091fb0d55a2112a31b018774 (diff) | |
download | src-8b5ae4db0df9bb32189866a355d22217954ff43c.tar.gz src-8b5ae4db0df9bb32189866a355d22217954ff43c.zip |
Use newly added __used attribute to keep static function symbol from
being eliminated.
Notes
Notes:
svn path=/head/; revision=132846
-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 f53927c11a2a..a4cce2c60315 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__ |