This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Mark __tunables_init hidden and avoid PLT
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 25 May 2017 11:27:10 +0530
- Subject: Re: [PATCH] Mark __tunables_init hidden and avoid PLT
- Authentication-results: sourceware.org; auth=none
- References: <20170524191726.GA27395@lucon.org>
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.
Siddhesh