OSDN Git Service

New file.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 1994 23:37:39 +0000 (23:37 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 1994 23:37:39 +0000 (23:37 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7402 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/mips/iris5gas.h [new file with mode: 0644]

diff --git a/gcc/config/mips/iris5gas.h b/gcc/config/mips/iris5gas.h
new file mode 100644 (file)
index 0000000..e519df7
--- /dev/null
@@ -0,0 +1,31 @@
+/* Definitions of target machine for GNU compiler.  Irix version 5 with gas. */
+
+#include "mips/iris5.h"
+
+/* Enable debugging.  */
+#define DBX_DEBUGGING_INFO
+#define SDB_DEBUGGING_INFO
+#define MIPS_DEBUGGING_INFO
+
+/* Irix 5 does not have some strange restrictions that Irix 3 had.  */
+#undef SET_FILE_NUMBER
+#define SET_FILE_NUMBER() ++num_source_filenames
+#undef LABEL_AFTER_LOC
+#define LABEL_AFTER_LOC(STREAM)
+
+/* We need to use .esize and .etype instead of .size and .type to
+   avoid conflicting with ELF directives.  These are only recognized
+   by gas, anyhow, not the native assembler.  */
+#undef PUT_SDB_SIZE
+#define PUT_SDB_SIZE(a)                                       \
+do {                                                  \
+  extern FILE *asm_out_text_file;                     \
+  fprintf (asm_out_text_file, "\t.esize\t%d;", (a));  \
+} while (0)
+
+#undef PUT_SDB_TYPE
+#define PUT_SDB_TYPE(a)                                       \
+do {                                                  \
+  extern FILE *asm_out_text_file;                     \
+  fprintf (asm_out_text_file, "\t.etype\t0x%x;", (a));        \
+} while (0)