[RFC][PATCH v2 0/6] binutils patches to add DT_GNU_UNIQUE

Vivek Das Mohapatra vivek@collabora.com
Mon Jun 29 11:01:50 GMT 2020


> So DF_1_UNIQUE in your implementation merely expresses a preference for
> sharing.  That's not very unqiue. 8-/

Naming things is hard :)

I'm not wedded to the name, happy to change it - I just needed to
call it _something_ for the patch series.

> | \begin{description}
> |  \item[DF_GNU_1_UNIQUE]
> |       If this flag is set in a shared object, only one instance of this
> |       shared object should ever be loaded across the entire address
> |       space.
> | \end{description}
>
> Admittedly, I based my comments on that, and not your patch.
>
> I think the specification for DF_GNU_1_UNIQUE should be reworded.

Fair enough. I'll propose updated wording:

I need to update the patches anyway since I think the flag had
been pushed into a new dynamic tag as solaris already exhausted
the 32 bits in use in DT_FLAGS_1.




More information about the Libc-alpha mailing list