This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/13817: Broken IFUNC support
On Fri, Mar 9, 2012 at 8:35 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Mar 9, 2012 at 8:32 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
>> Hi,
>>
>> We have to use real function, not PLT entry for non-GOT reference to
>> locally defined IFUNC symbols, at least on i386, since the PLT slot
>> assumes that %ebx of the caller points to the _GLOBAL_OFFSET_TABLE_
>> symbol of the library containing the PLT slot. ?I checked in this
>> patch to revert:
>>
>> http://sourceware.org/ml/binutils/2011-10/msg00203.html
>>
>> Although x86-64 doesn't have this problem. I reverted both i386 and
>> x86-64 changes to keep i386 consistent with x86-64 as much as possible.
>
>
> I will backport it to 2.22 branch.
>
Never mind. 2.22 branch is OK.
--
H.J.