summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/i386/bits/machine-gmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/bits/machine-gmon.h b/libc/sysdeps/linux/i386/bits/machine-gmon.h
index 6c860bc01..841518f06 100644
--- a/libc/sysdeps/linux/i386/bits/machine-gmon.h
+++ b/libc/sysdeps/linux/i386/bits/machine-gmon.h
@@ -33,7 +33,7 @@
extern void mcount_internal (u_long frompc, u_long selfpc);
#define _MCOUNT_DECL(frompc, selfpc) \
-void mcount_internal (u_long frompc, u_long selfpc)
+void __attribute__ (( regparm (2) )) mcount_internal (u_long frompc, u_long selfpc)
/* Define MCOUNT as empty since we have the implementation in another