kasjer opened a new pull request, #558:
URL: https://github.com/apache/mynewt-newt/pull/558

   So far for link time generated tables only exact section name was added to 
filter like in this example:
   
   ```yml
   pkg.link_tables:
       - foo
   ```
   
   would generate link_tables.ld.h with following content
   ```ld
           __foo_start__ = .;
           KEEP(*(.foo))
           __foo_end__ = .;
   ```
   
   Now additional filter will be added
   ```ld
           __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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to