[PATCH] Mark __tunables_init hidden and avoid PLT

H.J. Lu hjl.tools@gmail.com
Thu May 25 12:33:00 GMT 2017


On Wed, May 24, 2017 at 10:57 PM, Siddhesh Poyarekar
<siddhesh@gotplt.org> wrote:
> On Thursday 25 May 2017 12:47 AM, H.J. Lu wrote:
>> Since __tunables_init is internal to ld.so, we should mark it hidden
>> to avoid PLT.  We should also avoid PLT when calling __tunable_set_val
>> within ld.so.
>
> We don't export __tunables_init, so it shouldn't have a PLT anyway.  As
> for __tunable_set_val, I have it in my patch 3/5:
>
> https://sourceware.org/ml/libc-alpha/2017-05/msg00654.html
>
> which needs minor rework before pushing.
>

These can be in a simpler patch.  Here is the updated one.

OK for master?


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-__tunables_init-hidden-and-avoid-PLT.patch
Type: text/x-patch
Size: 1487 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170525/dc995721/attachment.bin>


More information about the Libc-alpha mailing list