base: Fix inverted check in ELF .text size warning
This commit is contained in:
parent
f471cc22f0
commit
e9d0f6db88
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ ElfObject::ElfObject(const std::string &_filename, size_t _len,
|
|||
}
|
||||
|
||||
// should have found at least one loadable segment
|
||||
warn_if(text.size != 0,
|
||||
warn_if(text.size == 0,
|
||||
"Empty .text segment in '%s'. ELF file corrupted?\n",
|
||||
filename);
|
||||
|
||||
|
|
Loading…
Reference in a new issue