Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elf_reader: Allow strings read-only global data sections
In the past we had the limitation that string sections like `.rodata.str1.1` could not not be loaded since clang/LLVM doesn't provide BTF information for such sections. In cilium#675 we lifted the requirement to have BTF information for global data sections. This means that we can now also allow string sections to be loaded as global data. All facilities to do so are already in place, this commit just removes the check for references to sections with the `SHF_STRINGS` flag set. Fixes: cilium#741 Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
- Loading branch information