This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: IA64 HP-UX patch (ASM_OUTPUT_EXTERNAL_LIBCALL)
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Sep 2002 17:27:39 -0700
- Subject: Re: IA64 HP-UX patch (ASM_OUTPUT_EXTERNAL_LIBCALL)
- References: <200209251825.LAA00944@hpsje.cup.hp.com>
On Wed, Sep 25, 2002 at 11:25:30AM -0700, Steve Ellcey wrote:
> The default ASM_OUTPUT_EXTERNAL_LIBCALL puts out a global statement for
> library calls but does not put out the function type information that
> the HP linker needs for calls to shared libraries. This patch defines
> ASM_OUTPUT_EXTERNAL_LIBCALL in order to globalize the label and put out
> the needed type information.
...
> + fprintf (FILE, "%s", TYPE_ASM_OP); \
> + assemble_name (FILE, XSTR (FUN, 0)); \
> + putc (',', FILE); \
> + fprintf (FILE, TYPE_OPERAND_FMT, "function"); \
Please use ASM_OUTPUT_TYPE_DIRECTIVE here.
zw