This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: IFUNCs used by libc.so.6 internally on x86-64


On Wed, May 31, 2017 at 8:26 AM, Andreas Schwab <schwab@suse.de> wrote:
> On Feb 06 2017, Florian Weimer <fweimer@redhat.com> wrote:
>
>> The selection of string functions is rather curious.  Were these choices
>> deliberate?
>
> They probably just happen, because check-localplt doesn't fail.
>

I believe all internal calls within libc.so can use IFUNC on x86-64 since
unlike x86, x86-64 doesn't need to reserve a register to make a PLT call.
For libc,a, we can't use IFUNC for functions which are called before IFUNC
has been initialized.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]