From: Rainer Orth Date: Wed, 18 Jul 2001 20:43:40 +0000 (+0000) Subject: * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20c93f7ce2e90a9e40994f3b4b60065b4b8c8fc4;p=gcc.git * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL. From-SVN: r44131 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5edcb0940fd..216bba69fdb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-07-18 Rainer Orth + + * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL. + Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka * cse.c: Undo my previous patch. diff --git a/gcc/defaults.h b/gcc/defaults.h index ed5be8bcf6e..ca8af702798 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -143,7 +143,8 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) #endif /* This is how we tell the assembler that a symbol is weak. */ -#if !defined (ASM_OUTPUT_WEAK_ALIAS) && defined (ASM_OUTPUT_DEF) +#ifndef ASM_OUTPUT_WEAK_ALIAS +#if defined (ASM_WEAKEN_LABEL) && defined (ASM_OUTPUT_DEF) #define ASM_OUTPUT_WEAK_ALIAS(STREAM, NAME, VALUE) \ do \ { \ @@ -153,6 +154,7 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) } \ while (0) #endif +#endif /* This determines whether or not we support weak symbols. */ #ifndef SUPPORTS_WEAK