mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use newly added __used attribute to keep static function symbol from
being eliminated.
This commit is contained in:
parent
b289983ea4
commit
8b5ae4db0d
1 changed files with 1 additions and 1 deletions
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Reference in a new issue