[objdump] Add PT_PHDR.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 21 Feb 2013 02:21:29 +0000 (02:21 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 21 Feb 2013 02:21:29 +0000 (02:21 +0000)
llvm-svn: 175709

llvm/tools/llvm-objdump/ELFDump.cpp

index c1d35f1..72c512e 100644 (file)
@@ -45,6 +45,9 @@ void printProgramHeaders(
     case ELF::PT_DYNAMIC:
       outs() << " DYNAMIC ";
       break;
+    case ELF::PT_PHDR:
+      outs() << "    PHDR ";
+      break;
     default:
       outs() << " UNKNOWN ";
     }