Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Thu, 13 Jun 1996 22:49:33 +0000 (22:49 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 13 Jun 1996 22:49:33 +0000 (22:49 +0000)
* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
weak alias for _mcount.
* sysdeps/alpha/_mcount.S (mcount): Define as weak alias.

sysdeps/alpha/_mcount.S

index 1730760..e813ebd 100644 (file)
@@ -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