diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-02-08 15:35:12 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2005-02-08 15:35:12 +0000 |
commit | 453bd0f554e8afa38eab4b4f3dffd3ec1a647c09 (patch) | |
tree | 67f378a8e25e7f88e70640fb844197d14630e5c7 /gcc/config/cris/cris-protos.h | |
parent | 749c6ef9922642ee4f01a263f3803b3dcf8d850d (diff) | |
download | gcc-453bd0f554e8afa38eab4b4f3dffd3ec1a647c09.tar.gz |
re PR target/19806 (cris-axis-elf testsuite failure: gcc.c-torture/execute/20001130-1.c compilation, -O0)
PR target/19806
* config/cris/cris.c (in_code): New variable.
(cris_output_addr_const): Now a static function, a wrapper for
output_addr_const.
(cris_asm_output_symbol_ref): New function, broken out SYMBOL_REF
case from old cris_output_addr_const.
(cris_asm_output_label_ref): Similar for LABEL_REF.
(cris_output_addr_const_extra): Similar for UNSPEC.
* config/cris/cris.h (OUTPUT_ADDR_CONST_EXTRA)
(ASM_OUTPUT_SYMBOL_REF, ASM_OUTPUT_LABEL_REF): Define.
* config/cris/cris-protos.h (cris_output_addr_const): Remove
declaration.
(cris_asm_output_symbol_ref, cris_output_addr_const_extra)
(cris_asm_output_label_ref): Declare.
From-SVN: r94738
Diffstat (limited to 'gcc/config/cris/cris-protos.h')
-rw-r--r-- | gcc/config/cris/cris-protos.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/cris/cris-protos.h b/gcc/config/cris/cris-protos.h index f085e5d741b..86b0c07acf4 100644 --- a/gcc/config/cris/cris-protos.h +++ b/gcc/config/cris/cris-protos.h @@ -42,9 +42,11 @@ extern int cris_legitimate_pic_operand (rtx); extern int cris_gotless_symbol (rtx); extern int cris_got_symbol (rtx); extern int cris_symbol (rtx); -extern void cris_output_addr_const (FILE *, rtx); +extern void cris_asm_output_symbol_ref (FILE *, rtx); +extern bool cris_output_addr_const_extra (FILE *, rtx); extern int cris_cfun_uses_pic_table (void); #endif /* RTX_CODE */ +extern void cris_asm_output_label_ref (FILE *, char *); extern void cris_target_asm_named_section (const char *, unsigned int, tree); extern int cris_return_address_on_stack (void); |