OSDN Git Service

* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
authorrobertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Sep 1998 20:13:19 +0000 (20:13 +0000)
committerrobertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Sep 1998 20:13:19 +0000 (20:13 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22455 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 2f699a4..bfa55c4 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 dcc85e0..4d26255 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)