[objdump] Print the PT_INTERP and PT_DYNAMIC correcctly.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 20 Feb 2013 20:18:10 +0000 (20:18 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 20 Feb 2013 20:18:10 +0000 (20:18 +0000)
llvm-svn: 175659

llvm/tools/llvm-objdump/ELFDump.cpp

index 13f8f6f..c1d35f1 100644 (file)
@@ -39,6 +39,12 @@ void printProgramHeaders(
     case ELF::PT_GNU_EH_FRAME:
       outs() << "EH_FRAME ";
       break;
+    case ELF::PT_INTERP:
+      outs() << "  INTERP ";
+      break;
+    case ELF::PT_DYNAMIC:
+      outs() << " DYNAMIC ";
+      break;
     default:
       outs() << " UNKNOWN ";
     }