SPNU118Y September 1995 – February 2020
The archiver’s -t option can be used on an index library to list the archives indexed by an index library:
armar t mylib.lib
SIZE DATE FILE NAME
-------- ------------------------ -----------------
119 Mon Apr 23 12:45:22 2007 mylib_ARMv4_be.lib.libinfo
119 Mon Apr 23 12:45:22 2007 mylib_ARMv4_le.lib.libinfo
119 Mon Apr 23 12:45:22 2007 mylib_THUMBv4_be.lib.libinfo
119 Mon Apr 23 12:45:22 2007 mylib_THUMBv4_le.lib.libinfo
119 Mon Apr 23 12:45:22 2007 mylib_THUMBv7A8_le.lib.libinfo
0 Mon Apr 23 12:45:22 2007 __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.