summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r--sys/amd64/include/profile.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h
index 02c43ca..e034e61 100644
--- a/sys/amd64/include/profile.h
+++ b/sys/amd64/include/profile.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)profile.h 8.1 (Berkeley) 6/11/93
- * $Id: profile.h,v 1.16 1998/07/10 09:26:41 bde Exp $
+ * $Id: profile.h,v 1.17 1998/07/14 05:09:43 bde Exp $
*/
#ifndef _MACHINE_PROFILE_H_
@@ -135,8 +135,12 @@ void stopguprof __P((struct gmonparam *p));
__BEGIN_DECLS
#ifdef __GNUC__
+#ifdef __ELF__
+void mcount __P((void)) __asm(".mcount");
+#else
void mcount __P((void)) __asm("mcount");
#endif
+#endif
static void _mcount __P((uintfptr_t frompc, uintfptr_t selfpc));
__END_DECLS
OpenPOWER on IntegriCloud