SPRUIG8J January 2018 – March 2024
The archiver’s -t option can be used on an index library to list the archives indexed by an index library:
ar7x t mylib.lib
SIZE DATE FILE NAME
-------- ------------------------ -----------------
119 Wed Feb 03 12:45:22 2018 mylib_7100_be.lib
119 Wed Feb 03 12:45:22 2018 mylib_7100_le.lib
0 Wed Sep 30 12:45:22 2018 __TI_$$LIBINFO
The indexed object file libraries have an additional .libinfo extension in the archiver listing. The __TI_$$LIBINFO member is a special member that designates mylib.lib as an index library, rather than a regular library.
If the archiver’s -d command is used on an index library to delete a .libinfo member, the linker will no longer choose the corresponding library when the index library is specified.
Using any other archiver option with an index library, or using -d to remove the __TI_$$LIBINFO member, results in undefined behavior, and is not supported.