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: RFC: Optimize out i386/x86-64 JUMP_SLOT relocation


On Mon, Nov 24, 2014 at 1:02 PM, Roland McGrath <roland@hack.frob.com> wrote:
> We could change the test to grok that case.  We just need to find a way to
> change it such that we can be confident that the internal calls in the
> module are actually going via that GOT slot even though there is no JMPREL
> reloc for it.  We're already assuming that the presence of any PLT entry
> for the symbol name means all calls are using the PLT.  So it is probably
> just as safe to assume that the presence of a GOT reloc for the symbol name
> means calls are using that slot.

It sounds good to me.  I checked my patch into binutils trunk.

Thanks.

-- 
H.J.


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