Add support for the xdef and xref pseudo-ops to the Z80 assembler.
[deliverable/binutils-gdb.git] / gas / doc / c-ia64.texi
index 6b0f3a9515d7a1654f8d44199ff67eb0b73cdcf3..c94a5f30d1e221e645d9d24b5e92913490ecd08f 100644 (file)
@@ -1,5 +1,4 @@
-@c Copyright 2002, 2003, 2005
-@c Free Software Foundation, Inc.
+@c Copyright (C) 2002-2020 Free Software Foundation, Inc.
 @c   Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 @c This is part of the GAS manual.
 @c For copying conditions, see the file as.texinfo.
@@ -30,7 +29,7 @@
 @cindex options for IA-64
 
 @table @option
-@cindex @code{-mconstant-gp} command line option, IA-64
+@cindex @code{-mconstant-gp} command-line option, IA-64
 
 @item -mconstant-gp
 This option instructs the assembler to mark the resulting object file
@@ -53,25 +52,25 @@ affect the machine code emitted by the assembler.  All it does is
 turn on the EF_IA_64_NOFUNCDESC_CONS_GP flag in the ELF file header.
 
 @item -milp32
-@item -milp64
-@item -mlp64
-@item -mp64
+@itemx -milp64
+@itemx -mlp64
+@itemx -mp64
 These options select the data model.  The assembler defaults to @code{-mlp64}
 (LP64 data model).
 
 @item -mle
-@item -mbe
+@itemx -mbe
 These options select the byte order.  The @code{-mle} option selects little-endian
 byte order (default) and @code{-mbe} selects big-endian byte order.  Note that
 IA-64 machine code always uses little-endian byte order.
 
 @item -mtune=itanium1
-@item -mtune=itanium2
+@itemx -mtune=itanium2
 Tune for a particular IA-64 CPU, @var{itanium1} or @var{itanium2}. The
 default is @var{itanium2}.
 
 @item -munwind-check=warning
-@item -munwind-check=error
+@itemx -munwind-check=error
 These options control what the assembler will do when performing
 consistency checks on unwind directives.  @code{-munwind-check=warning}
 will make the assembler issue a warning when an unwind directive check
@@ -79,8 +78,8 @@ fails.  This is the default.  @code{-munwind-check=error} will make the
 assembler issue an error when an unwind directive check fails.
 
 @item -mhint.b=ok
-@item -mhint.b=warning
-@item -mhint.b=error
+@itemx -mhint.b=warning
+@itemx -mhint.b=error
 These options control what the assembler will do when the @samp{hint.b}
 instruction is used.  @code{-mhint.b=ok} will make the assembler accept
 @samp{hint.b}.  @code{-mint.b=warning} will make the assembler issue a
@@ -88,7 +87,7 @@ warning when @samp{hint.b} is used.  @code{-mhint.b=error} will make
 the assembler treat @samp{hint.b} as an error, which is the default.
 
 @item -x
-@item -xexplicit
+@itemx -xexplicit
 These options turn on dependency violation checking.
 
 @item -xauto
@@ -120,7 +119,7 @@ Reference Guide.
 * IA-64-Chars::                Special Characters
 * IA-64-Regs::                 Register Names
 * IA-64-Bits::                 Bit Names
-@c * IA-64-Relocs::               Relocations          // to be written
+* IA-64-Relocs::               Relocations
 @end menu
 
 @node IA-64-Chars
@@ -170,6 +169,21 @@ the @samp{ssm}/@samp{sum} and @samp{rsm}/@samp{rum}
 instructions, but they can be used anywhere else where an integer
 constant is expected.
 
+@node IA-64-Relocs
+@subsection Relocations
+@cindex IA-64 relocations
+
+In addition to the standard IA-64 relocations, the following relocations are
+implemented by @code{@value{AS}}:
+
+@table @code
+@item @@slotcount(@var{V})
+Convert the address offset @var{V} into a slot count.  This pseudo
+function is available only on VMS.  The expression @var{V} must be
+known at assembly time: it can't reference undefined symbols or symbols in
+different sections.
+@end table
+
 @node IA-64 Opcodes
 @section Opcodes
 For detailed information on the IA-64 machine instruction set, see the
This page took 0.026618 seconds and 4 git commands to generate.