[PATCH] Mark internal functions with attribute_hidden

Joseph Myers joseph@codesourcery.com
Thu Aug 17 14:02:00 GMT 2017


On Thu, 17 Aug 2017, H.J. Lu wrote:

> Yes, this is target independent.   It should benefit static PIE build for all
> targets.  On x86, it bypasses GOT/PLT.

Specifically, on x86 I'd consider this (making functions hidden if they 
are not exported from the shared library containing their definitions) to 
be part of the fix for bug 18822.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list