diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2011-05-05 09:10:19 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2011-05-05 09:10:19 +0000 |
commit | d634bfa1ae963dfea8c2b0eda147dd7ab9cf8254 (patch) | |
tree | e2e4990f42e06caa3ce45f15bedbfe0c2b22aec4 | |
parent | 817b15caf0f81a539af9d74cd47e6bc0727881bb (diff) | |
download | gcc-d634bfa1ae963dfea8c2b0eda147dd7ab9cf8254.zip gcc-d634bfa1ae963dfea8c2b0eda147dd7ab9cf8254.tar.gz gcc-d634bfa1ae963dfea8c2b0eda147dd7ab9cf8254.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sol2.c | 1 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 16 |
3 files changed, 15 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 509a742..1730c9b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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> * ipa-inline.c (reset_edge_caches): New function. diff --git a/gcc/config/sol2.c b/gcc/config/sol2.c index d9f43ea..decde2f 100644 --- a/gcc/config/sol2.c +++ b/gcc/config/sol2.c @@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see #include "output.h" #include "tm.h" #include "rtl.h" +#include "target.h" #include "tm_p.h" #include "diagnostic-core.h" #include "ggc.h" diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index c370ea0..8141e09 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC, for SPARC running Solaris 2 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). Additional changes by David V. Henkel-Wallace (gumby@cygnus.com). @@ -168,13 +168,13 @@ along with GCC; see the file COPYING3. If not see #define REGISTER_TARGET_PRAGMAS() solaris_register_pragmas () /* Output a simple call for .init/.fini. */ -#define ASM_OUTPUT_CALL(FILE, FN) \ - do \ - { \ - fprintf (FILE, "\tcall\t"); \ - print_operand (FILE, XEXP (DECL_RTL (FN), 0), 0); \ - fprintf (FILE, "\n\tnop\n"); \ - } \ +#define ASM_OUTPUT_CALL(FILE, FN) \ + do \ + { \ + fprintf (FILE, "\tcall\t"); \ + targetm.asm_out.print_operand (FILE, XEXP (DECL_RTL (FN), 0), 0); \ + fprintf (FILE, "\n\tnop\n"); \ + } \ while (0) /* This is how to output an assembler line that says to advance |