]> gcc.gnu.org Git - gcc.git/commitdiff
Improve comment on SUPPORTS_WEAK.
authorRobert Lipe <robertl@gcc.gnu.org>
Sun, 23 Jan 2000 13:46:16 +0000 (13:46 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Sun, 23 Jan 2000 13:46:16 +0000 (13:46 +0000)
From-SVN: r31568

gcc/config/i386/sco5.h

index 9716d4e32bd203f9e56ca55547023b707e28dd30..8980ec93f2dcace5320e0a292c3c3531ef4dd85e 100644 (file)
@@ -730,8 +730,9 @@ 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
+/* Though OpenServer supports .weak in COFF, we don't use it.
+ * G++ will frequently emit a symol as .weak and then (in the same .s 
+ * file) declare it global.   The COFF assembler finds this unamusing.
  */
 #define SUPPORTS_WEAK (TARGET_ELF)
 #define ASM_WEAKEN_LABEL(FILE,NAME) \
This page took 0.063845 seconds and 5 git commands to generate.