[PATCH] Avoid PLT when calling __sched_getaffinity_new

Florian Weimer fweimer@redhat.com
Wed Oct 14 13:00:00 GMT 2015


On 10/14/2015 02:52 PM, H.J. Lu wrote:
> On Wed, Oct 14, 2015 at 5:41 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> On 08/21/2015 07:09 PM, H.J. Lu wrote:
>>> This patch adds an internal entry for __sched_getaffinity_new so that
>>> __sched_getaffinity_old calls __sched_getaffinity_new without going
>>> through PLT.
>>>
>>> OK for master?
>>
>> This phenomenon is not restricted to just this file.  Why do you need to
>> change this instance in particular?
>>
> 
> I opened BZ #18822 and I will remove unnecessary PLT one by one.

Ah, thanks.  Okay for masker.

There really should be a better way to deal with this, though (similar
to the static namespace issue).  But perhaps not with current binutils.

Florian



More information about the Libc-alpha mailing list