This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
extract symbols + object filename + section
- From: Josef Angermeier <Josef dot Angermeier at informatik dot stud dot uni-erlangen dot de>
- To: binutils at sourceware dot org
- Date: Thu, 27 Oct 2005 10:58:36 +0200
- Subject: 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