From: jules Date: Tue, 8 Mar 2005 23:24:46 +0000 (+0000) Subject: * Patch from 2005-03-08 reverted for causing regressions and X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b21df10d930c684e85111f70ede950b208b706e2;p=thirdparty%2Fgcc.git * Patch from 2005-03-08 reverted for causing regressions and ppc-darwin bootstrap failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96136 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ddfe3a603cff..1f052fc9d29e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-08 Julian Brown + + * Patch from 2005-03-08 reverted for causing regressions and + ppc-darwin bootstrap failure. + 2005-03-08 Fariborz Jahanian * config/rs6000/rs6000.c (invalid_arg_for_unprototyped_fn): diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index 6e41bb269368..9eed0d13fe39 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -212,15 +212,7 @@ Boston, MA 02111-1307, USA. */ fprintf ((FILE), "%s\n", ASM_SECTION_START_OP) #endif -/* Don't use weak for entities with vague linkage when HAVE_GAS_COMDAT_GROUP - is true. */ -#define MAKE_DECL_ONE_ONLY(DECL) \ - do \ - { \ - if (!HAVE_GAS_COMDAT_GROUP) \ - DECL_WEAK(DECL) = 1; \ - } \ - while (0) +#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1) /* Switch into a generic section. */ #define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section