* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.

From-SVN: r22455
This commit is contained in:
Robert Lipe 1998-09-16 20:13:19 +00:00 committed by Robert Lipe
parent b66a3ac1ad
commit 086afc19bb
2 changed files with 8 additions and 0 deletions

View 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

View 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)