This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 3.0.1 PATCH: Support #pragma weak on IRIX 5/6


On Fri, Jul 13, 2001 at 09:10:45PM +0200, Rainer Orth wrote:
> +#ifdef ASM_WEAKEN_LABEL
> +#if !defined (ASM_OUTPUT_WEAK_ALIAS) && defined (ASM_OUTPUT_DEF)
> +#define ASM_OUTPUT_WEAK_ALIAS(STREAM, NAME, VALUE)	\
> +  do							\
> +    {							\
> +      ASM_WEAKEN_LABEL (STREAM, NAME);			\
> +      if (VALUE)					\
> +        ASM_OUTPUT_DEF (STREAM, NAME, VALUE);		\
> +    }							\
> +  while (0)
> +#endif


This should go in defaults.h, not c-pragma.h.

Otherwise ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]