aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-05-31 16:37:39 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-05-31 16:37:39 -0700
commit54a53d8cf50eaa45201e59a6a209e04bfc126148 (patch)
tree57cc350712afe6aeff1366adb1d6656ed5cb0524
parent9ee6230c9391d397644433b4b5498d37ebf1fa43 (diff)
downloadgcc-54a53d8cf50eaa45201e59a6a209e04bfc126148.zip
gcc-54a53d8cf50eaa45201e59a6a209e04bfc126148.tar.gz
gcc-54a53d8cf50eaa45201e59a6a209e04bfc126148.tar.bz2
New file.
From-SVN: r7402
-rw-r--r--gcc/config/mips/iris5gas.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/mips/iris5gas.h b/gcc/config/mips/iris5gas.h
new file mode 100644
index 0000000..e519df7
--- /dev/null
+++ b/gcc/config/mips/iris5gas.h
@@ -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)