diff options
author | Richard Henderson <rth@gcc.gnu.org> | 1999-08-02 15:58:04 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-08-02 15:58:04 -0700 |
commit | 1cb36a981d95f29f37fef511b88a04c48cfa90cc (patch) | |
tree | a4298750822ac9991259b44746e7970194b4f6a4 /gcc/tm.texi | |
parent | e76d23764b387e9636b5d568b62531019f7f2273 (diff) | |
download | gcc-1cb36a981d95f29f37fef511b88a04c48cfa90cc.zip gcc-1cb36a981d95f29f37fef511b88a04c48cfa90cc.tar.gz gcc-1cb36a981d95f29f37fef511b88a04c48cfa90cc.tar.bz2 |
Jakub Jelinek <jj@ultra.linux.cz>
* config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
(RTX_OK_FOR_OLO10): Likewise.
(GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
%lo(), allow it in addresses...
(PRINT_OPERAND_ADDRESS): ... and print it appropriately.
* config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
does not make sense.
* config/sparc/sparc.c (sparc_hard_reg_printed): New array.
(sparc_output_scratch_registers): New function.
(output_function_prologue, sparc_flat_output_function_prologue): Use
it.
* varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
defined.
* tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
* configure.in: Add check for .register pseudo-op support in as and
check for offsetable %lo().
* acconfig.h: Add templates for the above checks.
* configure: Regenerate.
Richard Henderson <rth@cygnus.com>
* sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
* sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
* sparc/sol2.h (TARGET_DEFAULT): Likewise.
From-SVN: r28414
Diffstat (limited to 'gcc/tm.texi')
-rw-r--r-- | gcc/tm.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/tm.texi b/gcc/tm.texi index 2641a9d..32593d9 100644 --- a/gcc/tm.texi +++ b/gcc/tm.texi @@ -5591,6 +5591,15 @@ label definition (perhaps using @code{ASM_OUTPUT_LABEL}). The argument If this macro is not defined, then the variable name is defined in the usual manner as a label (by means of @code{ASM_OUTPUT_LABEL}). +@findex ASM_DECLARE_REGISTER_GLOBAL +@item ASM_DECLARE_REGISTER_GLOBAL (@var{stream}, @var{decl}, @var{regno}, @var{name}) +A C statement (sans semicolon) to output to the stdio stream +@var{stream} any text necessary for claiming a register @var{regno} +for a global variable @var{decl} with name @var{name}. + +If you don't define this macro, that is equivalent to defining it to do +nothing. + @findex ASM_FINISH_DECLARE_OBJECT @item ASM_FINISH_DECLARE_OBJECT (@var{stream}, @var{decl}, @var{toplevel}, @var{atend}) A C statement (sans semicolon) to finish up declaring a variable name |