From 65624c8ef35a07c95c941f8953bb60fade1110ed Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Tue, 22 Mar 1994 20:50:40 +0000 Subject: [PATCH] Provide HANDLE_PRAGMA_WEAK and ASM_OUTPUT_DEF. From-SVN: r6845 --- gcc/config/i386/osfrose.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h index 14f4b95f661..faab15e6957 100644 --- a/gcc/config/i386/osfrose.h +++ b/gcc/config/i386/osfrose.h @@ -94,6 +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 /* Change default predefines. */ #undef CPP_PREDEFINES @@ -455,6 +456,18 @@ while (0) #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \ fprintf (FILE, "\t.long _GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", LPREFIX, VALUE) +/* Output a definition */ +#define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2) \ +do \ +{ \ + fprintf ((FILE), "\t%s\t", SET_ASM_OP); \ + assemble_name (FILE, LABEL1); \ + fprintf (FILE, ","); \ + assemble_name (FILE, LABEL2); \ + fprintf (FILE, "\n"); \ + } \ +while (0) + /* A C expression to output text to align the location counter in the way that is desirable at a point in the code that is reached only by jumping. -- 2.30.2