]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Provide HANDLE_PRAGMA_WEAK and ASM_OUTPUT_DEF.
authorMichael Meissner <meissner@gcc.gnu.org>
Tue, 22 Mar 1994 20:50:40 +0000 (20:50 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 22 Mar 1994 20:50:40 +0000 (20:50 +0000)
From-SVN: r6845

gcc/config/i386/osfrose.h

index 14f4b95f661b1f6727e4e43bd28f88a99db97969..faab15e6957e96d077cae85e8e8061064b1f7787 100644 (file)
@@ -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.