X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Fdoc%2Fc-tilegx.texi;h=24c6fa2bd2c2d114715f77840e623414f1e0336e;hb=f482d3044722558c3b16f54b33b0855bfbae36b1;hp=66dd5a33a4b98c6556e8ecddf552aa7cb70c4452;hpb=aa137e4d51ba6638b2714f8b3856d8abfd0bf143;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/doc/c-tilegx.texi b/gas/doc/c-tilegx.texi index 66dd5a33a4..24c6fa2bd2 100644 --- a/gas/doc/c-tilegx.texi +++ b/gas/doc/c-tilegx.texi @@ -1,5 +1,4 @@ -@c Copyright 2011 -@c Free Software Foundation, Inc. +@c Copyright (C) 2011-2017 Free Software Foundation, Inc. @c This is part of the GAS manual. @c For copying conditions, see the file as.texinfo. @c man end @@ -33,6 +32,11 @@ The following table lists all available TILE-Gx specific options: @item -m32 | -m64 Select the word size, either 32 bits or 64 bits. +@cindex @samp{-EB} option, TILE-Gx +@cindex @samp{-EL} option, TILE-Gx +@item -EB | -EL +Select the endianness, either big-endian (-EB) or little-endian (-EL). + @end table @c man end @@ -213,21 +217,6 @@ shl16insli r0, r0, hw0(sym) This modifier is used to load bits 0-15 of the symbol's offset in the GOT entry corresponding to the symbol. -@item hw1_got - -This modifier is used to load bits 16-31 of the symbol's offset in the -GOT entry corresponding to the symbol. - -@item hw2_got - -This modifier is used to load bits 32-47 of the symbol's offset in the -GOT entry corresponding to the symbol. - -@item hw3_got - -This modifier is used to load bits 48-63 of the symbol's offset in the -GOT entry corresponding to the symbol. - @item hw0_last_got This modifier yields the same value as @code{hw0_got}, but it also @@ -235,13 +224,9 @@ checks that the value does not overflow. @item hw1_last_got -This modifier yields the same value as @code{hw1_got}, but it also -checks that the value does not overflow. - -@item hw2_last_got - -This modifier yields the same value as @code{hw2_got}, but it also -checks that the value does not overflow. +This modifier is used to load bits 16-31 of the symbol's offset in the +GOT entry corresponding to the symbol, and it also checks that the +value does not overflow. @item plt @@ -256,29 +241,31 @@ called (at latest; depending environment variables). It is only safe to leave the symbol unresolved this way if all references are function calls. -@item hw0_tls_gd +@item hw0_plt -This modifier is used to load bits 0-15 of the offset of the GOT entry -of the symbol's TLS descriptor, to be used for general-dynamic TLS -accesses. +This modifier is used to load bits 0-15 of the pc-relative address of +a plt entry. -@item hw1_tls_gd +@item hw1_plt -This modifier is used to load bits 16-31 of the offset of the GOT -entry of the symbol's TLS descriptor, to be used for general-dynamic -TLS accesses. +This modifier is used to load bits 16-31 of the pc-relative address of +a plt entry. -@item hw2_tls_gd +@item hw1_last_plt -This modifier is used to load bits 32-47 of the offset of the GOT -entry of the symbol's TLS descriptor, to be used for general-dynamic -TLS accesses. +This modifier yields the same value as @code{hw1_plt}, but it also +checks that the value does not overflow. -@item hw3_tls_gd +@item hw2_last_plt -This modifier is used to load bits 48-63 of the offset of the GOT -entry of the symbol's TLS descriptor, to be used for general-dynamic -TLS accesses. +This modifier is used to load bits 32-47 of the pc-relative address of +a plt entry, and it also checks that the value does not overflow. + +@item hw0_tls_gd + +This modifier is used to load bits 0-15 of the offset of the GOT entry +of the symbol's TLS descriptor, to be used for general-dynamic TLS +accesses. @item hw0_last_tls_gd @@ -287,13 +274,9 @@ checks that the value does not overflow. @item hw1_last_tls_gd -This modifier yields the same value as @code{hw1_tls_gd}, but it also -checks that the value does not overflow. - -@item hw2_last_tls_gd - -This modifier yields the same value as @code{hw2_tls_gd}, but it also -checks that the value does not overflow. +This modifier is used to load bits 16-31 of the offset of the GOT +entry of the symbol's TLS descriptor, to be used for general-dynamic +TLS accesses. It also checks that the value does not overflow. @item hw0_tls_ie @@ -301,38 +284,48 @@ This modifier is used to load bits 0-15 of the offset of the GOT entry containing the offset of the symbol's address from the TCB, to be used for initial-exec TLS accesses. -@item hw1_tls_ie +@item hw0_last_tls_ie + +This modifier yields the same value as @code{hw0_tls_ie}, but it also +checks that the value does not overflow. + +@item hw1_last_tls_ie This modifier is used to load bits 16-31 of the offset of the GOT entry containing the offset of the symbol's address from the TCB, to -be used for initial-exec TLS accesses. +be used for initial-exec TLS accesses. It also checks that the value +does not overflow. -@item hw2_tls_ie +@item hw0_tls_le -This modifier is used to load bits 32-47 of the offset of the GOT entry -containing the offset of the symbol's address from the TCB, to be used -for initial-exec TLS accesses. +This modifier is used to load bits 0-15 of the offset of the symbol's +address from the TCB, to be used for local-exec TLS accesses. -@item hw3_tls_ie +@item hw0_last_tls_le -This modifier is used to load bits 48-63 of the offset of the GOT -entry containing the offset of the symbol's address from the TCB, to -be used for initial-exec TLS accesses. +This modifier yields the same value as @code{hw0_tls_le}, but it also +checks that the value does not overflow. -@item hw0_last_tls_ie +@item hw1_last_tls_le -This modifier yields the same value as @code{hw0_tls_ie}, but it also -checks that the value does not overflow. +This modifier is used to load bits 16-31 of the offset of the symbol's +address from the TCB, to be used for local-exec TLS accesses. It +also checks that the value does not overflow. -@item hw1_last_tls_ie +@item tls_gd_call -This modifier yields the same value as @code{hw1_tls_ie}, but it also -checks that the value does not overflow. +This modifier is used to tag an instruction as the ``call'' part of a +calling sequence for a TLS GD reference of its operand. -@item hw2_last_tls_ie +@item tls_gd_add -This modifier yields the same value as @code{hw2_tls_ie}, but it also -checks that the value does not overflow. +This modifier is used to tag an instruction as the ``add'' part of a +calling sequence for a TLS GD reference of its operand. + +@item tls_ie_load + +This modifier is used to tag an instruction as the ``load'' part of a +calling sequence for a TLS IE reference of its operand. @end table