diff options
Diffstat (limited to 'recipes/oprofile/oprofile/no_arm_mapping_syms.patch')
-rw-r--r-- | recipes/oprofile/oprofile/no_arm_mapping_syms.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/oprofile/oprofile/no_arm_mapping_syms.patch b/recipes/oprofile/oprofile/no_arm_mapping_syms.patch new file mode 100644 index 0000000000..4c07e5c735 --- /dev/null +++ b/recipes/oprofile/oprofile/no_arm_mapping_syms.patch @@ -0,0 +1,21 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +Index: oprofile-0.9/libutil++/bfd_support.cpp +=================================================================== +--- oprofile-0.9.orig/libutil++/bfd_support.cpp 2005-05-05 15:43:46.000000000 +0100 ++++ oprofile-0.9/libutil++/bfd_support.cpp 2005-06-10 10:18:24.000000000 +0100 +@@ -330,6 +330,11 @@ + // returning true for fix up in op_bfd_symbol() + 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') |