[PATCH] Add hidden visibility to internal function prototypes

Florian Weimer fweimer@redhat.com
Thu Aug 17 12:34:00 GMT 2017


On 08/17/2017 02:22 PM, H.J. Lu wrote:
> Add hidden visibility to internal function prototypes to allow direct
> access to internal functions within libc.a without using GOT when the
> compiler defaults to -fPIE.
> 
> Size comparison of elf/ldconfig when the compiler defaults to -fPIE:

This is for static linking, right?

Is there a reason to restrict this to PIE builds?  Why not use hidden
visibility unconditionally?

Thanks,
Florian



More information about the Libc-alpha mailing list