rs6000.h (ASM_OUTPUT_DEF): New.
authorRichard Henderson <rth@cygnus.com>
Mon, 15 Nov 1999 23:40:14 +0000 (15:40 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 15 Nov 1999 23:40:14 +0000 (15:40 -0800)
        * rs6000.h (ASM_OUTPUT_DEF): New.
        Based on proposed addition from David Edelsohn.

From-SVN: r30539

gcc/ChangeLog
gcc/config/rs6000/rs6000.h

index 6208a15906b6fab96b18e6e43d2728fc40b7aa5a..688a150a6693f9504e27b41cbc0af3279b19a30a 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov 15 15:33:18 1999  Richard Henderson  <rth@cygnus.com>
+
+       * rs6000.h (ASM_OUTPUT_DEF): New.
+       Based on proposed addition from David Edelsohn.
+
 1999-11-15  Robert Lipe  <RobertLipe@usa.net>
             Bruce Korb  <autogen@linuxbox.com>
 
index 97468f3522205a9937f591fdb760d91054b95c6f..32504165b209bb4cbeab31e7c4a0674a95b54ba6 100644 (file)
@@ -2819,6 +2819,17 @@ extern int toc_initialized;
   putc ('\n', FILE);                           \
 }
 
+/* This is how we tell the assembler that two symbols have the same value.  */
+
+#define ASM_OUTPUT_DEF(FILE,NAME1,NAME2)       \
+do {                                           \
+  fputs("\t.set ", FILE);                      \
+  assemble_name(FILE, NAME1);                  \
+  fputc(',', FILE);                            \
+  assemble_name(FILE, NAME2);                  \
+  fputc('\n', FILE);                           \
+} while (0)
+
 /* Output to assembler file text saying following lines
    may contain character constants, extra white space, comments, etc.  */