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: machine maintainer ping: hppa


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


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