* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
From-SVN: r22455
This commit is contained in:
parent
b66a3ac1ad
commit
086afc19bb
@ -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>
|
Wed Sep 16 15:24:54 1998 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
* i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
|
* i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
|
||||||
|
@ -731,6 +731,10 @@ dtors_section () \
|
|||||||
#undef HANDLE_SYSV_PRAGMA
|
#undef HANDLE_SYSV_PRAGMA
|
||||||
#define HANDLE_SYSV_PRAGMA 1
|
#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) \
|
#define ASM_WEAKEN_LABEL(FILE,NAME) \
|
||||||
do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
|
do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
|
||||||
fputc ('\n', FILE); } while (0)
|
fputc ('\n', FILE); } while (0)
|
||||||
|
Loading…
Reference in New Issue
Block a user