diff options
Diffstat (limited to 'meta/packages/oprofile/oprofile/no_arm_mapping_syms.patch')
-rw-r--r-- | meta/packages/oprofile/oprofile/no_arm_mapping_syms.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/oprofile/oprofile/no_arm_mapping_syms.patch b/meta/packages/oprofile/oprofile/no_arm_mapping_syms.patch new file mode 100644 index 0000000000..4c07e5c735 --- /dev/null +++ b/meta/packages/oprofile/oprofile/no_arm_mapping_syms.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
4 | # | ||
5 | |||
6 | Index: oprofile-0.9/libutil++/bfd_support.cpp | ||
7 | =================================================================== | ||
8 | --- oprofile-0.9.orig/libutil++/bfd_support.cpp 2005-05-05 15:43:46.000000000 +0100 | ||
9 | +++ oprofile-0.9/libutil++/bfd_support.cpp 2005-06-10 10:18:24.000000000 +0100 | ||
10 | @@ -330,6 +330,11 @@ | ||
11 | // returning true for fix up in op_bfd_symbol() | ||
12 | if (!sym->name || sym->name[0] == '\0') | ||
13 | return true; | ||
14 | + /* ARM assembler internal mapping symbols aren't interesting */ | ||
15 | + if ((strcmp("$a", sym->name) == 0) || | ||
16 | + (strcmp("$t", sym->name) == 0) || | ||
17 | + (strcmp("$d", sym->name) == 0)) | ||
18 | + return false; | ||
19 | |||
20 | // C++ exception stuff | ||
21 | if (sym->name[0] == '.' && sym->name[1] == 'L') | ||