diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/alpha/_mcount.S | 3 | ||||
-rw-r--r-- | sysdeps/generic/machine-gmon.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/alpha/_mcount.S b/sysdeps/alpha/_mcount.S index 1730760316..e813ebdd58 100644 --- a/sysdeps/alpha/_mcount.S +++ b/sysdeps/alpha/_mcount.S @@ -1,5 +1,5 @@ /* 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). This file is part of the GNU C Library. @@ -41,6 +41,7 @@ respectively in gmon.c language...). */ .set noreorder LEAF(_mcount, 0xb0) +weak_alias (_mcount, mcount) .prologue 0 subq sp, 0xb0, sp diff --git a/sysdeps/generic/machine-gmon.h b/sysdeps/generic/machine-gmon.h index 24101f34f0..3c6fb68cfd 100644 --- a/sysdeps/generic/machine-gmon.h +++ b/sysdeps/generic/machine-gmon.h @@ -42,3 +42,7 @@ void _mcount (void) \ mcount_internal ((u_long) __builtin_return_address (0), \ (u_long) __builtin_return_address (1)); \ } + +#ifdef NO_UNDERSCORES +weak_alias (_mcount, mcount) +#endif |