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

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