bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/13817] Broken IFUNC support


From: jakub at redhat dot com
Subject: [Bug ld/13817] Broken IFUNC support
Date: Thu, 08 Mar 2012 08:09:51 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13817

--- Comment #3 from Jakub Jelinek <jakub at redhat dot com> 2012-03-08 08:09:51 
UTC ---
I think you can keep x86_64 as is.  For i386 such PLT slots in the non-pic
binaries could stay, but if we don't have any registers that we can clobber,
the special alternate plt slots that would be needed would be complicated,
especially when there is no red zone on i386.
So perhaps reverting that patch for i386 or limiting it to non-PIE executables
is the best short time fix, until we figure out something that will work. 
Without spare registers/red zone the only alternatives I can imagine are either
one breaking the call/ret heuristics in the CPU (i.e. compute the desired
address in the return slot on the stack (after call) and then ret to it), or
using some __thread variable to hold where would we jump to.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]