On 08/09/10 03:56, Brian Lu wrote:
Hi, All,
Link editor and runtime linker provide a very useful debugging facility. I can
use LD_DEBUG=symbols,detail and LD_OPTIONS=-Dsymbols,detail
to find out all symbols processing information in ld.so.1 or ld.
I need to save the output to a file first. So when there are a lot of libraries
processed, the result file will be very large. But sometimes, I only interested
in some specific symbols, is there any way that I can tell the ld.so.1 or ld to
dump
only information related to those symbols instead of all symbols?
Thanks
Brian
The linker debugging isn't that fine grained. You have to capture
the output and then grep for what you're looking for afterwards.
This is pretty effective, and though the files get large sometimes,
it's generally not a problem.
- Ali
_______________________________________________
tools-linking mailing list
[email protected]