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: [PATCH 3/8] i386, x86: Use libc_ifunc macro for time, gettimeofday.


On 07/04/2016 03:40 PM, Adhemerval Zanella wrote:
If I recall correctly i686 has the same issue as powerpc32, where ifunc for local
hidden symbols fails to resolve where called by another function library function.
This examples shows the issue:

Thanks. I believe this is a missing diagnostic in binutils. The static link should fail due to incompatible relocations. It is not possible to call an IFUNC (which needs an indirect call) while also avoiding the PLT on x86 (which results in a direct call).

Have you reported the lack of a diagnostic as a binutils RFE/bug?

Thanks,
Florian


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