mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
changes instantiation to mt
This commit is contained in:
9
src/mcount.c
Normal file
9
src/mcount.c
Normal file
@@ -0,0 +1,9 @@
|
||||
/* The canonical name for the function is `_mcount' in both C and asm,
|
||||
but some old asm code might assume it's `mcount'. */
|
||||
void _mcount (void);
|
||||
weak_alias (_mcount, mcount);
|
||||
|
||||
void _mcount (void)
|
||||
{
|
||||
mcount_internal ((u_long) __builtin_return_address (1), (u_long) __builtin_return_address(0));
|
||||
}
|
||||
Reference in New Issue
Block a user