public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Bikeshed: glibc.dl.* or glibc.rtld.*?
@ 2020-06-18 21:12 Carlos O'Donell
  2020-06-19 10:12 ` Szabolcs Nagy
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos O'Donell @ 2020-06-18 21:12 UTC (permalink / raw)
  To: Szabolcs Nagy, Chung-Lin Tang, libc-alpha

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?

-- 
Cheers,
Carlos.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bikeshed: glibc.dl.* or glibc.rtld.*?
  2020-06-18 21:12 Bikeshed: glibc.dl.* or glibc.rtld.*? Carlos O'Donell
@ 2020-06-19 10:12 ` Szabolcs Nagy
  0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2020-06-19 10:12 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: Chung-Lin Tang, libc-alpha

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-19 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 21:12 Bikeshed: glibc.dl.* or glibc.rtld.*? Carlos O'Donell
2020-06-19 10:12 ` Szabolcs Nagy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).