[PATCH 00/58] Hide internal functions in libc.so
Florian Weimer
fweimer@redhat.com
Fri Sep 1 18:16:00 GMT 2017
On 09/01/2017 07:59 PM, H.J. Lu wrote:
> On x86,
>
> # readelf -rW libc_pic.a | grep " __" | grep PLT32 | awk '{ print $5 }' | sort | uniq
>
> shows that many internal functions are called via PLT in libc.so. This
> series of patches hides internal functions to allow direct access within
> libc.so and libc.a without using GOT nor PLT.
I think we need to automate the generation of hidden attributes (or the
hidden aliases).
Any ideas how we can do this?
Thanks,
Florian
More information about the Libc-alpha
mailing list