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

newt: Extend link tables filter #558

Merged
merged 1 commit into from
Sep 6, 2024

Commits on May 16, 2024

  1. newt: Extend link tables filter

    So far for link time generated tables only exact section name
    was added to filter like in this example:
    
    pkg.link_tables:
        - foo
    
    would generate link_tables.ld.h with following content
            __foo_start__ = .;
            KEEP(*(.foo))
            __foo_end__ = .;
    
    Now additional filter will be added
            __foo_start__ = .;
            KEEP(*(.foo))
            KEEP(*(SORT(.foo.*)))
            __foo_end__ = .;
    
    This is general rule for many sections like .text or .data
    
    This is specifically required for xc32 compiler that
    adds variable name to section by itself even though
    __attribute__((section, "foo")) is used and arm gcc
    treats name in attribute verbatim and not as prefix.
    kasjer committed May 16, 2024
    Configuration menu
    Copy the full SHA
    e39702c View commit details
    Browse the repository at this point in the history