summaryrefslogtreecommitdiff
path: root/oprofile/oprofile-0.8/no_arm_mapping_syms.patch
diff options
context:
space:
mode:
Diffstat (limited to 'oprofile/oprofile-0.8/no_arm_mapping_syms.patch')
-rw-r--r--oprofile/oprofile-0.8/no_arm_mapping_syms.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/oprofile/oprofile-0.8/no_arm_mapping_syms.patch b/oprofile/oprofile-0.8/no_arm_mapping_syms.patch
index e69de29bb2..e6c58375a2 100644
--- a/oprofile/oprofile-0.8/no_arm_mapping_syms.patch
+++ b/oprofile/oprofile-0.8/no_arm_mapping_syms.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- oprofile-0.8/libutil++/op_bfd.cpp~no_arm_mapping_syms 2004-06-17 23:09:33.000000000 -0500
++++ oprofile-0.8/libutil++/op_bfd.cpp 2004-06-17 23:11:45.000000000 -0500
+@@ -356,6 +356,12 @@
+ if (!sym->name || sym->name[0] == '\0')
+ return true;
+
++ /* ARM assembler internal mapping symbols aren't interesting */
++ if ((strcmp("$a", sym->name) == 0) ||
++ (strcmp("$t", sym->name) == 0) ||
++ (strcmp("$d", sym->name) == 0))
++ return false;
++
+ // C++ exception stuff
+ if (sym->name[0] == '.' && sym->name[1] == 'L')
+ return false;