aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-02-12 14:34:45 +0000
committerTristan Gingold <gingold@adacore.com>2010-02-12 14:34:45 +0000
commit9d0e849713a37ee589c203792f8450786733ee63 (patch)
tree627f06d761b7391c88cd30feca4df7b9538a4076 /gas/doc
parent8e9c5e020f5fa7b76a1f6694e2eb00a1585151cc (diff)
downloadgdb-9d0e849713a37ee589c203792f8450786733ee63.zip
gdb-9d0e849713a37ee589c203792f8450786733ee63.tar.gz
gdb-9d0e849713a37ee589c203792f8450786733ee63.tar.bz2
gas/
2010-02-12 Tristan Gingold <gingold@adacore.com> Douglas B Rupp <rupp@gnat.com> * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC. (DUMMY_RELOC_IA64_SLOTCOUNT): Added. (pseudo_func): Add an entry for slotcount. (md_begin): Initialize slotcount pseudo symbol. (ia64_parse_name): Handle @slotcount parameter. (ia64_gen_real_reloc_type): Handle slotcount. (md_apply_fix): Ditto. * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount. gas/testsuite/ 2010-02-12 Tristan Gingold <gingold@adacore.com> * gas/ia64/slotcount.s, gas/ia64/slotcount.s: New test. * gas/ia64/ia64.exp: Add slotcount test (vms only).
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-ia64.texi17
1 files changed, 16 insertions, 1 deletions
diff --git a/gas/doc/c-ia64.texi b/gas/doc/c-ia64.texi
index 6b0f3a9..f684171 100644
--- a/gas/doc/c-ia64.texi
+++ b/gas/doc/c-ia64.texi
@@ -120,7 +120,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 +170,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