[PATCH 1/3] Mark __libc_multiple_libcs with attribute_hidden [BZ #18822]

Florian Weimer fweimer@redhat.com
Mon Aug 21 10:03:00 GMT 2017


On 08/20/2017 04:12 PM, H.J. Lu wrote:
> +/* Set nonzero if we have to be prepared for more than one libc being
> +   used in the process.  */
> +extern int __libc_multiple_libcs attribute_hidden;

I think the comment gives the wrong impression.  The flag is not always
set if there are multiple libcs in the process, and it certainly is not
set just because we might end up having multiple libcs in the future
(which is why the “have to be prepared” part irks me).

Thanks,
Florian



More information about the Libc-alpha mailing list