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.
https://gcc.gnu.org/ml/gcc-help/2010-12/msg00176.html
Thanks & Regards
Jitheesh Surendran