summaryrefslogtreecommitdiff
path: root/gcc/config/i386/osfrose.h
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-16 01:02:59 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-16 01:02:59 +0000
commit9a0ce7db12eff82b3a17ca1040523fd865787f2b (patch)
tree9d5f3bb804d2bbfb71d3beebd8c3bc2c6f1f2499 /gcc/config/i386/osfrose.h
parent3a5f6e90259514f8a4c2cdfeb92a6aed600d9617 (diff)
downloadgcc-9a0ce7db12eff82b3a17ca1040523fd865787f2b.tar.gz
Update weak symbol support
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9697 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/osfrose.h')
-rw-r--r--gcc/config/i386/osfrose.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h
index fa2040c239d..159c1840268 100644
--- a/gcc/config/i386/osfrose.h
+++ b/gcc/config/i386/osfrose.h
@@ -94,7 +94,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Handle #pragma weak and #pragma pack. */
#define HANDLE_SYSV_PRAGMA
-#define HANDLE_PRAGMA_WEAK TARGET_ELF
+#define SUPPORTS_WEAK TARGET_ELF
/* Change default predefines. */
#undef CPP_PREDEFINES
@@ -617,9 +617,14 @@ while (0)
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
-#define WEAK_ASM_OP ".weak"
#define SET_ASM_OP ".set"
+/* This is how we tell the assembler that a symbol is weak. */
+
+#define ASM_WEAKEN_LABEL(FILE,NAME) \
+ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
+ fputc ('\n', FILE); } while (0)
+
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers
expect various different forms for this operand. The one given here