Bikeshed: glibc.dl.* or glibc.rtld.*?

Szabolcs Nagy szabolcs.nagy@arm.com
Fri Jun 19 10:12:55 GMT 2020


The 06/18/2020 17:12, Carlos O'Donell wrote:
> Szabolcs, Chung-Lin,
> 
> Which tunables namespace should we use for the dynamic loader?
> 
> glibc.dl.* (currently proposed by Szabolcs for dl_nns, and surplus static tls).
> 
> glibc.rtld.* (currently proposed by Chung-Lin for dynamic_sort=N changes).
> 
> dl = dynamic loader/linker
> rtld = runtime loader/linker
> 
> We have Solaris precedence for using rtld.
> 
> We have MacOS precedence for using DL_*
> 
> My slight inclination would be to use glibc.rtld.* for everything.
> 
> I find rtld immediately identifiable as a loader-related tunable.
> 
> While glibc.dl.* might be libdl.so, or ld.so, or something else.
> 
> Thoughts?

rtld sounds good to me, i will change it in my patch.

(i used dl.nns because i tried to model the existing
DL_NNS macro and we haven't had other rtld tunables)


More information about the Libc-alpha mailing list