Copy relocation support for _r_debug
H.J. Lu
hjl.tools@gmail.com
Thu Sep 23 17:30:51 GMT 2021
On Thu, Sep 23, 2021 at 10:24 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> I think we lost copy relocation support for _r_debug. We only update
> _r_debug_extended, so we have effectively created a rtld_hidden_proto
> alias here.
>
> Is this a problem? I somehow missed this during review. 8-(
We have discussed it during Monday's patch review. I don't believe it is
a problem. The _r_debug data used for copy relocation has been set up
before copy relocation is invoked. The users of _r_debug only use the
value in the r_map field, not the address of the r_map field as shown in
the _r_debug tests in glibc. The value of the r_map field in the _r_debug
copy is always the same as the internal _r_debug_extended.
--
H.J.
More information about the Libc-alpha
mailing list