OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1fd9ae
)
i386/mcount.S expects to call __mcount_internal with the 2 args passed
author
Manuel Novoa III
<mjn3@codepoet.org>
Sun, 7 Sep 2003 03:17:10 +0000
(
03:17
-0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Sun, 7 Sep 2003 03:17:10 +0000
(
03:17
-0000)
in registers.
NOTE: i386/mcount.S really needs to be rewritten. It currently won't
work for non-PIC builds.
libc/sysdeps/linux/i386/bits/machine-gmon.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/i386/bits/machine-gmon.h
b/libc/sysdeps/linux/i386/bits/machine-gmon.h
index
6c860bc
..
841518f
100644
(file)
--- 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