Commit 0f8ab434 by Anatoly Sokolov Committed by Anatoly Sokolov

s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.

	* config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
	* config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
	* config/s390/s390.c (s390_output_addr_const_extra): Make static.
	(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.

From-SVN: r168719
parent d8a24b65
2011-01-12 Anatoly Sokolov <aesok@post.ru>
* config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
* config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
* config/s390/s390.c (s390_output_addr_const_extra): Make static.
(TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
2011-01-12 Kai Tietz <kai.tietz@onevision.com> 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
PR debug/47209 PR debug/47209
......
/* Definitions of target machine for GNU compiler, for IBM S/390. /* Definitions of target machine for GNU compiler, for IBM S/390.
Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc. Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) Contributed by Hartmut Penner (hpenner@de.ibm.com)
...@@ -99,7 +99,6 @@ extern bool s390_logical_operator_ok_p (rtx *); ...@@ -99,7 +99,6 @@ extern bool s390_logical_operator_ok_p (rtx *);
extern void s390_narrow_logical_operator (enum rtx_code, rtx *, rtx *); extern void s390_narrow_logical_operator (enum rtx_code, rtx *, rtx *);
extern void s390_split_access_reg (rtx, rtx *, rtx *); extern void s390_split_access_reg (rtx, rtx *, rtx *);
extern bool s390_output_addr_const_extra (FILE*, rtx);
extern void print_operand_address (FILE *, rtx); extern void print_operand_address (FILE *, rtx);
extern void print_operand (FILE *, rtx, int); extern void print_operand (FILE *, rtx, int);
extern void s390_output_pool_entry (rtx, enum machine_mode, unsigned int); extern void s390_output_pool_entry (rtx, enum machine_mode, unsigned int);
......
/* Subroutines used for code generation on IBM S/390 and zSeries /* Subroutines used for code generation on IBM S/390 and zSeries
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 Free Software Foundation, Inc. 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com) and Ulrich Weigand (uweigand@de.ibm.com) and
Andreas Krebbel (Andreas.Krebbel@de.ibm.com). Andreas Krebbel (Andreas.Krebbel@de.ibm.com).
...@@ -5056,7 +5056,7 @@ get_some_local_dynamic_name (void) ...@@ -5056,7 +5056,7 @@ get_some_local_dynamic_name (void)
in assembler syntax to stdio stream FILE. Returns true if the in assembler syntax to stdio stream FILE. Returns true if the
constant X could be recognized, false otherwise. */ constant X could be recognized, false otherwise. */
bool static bool
s390_output_addr_const_extra (FILE *file, rtx x) s390_output_addr_const_extra (FILE *file, rtx x)
{ {
if (GET_CODE (x) == UNSPEC && XVECLEN (x, 0) == 1) if (GET_CODE (x) == UNSPEC && XVECLEN (x, 0) == 1)
...@@ -10600,6 +10600,9 @@ s390_loop_unroll_adjust (unsigned nunroll, struct loop *loop) ...@@ -10600,6 +10600,9 @@ s390_loop_unroll_adjust (unsigned nunroll, struct loop *loop)
#undef TARGET_EXPAND_BUILTIN #undef TARGET_EXPAND_BUILTIN
#define TARGET_EXPAND_BUILTIN s390_expand_builtin #define TARGET_EXPAND_BUILTIN s390_expand_builtin
#undef TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA
#define TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA s390_output_addr_const_extra
#undef TARGET_ASM_OUTPUT_MI_THUNK #undef TARGET_ASM_OUTPUT_MI_THUNK
#define TARGET_ASM_OUTPUT_MI_THUNK s390_output_mi_thunk #define TARGET_ASM_OUTPUT_MI_THUNK s390_output_mi_thunk
#undef TARGET_ASM_CAN_OUTPUT_MI_THUNK #undef TARGET_ASM_CAN_OUTPUT_MI_THUNK
......
/* Definitions of target machine for GNU compiler, for IBM S/390 /* Definitions of target machine for GNU compiler, for IBM S/390
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 Free Software Foundation, Inc. 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by Hartmut Penner (hpenner@de.ibm.com) and Contributed by Hartmut Penner (hpenner@de.ibm.com) and
Ulrich Weigand (uweigand@de.ibm.com). Ulrich Weigand (uweigand@de.ibm.com).
Andreas Krebbel (Andreas.Krebbel@de.ibm.com) Andreas Krebbel (Andreas.Krebbel@de.ibm.com)
...@@ -909,13 +909,6 @@ do { \ ...@@ -909,13 +909,6 @@ do { \
#define PRINT_OPERAND(FILE, X, CODE) print_operand (FILE, X, CODE) #define PRINT_OPERAND(FILE, X, CODE) print_operand (FILE, X, CODE)
#define PRINT_OPERAND_ADDRESS(FILE, ADDR) print_operand_address (FILE, ADDR) #define PRINT_OPERAND_ADDRESS(FILE, ADDR) print_operand_address (FILE, ADDR)
/* Output machine-dependent UNSPECs in address constants. */
#define OUTPUT_ADDR_CONST_EXTRA(FILE, X, FAIL) \
do { \
if (!s390_output_addr_const_extra (FILE, (X))) \
goto FAIL; \
} while (0);
/* Output an element of a case-vector that is absolute. */ /* Output an element of a case-vector that is absolute. */
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \ #define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
do { \ do { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment