diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-15 16:11:19 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-15 16:11:19 +0000 |
commit | d960da4200c82afeac3971533607d0b30ab72a7d (patch) | |
tree | 323eb7dde25183e99fcd63d6d7c36b9fe1509643 /gcc/config/i386/sol2.h | |
parent | 0e7c826cc8049941d03935a7e06cac42777475dc (diff) | |
download | gcc-d960da4200c82afeac3971533607d0b30ab72a7d.tar.gz |
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/i386/sol2.h')
-rw-r--r-- | gcc/config/i386/sol2.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index 36db29e61f0..ab81c82fd7d 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -87,5 +87,11 @@ Boston, MA 02111-1307, USA. */ #define SUBTARGET_ATTRIBUTE_TABLE SOLARIS_ATTRIBUTE_TABLE /* Output a simple call for .init/.fini. */ -#define ASM_OUTPUT_CALL(FILE, NAME) \ - fprintf (FILE, "\tcall\t%s\n", NAME) +#define ASM_OUTPUT_CALL(FILE, FN) \ + do \ + { \ + fprintf (FILE, "\tcall\t"); \ + print_operand (FILE, XEXP (DECL_RTL (FN), 0), 'P'); \ + fprintf (FILE, "\n"); \ + } \ + while (0) |