IA64 HP-UX patch (ASM_OUTPUT_EXTERNAL_LIBCALL)

Zack Weinberg zack@codesourcery.com
Wed Sep 25 17:33:00 GMT 2002


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



More information about the Gcc-patches mailing list