[uClibc-cvs] uClibc/libc/sysdeps/linux/i386/bits machine-gmon.h, 1.1, 1.2
Manuel Novoa III
mjn3 at uclibc.org
Sun Sep 7 03:17:13 UTC 2003
Update of /var/cvs/uClibc/libc/sysdeps/linux/i386/bits
In directory winder:/tmp/cvs-serv2730
Modified Files:
machine-gmon.h
Log Message:
i386/mcount.S expects to call __mcount_internal with the 2 args passed
in registers.
NOTE: i386/mcount.S really needs to be rewritten. It currently won't
work for non-PIC builds.
Index: machine-gmon.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/machine-gmon.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- machine-gmon.h 3 Mar 2003 20:58:18 -0000 1.1
+++ machine-gmon.h 7 Sep 2003 03:17:10 -0000 1.2
@@ -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
More information about the uClibc-cvs
mailing list