summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/glibc/glibc-cvs/arm-machine-gmon.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-08-31 10:45:47 +0000
committerRichard Purdie <richard@openedhand.com>2005-08-31 10:45:47 +0000
commit4b46c1f6e891b1ddd5968536440b888661fade3e (patch)
treee0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/glibc/glibc-cvs/arm-machine-gmon.patch
downloadpoky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/glibc/glibc-cvs/arm-machine-gmon.patch')
-rw-r--r--openembedded/packages/glibc/glibc-cvs/arm-machine-gmon.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openembedded/packages/glibc/glibc-cvs/arm-machine-gmon.patch b/openembedded/packages/glibc/glibc-cvs/arm-machine-gmon.patch
new file mode 100644
index 0000000000..0fa789d86b
--- /dev/null
+++ b/openembedded/packages/glibc/glibc-cvs/arm-machine-gmon.patch
@@ -0,0 +1,11 @@
1--- sysdeps/arm/machine-gmon.h~ 2001-07-06 00:55:48.000000000 -0400
2+++ sysdeps/arm/machine-gmon.h 2004-04-25 03:56:20.000000000 -0400
3@@ -35,7 +35,7 @@
4 static void mcount_internal (u_long frompc, u_long selfpc);
5
6 #define _MCOUNT_DECL(frompc, selfpc) \
7-static void mcount_internal (u_long frompc, u_long selfpc)
8+static __attribute__((used)) void mcount_internal (u_long frompc, u_long selfpc)
9
10 /* This macro/func MUST save r0, r1 because the compiler inserts
11 blind calls to _mount(), ignoring the fact that _mcount may