[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Confused about /usr/bin/nm, linker, and stripped libs
- From: Miloslav Trmac <mitr volny cz>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: Confused about /usr/bin/nm, linker, and stripped libs
- Date: Sat, 29 Apr 2006 16:50:15 +0200
Hello,
John Ellson napsal(a):
> These days rpm installs most libs stripped of their symbols, which is
> fine as it makes them smaller and presumably load faster.
>
> But how does the linker resolve symbols against stripped libs? And if
> the linker can do it, why can't /usr/bin/nm ?
There are two types of symbol information:
- ELF symbols, used for linking (both static and dynamic)
- debugging information, used only by the debugger.
strip and nm works on debugging information, not ELF symbols. You can
use e.g. readelf to see the ELF symbols.
Mirek
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]