aboutsummaryrefslogtreecommitdiffstats
path: root/packages/glibc/glibc-2.2.5/arm-machine-gmon.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.2.5/arm-machine-gmon.patch')
-rw-r--r--packages/glibc/glibc-2.2.5/arm-machine-gmon.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.2.5/arm-machine-gmon.patch b/packages/glibc/glibc-2.2.5/arm-machine-gmon.patch
index e69de29bb2..0fa789d86b 100644
--- a/packages/glibc/glibc-2.2.5/arm-machine-gmon.patch
+++ b/packages/glibc/glibc-2.2.5/arm-machine-gmon.patch
@@ -0,0 +1,11 @@
+--- sysdeps/arm/machine-gmon.h~ 2001-07-06 00:55:48.000000000 -0400
++++ sysdeps/arm/machine-gmon.h 2004-04-25 03:56:20.000000000 -0400
+@@ -35,7 +35,7 @@
+ static void mcount_internal (u_long frompc, u_long selfpc);
+
+ #define _MCOUNT_DECL(frompc, selfpc) \
+-static void mcount_internal (u_long frompc, u_long selfpc)
++static __attribute__((used)) void mcount_internal (u_long frompc, u_long selfpc)
+
+ /* This macro/func MUST save r0, r1 because the compiler inserts
+ blind calls to _mount(), ignoring the fact that _mcount may