* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
authorRobert Lipe <robertl@dgii.com>
Wed, 16 Sep 1998 20:13:19 +0000 (20:13 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Wed, 16 Sep 1998 20:13:19 +0000 (20:13 +0000)
From-SVN: r22455

gcc/ChangeLog
gcc/config/i386/sco5.h

index 2f699a4352e13674ef32836142c50fc392be74f6..bfa55c4d6214c9ec47910e143903840c1c16733d 100644 (file)
@@ -1,3 +1,7 @@
+Wed Sep 16 22:10:42 1998  Robert Lipe  <robertl@dgii.com>
+
+       * config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
+
 Wed Sep 16 15:24:54 1998  Richard Henderson  <rth@cygnus.com>
 
        * i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
index dcc85e0184038d38d99bb073e9df2ef27ca01019..4d26255699a2ce0a6573fbb0a2ca7fb0e672ec14 100644 (file)
@@ -731,6 +731,10 @@ dtors_section ()                                                   \
 #undef HANDLE_SYSV_PRAGMA
 #define HANDLE_SYSV_PRAGMA 1
 
+/* Though OpenServer support .weak in COFF, g++ doesn't play nice with it
+ * so we'll punt on it for now
+ */
+#define SUPPORTS_WEAK (TARGET_ELF)
 #define ASM_WEAKEN_LABEL(FILE,NAME) \
   do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME);          \
        fputc ('\n', FILE); } while (0)