We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a16d88 commit 5cabf09Copy full SHA for 5cabf09
src/patchelf.cc
@@ -1121,11 +1121,6 @@ std::string ElfFile<ElfFileParamNames>::getInterpreter()
1121
template<ElfFileParams>
1122
void ElfFile<ElfFileParamNames>::modifyOsAbi(osAbiMode op, const std::string & newOsAbi)
1123
{
1124
- if (rdi(hdr()->e_type) != ET_EXEC && rdi(hdr()->e_type) != ET_DYN) {
1125
- debug("this is not an executable and not a dynamic library\n");
1126
- return;
1127
- }
1128
-
1129
unsigned char abi = hdr()->e_ident[EI_OSABI];
1130
1131
if (op == printOsAbi) {
0 commit comments