summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibELF/Image.h
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-03-04 18:02:23 -0700
committerAndreas Kling <kling@serenityos.org>2022-05-01 12:42:01 +0200
commit435a263998440ea880ef1d20b7d3f1c8fb8a5a10 (patch)
treed3edd21cfa95513dd34c3450c5d91f31eaed6b84 /Userland/Libraries/LibELF/Image.h
parent1a8b5ef80a9c3360547c6817804642b680f2df84 (diff)
downloadserenity-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