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. > > 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. -- Alan Modra Australia Development Lab, IBM