Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elf_reader: Allow strings read-only global data sections #742

Merged
merged 1 commit into from Jul 22, 2022

Commits on Jul 22, 2022

  1. 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>
    dylandreimerink committed Jul 22, 2022
    Copy the full SHA
    6c8d388 View commit details
    Browse the repository at this point in the history