OSDN Git Service

* Revert patch from 2005-04-13.
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Apr 2005 16:54:04 +0000 (16:54 +0000)
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Apr 2005 16:54:04 +0000 (16:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98143 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/elfos.h

index d3903f5..afb250a 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-14  Julian Brown  <julian@codesourcery.com>
+
+       * Revert elfos.h part of my patch from 2005-04-13 for causing libstdc++
+       link failures on ppc64 Linux.
+
 2005-04-14  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * config.gcc: Set cpu_type for s390.
index 6e41bb2..9eed0d1 100644 (file)
@@ -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