Jakub Jelinek <jj@ultra.linux.cz>

* doc/c-sparc.texi: Document .register and .nword pseudo-ops.
This commit is contained in:
Richard Henderson 1999-07-16 21:32:18 +00:00
parent dabe3bbc57
commit e06510e6e7
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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> 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
* config/tc-sparc.c (sparc_ip): Allow OLO10 relocations * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations

View File

@ -145,11 +145,24 @@ syntax is different.
@item .half @item .half
This is functionally identical to @code{.short}. 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 @cindex @code{proc} directive, SPARC
@item .proc @item .proc
This directive is ignored. Any text following it on the same This directive is ignored. Any text following it on the same
line is also ignored. 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 @cindex @code{reserve} directive, SPARC
@item .reserve @item .reserve
This must be followed by a symbol name, a positive number, and 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 On the Sparc V9 processor, the @code{.xword} directive produces
64 bit values. 64 bit values.
@end table @end table