This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

extract symbols + object filename + section


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]