From e06510e6e74e7faff9de8f11e4a03059206a61bc Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 16 Jul 1999 21:32:18 +0000 Subject: Jakub Jelinek * doc/c-sparc.texi: Document .register and .nword pseudo-ops. --- gas/ChangeLog | 4 ++++ gas/doc/c-sparc.texi | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) 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 + * doc/c-sparc.texi: Document .register and .nword pseudo-ops. + +1999-07-16 Jakub Jelinek + * 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 - -- cgit v1.1