[PATCH] x86-64: Use __glibc_likely/__glibc_likely in dl-machine.h

H.J. Lu hjl.tools@gmail.com
Mon Feb 5 12:28:00 GMT 2018


On Mon, Feb 5, 2018 at 4:11 AM, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
> On 05/02/18 12:06, H.J. Lu wrote:
>>
>> -      if (__builtin_expect (map->l_mach.plt, 0) == 0)
>> +      /* Prelinked has been deprecated.  */
>> +      if (__glibc_likely (map->l_mach.plt == 0))
>
>
> do you know about an email thread/documentation on deprecating prelinking?
> (i'd like to have something to point users to when they ask for it)

https://lwn.net/Articles/341244/
https://pagure.io/fesco/issue/1183
https://stackoverflow.com/questions/2040256/is-prelinking-on-linux-for-shared-libraries-any-good-proven
https://serverfault.com/questions/39500/is-there-a-point-in-using-prelink-anymore

prelink package has been removed from Fedora a while back.

-- 
H.J.



More information about the Libc-alpha mailing list