summary refs log tree commit diff
path: root/sysdeps/mips/machine-gmon.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-02-08 18:57:15 +0000
committerAndreas Jaeger <aj@suse.de>2002-02-08 18:57:15 +0000
commit0f0d61adf5559947c132cffe2067c06a009edb5e (patch)
treead52b6b8466f08fe5297083bf84b232e49e2e75f /sysdeps/mips/machine-gmon.h
parentbc632c07281e2839be5a3e5961bd8a2f2e60ec11 (diff)
downloadglibc-0f0d61adf5559947c132cffe2067c06a009edb5e.tar.gz
glibc-0f0d61adf5559947c132cffe2067c06a009edb5e.tar.xz
glibc-0f0d61adf5559947c132cffe2067c06a009edb5e.zip
Update.
2002-02-04  H.J. Lu  <hjl@gnu.org>

	* sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use
	__attribute_used__.
	(__dl_runtime_resolve): Likewise.

	* sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real
	declaration.
Diffstat (limited to 'sysdeps/mips/machine-gmon.h')
-rw-r--r--sysdeps/mips/machine-gmon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mips/machine-gmon.h b/sysdeps/mips/machine-gmon.h
index 4b6a939a0a..f9bd2b4d14 100644
--- a/sysdeps/mips/machine-gmon.h
+++ b/sysdeps/mips/machine-gmon.h
@@ -1,5 +1,5 @@
 /* Machine-specific calling sequence for `mcount' profiling function.  MIPS
-   Copyright (C) 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -17,7 +17,8 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define _MCOUNT_DECL static void __mcount
+#define _MCOUNT_DECL(frompc,selfpc) \
+static void __attribute_used__ __mcount (u_long frompc, u_long selfpc)
 
 /* Call __mcount with our the return PC for our caller,
    and the return PC our caller will return to.  */