elf.h (MAKE_DECL_ONE_ONLY): Copy definition from config/elfos.h.
authorLoren J. Rittle <ljrittle@acm.org>
Fri, 8 Jun 2001 00:47:58 +0000 (00:47 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Fri, 8 Jun 2001 00:47:58 +0000 (00:47 +0000)
* config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
from config/elfos.h.

From-SVN: r42991

gcc/ChangeLog
gcc/config/alpha/elf.h

index 0387a6a..ba91449 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
+
+       * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
+       from config/elfos.h.
+
 2001-06-07  Phil Edwards  <pme@sources.redhat.com>
 
        * linux.h (CPLUSPLUS_CPP_SPEC):  Move -D_GNU_SOURCE to here.
index 78642e6..a77a643 100644 (file)
@@ -458,6 +458,8 @@ void FN ()                                  \
     }                                          \
   while (0)
 
+#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
+
 #define UNIQUE_SECTION_P(DECL)   (DECL_ONE_ONLY (DECL))
 
 #undef  UNIQUE_SECTION