machine maintainer ping: hppa
Joseph S. Myers
joseph@codesourcery.com
Sat Jun 21 20:24:00 GMT 2014
On Sat, 21 Jun 2014, Roland McGrath wrote:
> One that calls a PLT entry, right? As opposed to e.g. x86-32, where calls
> to the PLT are ABI-required to set %ebx, and %ebx is call-saved in the ABI,
> so you can't tail-call into the PLT because you'd never restore your
> caller's value of %ebx.
>
> If -O2 is really required, do you want the build to rely on -O2 to avoid
> fragile and arcane bugs? (The main alternative is to just take the
> alpha/pt-vfork.S approach, which means copying the vfork code into
> libpthread akin to how it's in there today, so it's not a big downside,
> though tail-call is clearly better and IFUNC is ideal.)
FWIW, the alpha approach is what I recommend for MIPS (until IFUNC support
is available - I'm not sure what the current status is of the protracted
ABI discussions that were taking place on the binutils list).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list