|
|
@ -2278,8 +2278,8 @@ my_func:
|
|
|
|
</informaltable>
|
|
|
|
</informaltable>
|
|
|
|
<para revisionflag="added">
|
|
|
|
<para revisionflag="added">
|
|
|
|
In the following figure, prefix28 specifies a 28-bit field taking up
|
|
|
|
In the following figure, prefix28 specifies a 28-bit field taking up
|
|
|
|
bits 20-31 and 48-63 of two consecutive words. This is used, for
|
|
|
|
bits 20-31 and 48-63 of two consecutive words. This is <!--used, for
|
|
|
|
example, by the pmlxv instruction.
|
|
|
|
example, by the pmlxv instruction --> reserved for future use.
|
|
|
|
</para>
|
|
|
|
</para>
|
|
|
|
<informaltable frame="all" rowsep="0" colsep="0" revisionflag="added">
|
|
|
|
<informaltable frame="all" rowsep="0" colsep="0" revisionflag="added">
|
|
|
|
<tgroup cols="12">
|
|
|
|
<tgroup cols="12">
|
|
|
@ -2446,7 +2446,9 @@ my_func:
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>Represents the <phrase revisionflag="changed">address in
|
|
|
|
<para>Represents the <phrase revisionflag="changed">address in
|
|
|
|
the</phrase> .TOC. at which the address of
|
|
|
|
the</phrase> .TOC. at which the address of
|
|
|
|
the relocation entry’s symbol resides during execution. This
|
|
|
|
the relocation entry’s symbol
|
|
|
|
|
|
|
|
<phrase revisionflag="added">plus addend</phrase>
|
|
|
|
|
|
|
|
resides during execution. This
|
|
|
|
implies the creation of a .got section. For more information,
|
|
|
|
implies the creation of a .got section. For more information,
|
|
|
|
see
|
|
|
|
see
|
|
|
|
<xref linkend="dbdoclet.50655240___RefHeading___Toc377640591" /> and
|
|
|
|
<xref linkend="dbdoclet.50655240___RefHeading___Toc377640591" /> and
|
|
|
@ -2826,7 +2828,7 @@ my_func:
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>tlsgd</para>
|
|
|
|
<para>@got@tlsgd</para>
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>Allocates two contiguous entries in the GOT to hold a
|
|
|
|
<para>Allocates two contiguous entries in the GOT to hold a
|
|
|
@ -2841,7 +2843,7 @@ my_func:
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>tlsld</para>
|
|
|
|
<para>@got@tlsld</para>
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>Allocates two contiguous entries in the GOT to hold a
|
|
|
|
<para>Allocates two contiguous entries in the GOT to hold a
|
|
|
@ -2856,7 +2858,7 @@ my_func:
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>tprelg</para>
|
|
|
|
<para>@got@tprel</para>
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>Allocates an entry in the GOT with value tprel, and
|
|
|
|
<para>Allocates an entry in the GOT with value tprel, and
|
|
|
@ -5285,8 +5287,8 @@ my_func:
|
|
|
|
has another relocation at <emphasis>r_offset</emphasis>. The
|
|
|
|
has another relocation at <emphasis>r_offset</emphasis>. The
|
|
|
|
R_PPC64_PCREL_OPT entry occurs immediately after that relocation in
|
|
|
|
R_PPC64_PCREL_OPT entry occurs immediately after that relocation in
|
|
|
|
the table of relocations.
|
|
|
|
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>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
@ -5455,6 +5457,7 @@ nop</programlisting>
|
|
|
|
in the sequence.
|
|
|
|
in the sequence.
|
|
|
|
</para>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<section xml:id="dbdoclet.50655241_OptMask" revisionflag="added">
|
|
|
|
<section xml:id="dbdoclet.50655241_OptMask" revisionflag="added">
|
|
|
|
<title>Optimization of Masked Load/Store Sequences</title>
|
|
|
|
<title>Optimization of Masked Load/Store Sequences</title>
|
|
|
|
<para>
|
|
|
|
<para>
|
|
|
@ -5485,6 +5488,7 @@ pmlxv vs1,symbol@pcrel(r0),VRM,MC,P,1</programlisting>
|
|
|
|
sequence.
|
|
|
|
sequence.
|
|
|
|
</para>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
-->
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
@ -5887,7 +5891,8 @@ extern void *__tls_get_addr (tls_index *ti);</programlisting>
|
|
|
|
data object is loaded into the first argument register with the addis and
|
|
|
|
data object is loaded into the first argument register with the addis and
|
|
|
|
addi instruction, and a standard function call is made. Notice that the
|
|
|
|
addi instruction, and a standard function call is made. Notice that the
|
|
|
|
bl instruction has two relocations: the R_PPC64_TLSGD tying it to the
|
|
|
|
bl instruction has two relocations: the R_PPC64_TLSGD tying it to the
|
|
|
|
argument setup instructions and the R_PPC64_REL24 specifying the call
|
|
|
|
argument setup instructions and the R_PPC64_REL24 <phrase
|
|
|
|
|
|
|
|
revisionflag="added"> or R_PPC64_REL24_NOTOC</phrase> specifying the call
|
|
|
|
destination.</para>
|
|
|
|
destination.</para>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
@ -6155,10 +6160,10 @@ static __thread unsigned int x3;
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>paddi r9, r3, x1@dtprel</para>
|
|
|
|
<para>addi r9, r3, x1@dtprel</para>
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>R_PPC64_DTPREL34</para>
|
|
|
|
<para>R_PPC64_DTPREL16</para>
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>x1</para>
|
|
|
|
<para>x1</para>
|
|
|
@ -9142,7 +9147,7 @@ nop</programlisting>
|
|
|
|
</row>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>paddi r9, r9, x@tprel@l</para>
|
|
|
|
<para>paddi r9, r9, x@tprel</para>
|
|
|
|
</entry>
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
<entry>
|
|
|
|
<para>R_PPC64_TPREL34</para>
|
|
|
|
<para>R_PPC64_TPREL34</para>
|
|
|
|