extract symbols + object filename + section

Josef Angermeier Josef.Angermeier@informatik.stud.uni-erlangen.de
Thu Oct 27 08:58:00 GMT 2005


Hello

I need to get out of a library, all its symbols, the corresponding
filename *and* the section.

i tried to use nm but the problem is, using 'nm -A -f posix' it doesn't
display the sections. but using 'nm -f sysv' it does, but i wonder if
this format is supported on all platforms ... is it portable ?

btw using objdump doesn't seem to be the solution... it's output is not
easy to parse...

thanks in advance
josef



More information about the Binutils mailing list