[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175659 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objdump/ELFDump.cpp

index 13f8f6f492175a602f53d06063ba26512197f784..c1d35f195f0d66f0e113252c6f62b9a95a5cd047 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 ";
     }