forked from OSchip/llvm-project
[objdump] Print the PT_INTERP and PT_DYNAMIC correcctly.
llvm-svn: 175659
This commit is contained in:
parent
4d87d45a05
commit
1366a61242
|
@ -39,6 +39,12 @@ void printProgramHeaders(
|
||||||
case ELF::PT_GNU_EH_FRAME:
|
case ELF::PT_GNU_EH_FRAME:
|
||||||
outs() << "EH_FRAME ";
|
outs() << "EH_FRAME ";
|
||||||
break;
|
break;
|
||||||
|
case ELF::PT_INTERP:
|
||||||
|
outs() << " INTERP ";
|
||||||
|
break;
|
||||||
|
case ELF::PT_DYNAMIC:
|
||||||
|
outs() << " DYNAMIC ";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
outs() << " UNKNOWN ";
|
outs() << " UNKNOWN ";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue