Re: [OOT] About the symbols in binary file.

2012-01-20 Thread nilesh
On Friday 20 January 2012 03:37 PM, Daniel Baluta wrote:
> On Fri, Jan 20, 2012 at 11:56 AM, nilesh  wrote:
>> Hi,
>>
>> The question is not completely related to kernel. But I came across
>> similar question when debugging in kernel.
>>
>> I tried dissecting the SSL library using 'nm' command. It is showing the
>> list of symbols along with some generic addresses (to be used when
>> relocating).
>> Also there are some characters 't', 'T', 'U'. I guess these correspond
>> to properties of symbols - like static, extern etc.
>>
>> Could someone please point out what exactly each character corresponds to?
>> I mean looking at the character, we should be able to denote if it's a
>> static symbol or inline etc. Do we have any such mapping?
>
> man nm :)
Missed that..Sorry for being lazy to check before posting the dumb query. :)

>
> thanks,
> Daniel.

-- 
Thanks,
Nilesh

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: [OOT] About the symbols in binary file.

2012-01-20 Thread Daniel Baluta
On Fri, Jan 20, 2012 at 11:56 AM, nilesh  wrote:
> Hi,
>
> The question is not completely related to kernel. But I came across
> similar question when debugging in kernel.
>
> I tried dissecting the SSL library using 'nm' command. It is showing the
> list of symbols along with some generic addresses (to be used when
> relocating).
> Also there are some characters 't', 'T', 'U'. I guess these correspond
> to properties of symbols - like static, extern etc.
>
> Could someone please point out what exactly each character corresponds to?
> I mean looking at the character, we should be able to denote if it's a
> static symbol or inline etc. Do we have any such mapping?

man nm :)

thanks,
Daniel.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies