diff options
author | Richard Henderson <rth@redhat.com> | 1999-07-30 21:39:53 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-07-30 21:39:53 +0000 |
commit | 6d8809aa625bfe3e0cc7a5558b37240c74c623a9 (patch) | |
tree | 6ce3648023e7e8539d89ae091351c4b96a3ca7cd /gas/doc/c-sparc.texi | |
parent | 587ff49e9a50b61e86ea78ba3271f3ca24c1b0e8 (diff) | |
download | gdb-6d8809aa625bfe3e0cc7a5558b37240c74c623a9.zip gdb-6d8809aa625bfe3e0cc7a5558b37240c74c623a9.tar.gz gdb-6d8809aa625bfe3e0cc7a5558b37240c74c623a9.tar.bz2 |
Jakub Jelinek <jj@ultra.linux.cz>
* config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
(sparc_ip): Warn if %g2 or %g3 register is used and not covered
by .register pseudo-op if -64 and --no-undeclared-regs.
(s_register, sparc_adjust_symtab): New functions.
* config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
Declare sparc_adjust_symtab as tc_adjust_symtab.
* doc/c-sparc.texi: Add description of #ignore special literal
for .register pseudo-op.
Diffstat (limited to 'gas/doc/c-sparc.texi')
-rw-r--r-- | gas/doc/c-sparc.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gas/doc/c-sparc.texi b/gas/doc/c-sparc.texi index adbe299..ab54eb2 100644 --- a/gas/doc/c-sparc.texi +++ b/gas/doc/c-sparc.texi @@ -160,8 +160,11 @@ line is also ignored. @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. +the symbol name for that register. If symbol name is @code{#scratch}, +it is a scratch register, if it is @code{#ignore}, it just surpresses any +errors about using undeclared global register, but does not emit any +information about it into the object file. This can be useful e.g. if you +save the register before use and restore it after. @cindex @code{reserve} directive, SPARC @item .reserve |