mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Use __mcount() instead of _mcount() to reduce diffs with NetBSD.
This commit is contained in:
parent
1b156a4077
commit
705fda849d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169768
@ -11,7 +11,7 @@ FBSD_1.0 {
|
||||
/* PSEUDO syscalls */
|
||||
_exit;
|
||||
|
||||
_mcount;
|
||||
__mcount;
|
||||
_setjmp;
|
||||
_longjmp;
|
||||
alloca;
|
||||
|
@ -80,7 +80,7 @@
|
||||
|
||||
#ifdef GPROF
|
||||
# define _PROF_PROLOGUE \
|
||||
mov ip, lr; bl _mcount
|
||||
mov ip, lr; bl __mcount
|
||||
#else
|
||||
# define _PROF_PROLOGUE
|
||||
#endif
|
||||
|
@ -61,9 +61,9 @@ typedef u_long fptrdiff_t;
|
||||
#define MCOUNT \
|
||||
__asm__(".text"); \
|
||||
__asm__(".align 0"); \
|
||||
__asm__(".type _mcount ,%function"); \
|
||||
__asm__(".global _mcount"); \
|
||||
__asm__("_mcount:"); \
|
||||
__asm__(".type __mcount ,%function"); \
|
||||
__asm__(".global __mcount"); \
|
||||
__asm__("__mcount:"); \
|
||||
/* \
|
||||
* Preserve registers that are trashed during mcount \
|
||||
*/ \
|
||||
|
Loading…
Reference in New Issue
Block a user