]> sourceware.org Git - systemtap.git/commitdiff
dwflpp --ldd: add another ld.so alias for arm
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 13 Apr 2012 16:15:16 +0000 (12:15 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 13 Apr 2012 16:15:16 +0000 (12:15 -0400)
* dwflpp.cxx (dwflpp::iterate_over_libraries): Add another alias
  for ARM.

dwflpp.cxx

index 3b3bf213d6a6fe46ae28783bdf6c9e87f690070b..759b37915a99819d2cfcc667f5eb65ec525a720c 100644 (file)
@@ -1184,14 +1184,17 @@ dwflpp::iterate_over_libraries (void (*callback)(void *object, const char *arg),
   // If it gets cumbersome to maintain this whitelist, we could just check for
   // startswith("/lib/ld") || startswith("/lib64/ld"), and trust that no admin
   // would install untrustworthy loaders in those paths.
-  if ((interpreter != "/lib/ld.so.1"     // ppc / s390
-       && interpreter != "/lib/ld64.so.1" // s390x
-       && interpreter != "/lib64/ld64.so.1"
-       && interpreter != "/lib/ld-linux-ia64.so.2" // ia64
-       && interpreter != "/emul/ia32-linux/lib/ld-linux.so.2"
-       && interpreter != "/lib64/ld-linux-x86-64.so.2"   // x8664
-       && interpreter !=  "/lib/ld-linux.so.2"           // x86
-       && interpreter !=  "/lib/ld-linux.so.3"))         // arm
+  // See also http://sourceware.org/git/?p=glibc.git;a=blob;f=shlib-versions;hb=HEAD
+  if (interpreter != "/lib/ld.so.1"                     // s390, ppc
+      && interpreter != "/lib/ld64.so.1"                // s390x, ppc64
+      && interpreter != "/lib64/ld64.so.1"
+      && interpreter != "/lib/ld-linux-ia64.so.2"       // ia64
+      && interpreter != "/emul/ia32-linux/lib/ld-linux.so.2"
+      && interpreter != "/lib64/ld-linux-x86-64.so.2"   // x8664
+      && interpreter != "/lib/ld-linux.so.2"            // x86
+      && interpreter != "/lib/ld-linux.so.3"            // arm
+      && interpreter != "/lib/ld-linux-armhf.so.3"      // arm
+      )
     {
       sess.print_warning (_F("module %s --ldd skipped: unsupported interpreter: %s",
                                module_name.c_str(), interpreter.c_str()));
This page took 0.033594 seconds and 5 git commands to generate.