#
# 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')