Dear community,
I am looking for the format of .lib file created by armar, I know .lib file is a collection of the ELF of many functions, but I've searched through the internet and Arm official site and haven't been able to find any information. Could any body tell me is such document available and where I can find it? Thanks.
ps. I am looking for the meaning of each bit contained in a .lib file, not how to use armar.
Hello, the best I have found is the below reference, which sadly confirms why you have struggled to find this information:
https://developer.arm.com/documentation/ihi0036/d/?lang=en#a-note-about-ar-format
May I ask the motivation for your question?
yah1003us said:ELF
is a standard and widely used file format:
https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/
https://man7.org/linux/man-pages/man5/elf.5.html
... and many more from googling "ELF file format" ...
Tools like objdump and objcopy can be used to analyse the contents of an ELF file
(other internet search engines are available)
Specifics of Arm ELF here:
https://developer.arm.com/documentation/ihi0044/latest/