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

LLEXT: support detached sections #79012

Merged
merged 5 commits into from
Sep 29, 2024

Commits on Sep 27, 2024

  1. llext: make llext_loaded_sect_ptr() available to all LLEXT code

    Make llext_loaded_sect_ptr() a proper function to be able to call it
    from platform LLEXT code.
    
    Signed-off-by: Guennadi Liakhovetski <[email protected]>
    lyakh committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    94b7b20 View commit details
    Browse the repository at this point in the history
  2. llext: (cosmetic) use a more common name for a variable

    It's more common in the LLEXT code base to call elf_sym_t instances
    "sym" and not "sym_tbl." Convert llext_link_plt() to follow this
    convention.
    
    Signed-off-by: Guennadi Liakhovetski <[email protected]>
    lyakh committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    51a7465 View commit details
    Browse the repository at this point in the history
  3. LLEXT: Xtensa: add support for L32R relocation

    When building LLEXT for Xtensa with custom sections the compiler
    can leave unresolved references in them. Then this has to be done by
    the LLEXT core during linking. This commit adds linking support for
    the L32R Xtensa instruction.
    
    Signed-off-by: Guennadi Liakhovetski <[email protected]>
    lyakh committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    334f7b7 View commit details
    Browse the repository at this point in the history
  4. llext: pass the whole struct llext_load_param

    To simplify LLEXT loader parameter extension pass the whole
    struct llext_load_param to final consumers instead of extracting
    individual fields from it in the caller function.
    
    Signed-off-by: Guennadi Liakhovetski <[email protected]>
    lyakh committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    6d71293 View commit details
    Browse the repository at this point in the history
  5. LLEXT: add support for detached sections

    Some LLEXT objects can include sections, that should not be merged
    with other sections of the same type. E.g. when such sections should
    be placed into locations, other than the default. Add support for
    such sections.
    
    Signed-off-by: Guennadi Liakhovetski <[email protected]>
    lyakh committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    3b3b361 View commit details
    Browse the repository at this point in the history