diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-03-04 18:02:23 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-01 12:42:01 +0200 |
commit | 435a263998440ea880ef1d20b7d3f1c8fb8a5a10 (patch) | |
tree | d3edd21cfa95513dd34c3450c5d91f31eaed6b84 /Userland/Libraries/LibELF/Image.h | |
parent | 1a8b5ef80a9c3360547c6817804642b680f2df84 (diff) | |
download | serenity-435a263998440ea880ef1d20b7d3f1c8fb8a5a10.zip |
LibELF: Relax restriction on allowed values of EI_OSABI to allow GNU
This check is here to make sure we only try to load serenity binaries.
However, with -fprofile-instr-generate -fcoverage-mapping, clang
sets the EI_OSABI field to 3, for GNU. The instrumentation uses a lot of
retained COMDAT sections for coverage instrumentation that get the
SHF_GNU_RETAINED section header flag set on them, forcing llvm to set
the ABI to GNU.
Diffstat (limited to 'Userland/Libraries/LibELF/Image.h')
0 files changed, 0 insertions, 0 deletions