Filter out the dynamic linker from back traces.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13626 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/tests/filter_libc b/tests/filter_libc
index 273eff4..9fad2f5 100755
--- a/tests/filter_libc
+++ b/tests/filter_libc
@@ -13,6 +13,9 @@
     s/\(in \/.*(libc|libSystem).*\)$/(in \/...libc...)/;
     s/\(within \/.*(libc|libSystem).*\)$/(within \/...libc...)/;
 
+    # Filter out dynamic loader
+    s/\(in \/.*ld-.*so\)$//;
+
     # Remove the filename -- on some platforms (eg. Linux) it will be in
     # libc, on some (eg. Darwin) it will be in the main executable.
     s/\(below main\) \(.+\)$/(below main)/;