aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2005-03-08 23:24:46 +0000
committerJulian Brown <jules@gcc.gnu.org>2005-03-08 23:24:46 +0000
commit1fbbc05518bdb6d48c1a64563b57f05984d332c4 (patch)
tree519e6a0e611cb1b349dc7a1adc5efaef781ee2c6 /gcc
parent59e28bec07df526cd407df807a3befaae3c7bc27 (diff)
downloadgcc-1fbbc05518bdb6d48c1a64563b57f05984d332c4.zip
gcc-1fbbc05518bdb6d48c1a64563b57f05984d332c4.tar.gz
gcc-1fbbc05518bdb6d48c1a64563b57f05984d332c4.tar.bz2
* Patch from 2005-03-08 reverted for causing regressions and
ppc-darwin bootstrap failure. From-SVN: r96136
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/elfos.h10
2 files changed, 6 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ddfe3a6..1f052fc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-08 Julian Brown <julian@codesourcery.com>
+
+ * Patch from 2005-03-08 reverted for causing regressions and
+ ppc-darwin bootstrap failure.
+
2005-03-08 Fariborz Jahanian <fjahanian@apple.com>
* config/rs6000/rs6000.c (invalid_arg_for_unprototyped_fn):
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 6e41bb2..9eed0d1 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