mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as weak alias for _mcount. * sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/* Machine-specific calling sequence for `mcount' profiling function. alpha
|
/* Machine-specific calling sequence for `mcount' profiling function. alpha
|
||||||
Copyright (C) 1995 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||||
Contributed by David Mosberger (davidm@cs.arizona.edu).
|
Contributed by David Mosberger (davidm@cs.arizona.edu).
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@@ -41,6 +41,7 @@ respectively in gmon.c language...). */
|
|||||||
.set noreorder
|
.set noreorder
|
||||||
|
|
||||||
LEAF(_mcount, 0xb0)
|
LEAF(_mcount, 0xb0)
|
||||||
|
weak_alias (_mcount, mcount)
|
||||||
.prologue 0
|
.prologue 0
|
||||||
|
|
||||||
subq sp, 0xb0, sp
|
subq sp, 0xb0, sp
|
||||||
|
@@ -42,3 +42,7 @@ void _mcount (void) \
|
|||||||
mcount_internal ((u_long) __builtin_return_address (0), \
|
mcount_internal ((u_long) __builtin_return_address (0), \
|
||||||
(u_long) __builtin_return_address (1)); \
|
(u_long) __builtin_return_address (1)); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NO_UNDERSCORES
|
||||||
|
weak_alias (_mcount, mcount)
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user