[RFC][PATCH 0/6] binutils patches to add DT_FLAGS_1 / DF_1_UNIQUE

Florian Weimer fw@deneb.enyo.de
Mon Mar 30 18:06:53 GMT 2020


* Vivek Das Mohapatra via Libc-alpha:

> This patch series is in support of the glibc RTLD_SHARED work
> discussed in https://sourceware.org/bugzilla/show_bug.cgi?id=22745.
>
> It adds a DT_FLAGS_1 value DF_1_UNIQUE which is intended to mark
> libraries which should implicitly be opened as if RTLD_SHARED
> had been passed to dlmopen when the target namespace is not
> LM_ID_BASE.
>
> This patch series adds support for DF_1_UNIQUE to ld, gold, and
> readelf (and documents it in the help text and so forth).

I think you should repost this series to the binutils list.

It would perhaps be less controversial to add a new dynamic tag in the
GNU range for this, rather than a global flag value (in the space
shared with other operating systems).


More information about the Libc-alpha mailing list