Rich Felker c91aa03d24 remove freeing of dynamic linker data when dlopen/dlsym are not used
this was an optimization to save/recover a minimal amount of extra
memory for use by malloc, that's becoming increasingly costly to keep
around. freeing this data:

1. breaks debugging with gdb (it can't find library symbols)
2. breaks thread-local storage in shared libraries

it would be possible to disable freeing when TLS is used, but in
addition to the above breakages, tracking whether dlopen/dlsym is used
adds a cost to every symbol lookup, possibly making program startup
slower for large programs. combined with the complexity, it's not
worth it. we already save/recover plenty of memory in the dynamic
linker with reclaim_gaps.
2012-10-04 21:08:53 -04:00
..
2012-09-15 23:41:07 -04:00
2012-04-16 18:37:53 -04:00
2012-09-22 16:08:58 -04:00
2012-09-30 20:00:38 -04:00
2012-09-30 19:35:40 -04:00
2012-09-29 01:05:31 -04:00
2012-09-29 01:05:31 -04:00