aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-07-16 21:32:18 +0000
committerRichard Henderson <rth@redhat.com>1999-07-16 21:32:18 +0000
commite06510e6e74e7faff9de8f11e4a03059206a61bc (patch)
tree8f581d44e4f6830a17c50a1fa1d904db6823cedd /gas
parentdabe3bbc57ce0f79ea86a18c520a8d62f126f1ac (diff)
downloadfsf-binutils-gdb-e06510e6e74e7faff9de8f11e4a03059206a61bc.zip
fsf-binutils-gdb-e06510e6e74e7faff9de8f11e4a03059206a61bc.tar.gz
fsf-binutils-gdb-e06510e6e74e7faff9de8f11e4a03059206a61bc.tar.bz2
Jakub Jelinek <jj@ultra.linux.cz>
* doc/c-sparc.texi: Document .register and .nword pseudo-ops.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/doc/c-sparc.texi14
2 files changed, 17 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c977b52..b557c59 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
+ * doc/c-sparc.texi: Document .register and .nword pseudo-ops.
+
+1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
+
* config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
on -64 and not pic.
(output_insn): Put OLO10's secondary addend into tc_fix_data.
diff --git a/gas/doc/c-sparc.texi b/gas/doc/c-sparc.texi
index f871c82..adbe299 100644
--- a/gas/doc/c-sparc.texi
+++ b/gas/doc/c-sparc.texi
@@ -145,11 +145,24 @@ syntax is different.
@item .half
This is functionally identical to @code{.short}.
+@cindex @code{nword} directive, SPARC
+@item .nword
+On the Sparc, the @code{.nword} directive produces native word sized value,
+ie. if assembling with -32 it is equivalent to @code{.word}, if assembling
+with -64 it is equivalent to @code{.xword}.
+
@cindex @code{proc} directive, SPARC
@item .proc
This directive is ignored. Any text following it on the same
line is also ignored.
+@cindex @code{register} directive, SPARC
+@item .register
+This directive declares use of a global application or system register.
+It must be followed by a register name %g2, %g3, %g6 or %g7, comma and
+the symbol name for that register or @code{#scratch} if it is a scratch
+register.
+
@cindex @code{reserve} directive, SPARC
@item .reserve
This must be followed by a symbol name, a positive number, and
@@ -176,4 +189,3 @@ instead of the 16 bit values it produces on many other machines.
On the Sparc V9 processor, the @code{.xword} directive produces
64 bit values.
@end table
-