[PATCH] Fix dladdr return value when cannot find symbol
carmelo.amoroso at st.com
Mon Jan 21 17:30:01 UTC 2008
Bernd Schmidt wrote:
> Carmelo AMOROSO wrote:
>> based on the patch from Nickolai, here you can find a comprehensive
>> patch to fix
>> dladdr function.
>> With the current implementation, the invocation of dladdr((void *) 1,
>> will fill dlinfo.dli_fname with the name of the application itself and
>> dlinfo.dli_fbase with 0 (the current value of tpnt->loadaddr for the
>> main app).
> Could you put a testcase for this into tests/?
Yes, sure. I'll ask my colleague to add it.
More information about the uClibc