logo       

[PATCH 2/2] Ignore uninteresting arm mapping symbols: msg#00055

Subject: [PATCH 2/2] Ignore uninteresting arm mapping symbols
Ignore uninteresting arm mapping symbols

 ChangeLog                 |    4 ++++
 libutil++/bfd_support.cpp |    5 +++++
 2 files changed, 9 insertions(+)

Index: oprofile/libutil++/bfd_support.cpp
===================================================================
--- oprofile.orig/libutil++/bfd_support.cpp     2006-10-16 23:13:23.000000000 
+0100
+++ oprofile/libutil++/bfd_support.cpp  2006-10-16 23:13:39.000000000 +0100
@@ -331,6 +331,11 @@ bool interesting_symbol(asymbol * sym)
        // 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')
Index: oprofile/ChangeLog
===================================================================
--- oprofile.orig/ChangeLog     2006-10-16 23:13:26.000000000 +0100
+++ oprofile/ChangeLog  2006-10-16 23:15:08.000000000 +0100
@@ -1,5 +1,9 @@
 2006-10-16  Richard Purdie <rpurdie@xxxxxxxxxxxxxx>
 
+       * libutil++/bfd_support.cpp: Ignore uninteresting arm mapping symbols
+
+2006-10-16  Richard Purdie <rpurdie@xxxxxxxxxxxxxx>
+
        * utils/opcontrol: Remove a bashism in validate_separate_args()
 
 2006-10-13  Maynard Johnson <maynardj@xxxxxxxxxx>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>