Commit d634bfa1 by Rainer Orth Committed by Rainer Orth

sol2.h (ASM_OUTPUT_CALL): Use targetm.asm_out.print_operand.

	* config/sparc/sol2.h (ASM_OUTPUT_CALL): Use
	targetm.asm_out.print_operand.
	* config/sol2.c: Include target.h.

From-SVN: r173419
parent 817b15ca
2011-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sparc/sol2.h (ASM_OUTPUT_CALL): Use
targetm.asm_out.print_operand.
* config/sol2.c: Include target.h.
2011-05-04 Jan Hubicka <jh@suse.cz> 2011-05-04 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (reset_edge_caches): New function. * ipa-inline.c (reset_edge_caches): New function.
......
...@@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see
#include "output.h" #include "output.h"
#include "tm.h" #include "tm.h"
#include "rtl.h" #include "rtl.h"
#include "target.h"
#include "tm_p.h" #include "tm_p.h"
#include "diagnostic-core.h" #include "diagnostic-core.h"
#include "ggc.h" #include "ggc.h"
......
/* Definitions of target machine for GCC, for SPARC running Solaris 2 /* Definitions of target machine for GCC, for SPARC running Solaris 2
Copyright 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, Copyright 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007, 2008, 2010 Free Software Foundation, Inc. 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@netcom.com). Contributed by Ron Guilmette (rfg@netcom.com).
Additional changes by David V. Henkel-Wallace (gumby@cygnus.com). Additional changes by David V. Henkel-Wallace (gumby@cygnus.com).
...@@ -168,13 +168,13 @@ along with GCC; see the file COPYING3. If not see ...@@ -168,13 +168,13 @@ along with GCC; see the file COPYING3. If not see
#define REGISTER_TARGET_PRAGMAS() solaris_register_pragmas () #define REGISTER_TARGET_PRAGMAS() solaris_register_pragmas ()
/* Output a simple call for .init/.fini. */ /* Output a simple call for .init/.fini. */
#define ASM_OUTPUT_CALL(FILE, FN) \ #define ASM_OUTPUT_CALL(FILE, FN) \
do \ do \
{ \ { \
fprintf (FILE, "\tcall\t"); \ fprintf (FILE, "\tcall\t"); \
print_operand (FILE, XEXP (DECL_RTL (FN), 0), 0); \ targetm.asm_out.print_operand (FILE, XEXP (DECL_RTL (FN), 0), 0); \
fprintf (FILE, "\n\tnop\n"); \ fprintf (FILE, "\n\tnop\n"); \
} \ } \
while (0) while (0)
/* This is how to output an assembler line that says to advance /* This is how to output an assembler line that says to advance
......
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