Quote:
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..
test.so
test1.so
symbol1_test
symbol2_test
symbol1_test1
symbol2_test1
But, in case of gnuld, the associated symbols and *.so file
names are clubbed together.
test.so
symbol1_test
symbol2_test
test1.so
symbol1_test1
symbol2_test2
///G
|
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 ?