[PATCH 08/58] Mark __dso_handle as hidden [BZ #18822]
Florian Weimer
fweimer@redhat.com
Sun Sep 3 08:21:00 GMT 2017
On 09/01/2017 07:59 PM, H.J. Lu wrote:
> diff --git a/include/stdlib.h b/include/stdlib.h
> index 2274790a2e..d0dcbf81c3 100644
> --- a/include/stdlib.h
> +++ b/include/stdlib.h
> @@ -5,6 +5,10 @@
> #endif
> #include <stdlib/stdlib.h>
>
> +/* __dso_handle is always defined by either crtbegin.o from GCC or our
> + dso_handle.c. */
> +extern void *__dso_handle __attribute__ ((visibility ("hidden")));
This causes conform test failures. You need to use __visibility__ here.
Thanks,
Florian
More information about the Libc-alpha
mailing list