Overlay Support for Library Archive(static library, .a file) on GNU-GCC

jitheeshts wrote on Wednesday, August 17, 2016:

I was working on customizing the linker script for including overlay mechanism. I have succeeded in creating a sample project which uses overlay mechanism. But now i need a library archive(.a file) to be a part of overlay module. How do we refer object files inside an archive in linker script syntax. Especially how to use archive file(.a) along with “EXCLUDE_FILE” and “OVERLAY SECTION” linker script directives?

We tried Exclude option as we are using for an object file. But it didn’t work. And also how this .a file can be placed in an overlay section. I tried searching, but unfortunately none of them works for me.

The following link suggest something ,but it doesn’t works for me.


Thanks & Regards
Jitheesh Surendran

rtel wrote on Wednesday, August 17, 2016:

This is not a FreeRTOS question and would be best posted to a forum specific to your compiler (or at least, linker). To ensure the quality of this resource to our users we prefer to keep strictly on topic.