[PATCH] libdl: add option for controlling dl_cleanup
Carmelo AMOROSO
carmelo.amoroso at st.com
Mon Jul 25 07:12:15 UTC 2011
On 24/07/2011 10.43, Richard Braun wrote:
> On Sat, Jul 09, 2011 at 02:06:52PM +0200, Richard Braun wrote:
>> When debugging memory leaks with Valgrind, it is required that
>> dynamically loaded shared objects are not unloaded when a process exits,
>> otherwise symbols from those files aren't correctly resolved in
>> allocation traces. This patch adds the LDSO_NO_CLEANUP configuration
>> option to control this behaviour.
>>
>> Signed-off-by: Richard Braun <rbraun at sceen.net>
>> ---
>> extra/Configs/Config.in | 12 ++++++++++++
>> ldso/libdl/Makefile.in | 6 +++++-
>> ldso/libdl/libdl.c | 2 ++
>> 3 files changed, 19 insertions(+), 1 deletions(-)
>
> Could someone have a look please ? It's a really small patch that should
> take little time to review.
>
Looks fine to me, applied.
thanks
Carmelo
More information about the uClibc
mailing list