Another minor update to the relocation wording.

master
Bill Schmidt 5 years ago
parent 4c46dde1db
commit 34b20e804b

@ -5192,12 +5192,15 @@ my_func:
</para> </para>
<para revisionflag="added">R_PPC64_PCREL_OPT</para> <para revisionflag="added">R_PPC64_PCREL_OPT</para>
<para revisionflag="added"> <para revisionflag="added">
This relocation specifies that the instruction at r_offset and the This relocation specifies that the instruction at
instruction at <emphasis>r_offset</emphasis> + <emphasis>r_offset</emphasis> and the instruction at
<emphasis>r_addend</emphasis> may be optimized by the linker. <emphasis>r_offset</emphasis> + <emphasis>r_addend</emphasis> may be
Specifically, the register set by the first instruction and used by optimized by the linker; the compiler must guarantee that register
the second is not used by any intervening instruction nor is the value lifetimes are such that the optimization is safe. In both code
used by any following instruction. sequences where this relocation is valid, the first instruction also
has another relocation at <emphasis>r_offset</emphasis>. The
R_PPC64_PCREL_OPT entry occurs immediately after that relocation in
the table of relocations.
See <xref linkend="dbdoclet.50655241_OptPCRel" /> and See <xref linkend="dbdoclet.50655241_OptPCRel" /> and
<xref linkend="dbdoclet.50655241_OptMask" /> for more details. <xref linkend="dbdoclet.50655241_OptMask" /> for more details.
</para> </para>

Loading…
Cancel
Save