changes instantiation to mt

This commit is contained in:
eyck committed 2025-10-07 19:14:12 +02:00
1 parent 95db3ffc81
commit 24a796cf54
6 files changed
+125 -2

No files matched your search

+9
View 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));
}