sol2.h (ASM_OUTPUT_CALL): Use targetm.asm_out.print_operand.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 5 May 2011 09:10:19 +0000 (09:10 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 5 May 2011 09:10:19 +0000 (09:10 +0000)
* config/sparc/sol2.h (ASM_OUTPUT_CALL): Use
targetm.asm_out.print_operand.
* config/sol2.c: Include target.h.

From-SVN: r173419

gcc/ChangeLog
gcc/config/sol2.c
gcc/config/sparc/sol2.h

index 509a742770f54f6b07e50a2a9a5bee3c5f9a5912..1730c9bbe89c5952cbe531b594fe579b97b4aabe 100644 (file)
@@ -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.
index d9f43ea26dba9e90569d55d2d2e385164df5c10b..decde2fea29fcb0da74de22e2c9d17684bedf995 100644 (file)
@@ -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"
index c370ea0d85793f4c6cd637a52d66a03ccd4f216f..8141e096fc10f0d6735f1c9211c0d29599981bba 100644 (file)
@@ -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