On Thu, May 30, 2019 at 12:44:35AM +0930, Alan Modra wrote:
> On Wed, May 29, 2019 at 07:40:46AM -0500, Segher Boessenkool wrote:
> > All necessary linker (and binutils and GAS) support is upstream already, 
> > right?
> 
> I believe so, except gold support is lacking right now.

Excellent :-)

> > >        pld 12,0(0),1
> > >        .reloc .-8,R_PPC64_PLT_PCREL34_NOTOC,foo
> > 
> > Are we guaranteed the assembler always writes a pld like this as 8 bytes?
> 
> Strictly speaking the assembler might nop pad *before* the pld making
> a total of 12 bytes, and that's the reason to put the .reloc *after*
> the prefix instruction.

Ah, okay.  That probably warrants a comment...

Thanks,


Segher

Reply via email to