Originally Posted by gbhat
Is there any specification defines what is the format of the .dynstr section of dynamic linked ELF file? I found different format with different compilers for example,
In case of armlink -- all *.so files are listed together like..
But, in case of gnuld, the associated symbols and *.so file
names are clubbed together.
dysnstr is just "vocabulary" of 0-terminated strings. Those strings referenced from another places. So what you see is not "different format" - it's just different strings sequence
As long as I know ELF specification doesn't impose any specific order on the strings in the dynstr section.
Why the order of strings in dynstr section is important for you, what you aure trying to achieve ?