diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2001-07-18 20:43:40 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2001-07-18 20:43:40 +0000 |
commit | 20c93f7ce2e90a9e40994f3b4b60065b4b8c8fc4 (patch) | |
tree | 5d6c9c2eac93688e6907184f75e33676cf56e9f4 /gcc | |
parent | 06c271c3cf33d31e2002e5e03e5a93ff67b476cb (diff) | |
download | gcc-20c93f7ce2e90a9e40994f3b4b60065b4b8c8fc4.zip gcc-20c93f7ce2e90a9e40994f3b4b60065b4b8c8fc4.tar.gz gcc-20c93f7ce2e90a9e40994f3b4b60065b4b8c8fc4.tar.bz2 |
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
From-SVN: r44131
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/defaults.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5edcb09..216bba6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL. + Wed Jul 18 20:47:36 CEST 2001 Jan Hubicka <jh@suse.cz> * cse.c: Undo my previous patch. diff --git a/gcc/defaults.h b/gcc/defaults.h index ed5be8b..ca8af70 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 |