This is the mail archive of the binutils@sources.redhat.com 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] |
I'm using BFD to read a program's symbol names. It works fine,
but in the case of an executable linked with dynamic objects,
additionnal informations (such as original file or line number [-g])
are not available. I need to read them in the corresponding .so files.
I perform this well, but I need to give the list of .so files used by
the
program.
Is there a way (using BFD or an other one) to obtain the list of
dynamic objects needed by the program (such as the objdump output:
Dynamic Section:
NEEDED fic1.so
NEEDED ../fnccheck-1.4/lib/libfnccheck.so
NEEDED libc.so.6
...)
or even better, to obtain for a given symbol (a function) the corresponding
object in which it is ?
Thank you in advance for your help.
--
Yannick Perret
yperret at ligim.univ-lyon1.fr
http://www710.univ-lyon1.fr/~yperret
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |