From 1d6f1f15a76e95649ac989a5cd4b0abf2805d85b Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 10 Nov 2000 17:47:41 +0000 Subject: Don't define "ASM_WEAKEN_LABEL" in the a.out case. PR: 16882 Submitted by: Bly Hostetler --- lang/gcc28/files/patch-01 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lang/gcc28/files/patch-01') diff --git a/lang/gcc28/files/patch-01 b/lang/gcc28/files/patch-01 index 3d4d6dbc018d..1573fadd5c80 100644 --- a/lang/gcc28/files/patch-01 +++ b/lang/gcc28/files/patch-01 @@ -46,19 +46,13 @@ /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers -@@ -123,6 +140,16 @@ +@@ -123,6 +140,10 @@ #define TYPE_OPERAND_FMT "@%s" +/* Handle #pragma weak and #pragma pack. */ + +#define HANDLE_SYSV_PRAGMA 1 -+ -+/* 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) + /* Write the extra assembler code needed to declare a function's result. Most svr4 assemblers don't require any special declaration of the -- cgit v1.2.3