about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-13 22:49:37 +0000
committerRoland McGrath <roland@gnu.org>1996-06-13 22:49:37 +0000
commit9f70e81bcaa12b0673cd0879d6f4a21ad6dddce5 (patch)
tree124212cb479f56fbe66b93d8d8196d67b07d5d6e /sysdeps/generic
parent5c5ae36fd85145a9aada74eba110dccb70073c70 (diff)
downloadglibc-9f70e81bcaa12b0673cd0879d6f4a21ad6dddce5.tar.gz
glibc-9f70e81bcaa12b0673cd0879d6f4a21ad6dddce5.tar.xz
glibc-9f70e81bcaa12b0673cd0879d6f4a21ad6dddce5.zip
Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960614
	* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
	weak alias for _mcount.
	* sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/machine-gmon.h4
1 files changed, 4 insertions, 0 deletions
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