summaryrefslogtreecommitdiffstats
path: root/gcc/config/sol2.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-15 16:11:19 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-15 16:11:19 +0000
commitd960da4200c82afeac3971533607d0b30ab72a7d (patch)
tree323eb7dde25183e99fcd63d6d7c36b9fe1509643 /gcc/config/sol2.c
parent0e7c826cc8049941d03935a7e06cac42777475dc (diff)
downloadppe42-gcc-d960da4200c82afeac3971533607d0b30ab72a7d.tar.gz
ppe42-gcc-d960da4200c82afeac3971533607d0b30ab72a7d.zip
2004-11-15 Mark Mitchell <mark@codesourcery.com>
* config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand. * config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise. * config/sol2.c (solaris_output_init_fini): Update calls to ASM_OUTPUT_CALL. Include "rtl.h". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90674 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sol2.c')
-rw-r--r--gcc/config/sol2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/sol2.c b/gcc/config/sol2.c
index edf0eee3b41..ae34584a961 100644
--- a/gcc/config/sol2.c
+++ b/gcc/config/sol2.c
@@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
#include "coretypes.h"
#include "tree.h"
#include "tm.h"
+#include "rtl.h"
#include "tm_p.h"
#include "toplev.h"
#include "ggc.h"
@@ -105,14 +106,14 @@ solaris_output_init_fini (FILE *file, tree decl)
if (lookup_attribute ("init", DECL_ATTRIBUTES (decl)))
{
fprintf (file, "\t.pushsection\t\".init\"\n");
- ASM_OUTPUT_CALL (file, IDENTIFIER_POINTER (DECL_NAME (decl)));
+ ASM_OUTPUT_CALL (file, decl);
fprintf (file, "\t.popsection\n");
}
if (lookup_attribute ("fini", DECL_ATTRIBUTES (decl)))
{
fprintf (file, "\t.pushsection\t\".fini\"\n");
- ASM_OUTPUT_CALL (file, IDENTIFIER_POINTER (DECL_NAME (decl)));
+ ASM_OUTPUT_CALL (file, decl);
fprintf (file, "\t.popsection\n");
}
}
OpenPOWER on IntegriCloud