OSDN Git Service

* config.gcc: Set default for xmake_file at top, not bottom.
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / iris5gas.h
1 /* Definitions of target machine for GNU compiler.  Irix version 5 with gas. */
2
3 /* Enable debugging.  */
4 #define DBX_DEBUGGING_INFO
5 #define SDB_DEBUGGING_INFO
6 #define MIPS_DEBUGGING_INFO
7 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
8
9 /* GNU as does handle DWARF2 directives.  */
10 #undef DWARF2_UNWIND_INFO
11 #define DWARF2_UNWIND_INFO 1
12
13 /* Irix 5 does not have some strange restrictions that Irix 3 had.  */
14 #undef SET_FILE_NUMBER
15 #define SET_FILE_NUMBER() ++num_source_filenames
16 #undef LABEL_AFTER_LOC
17 #define LABEL_AFTER_LOC(STREAM)
18
19 /* We need to use .esize and .etype instead of .size and .type to
20    avoid conflicting with ELF directives.  These are only recognized
21    by gas, anyhow, not the native assembler.  */
22 #undef PUT_SDB_SIZE
23 #define PUT_SDB_SIZE(a)                                       \
24 do {                                                  \
25   extern FILE *asm_out_text_file;                     \
26   fprintf (asm_out_text_file, "\t.esize\t%d;", (a));  \
27 } while (0)
28
29 #undef PUT_SDB_TYPE
30 #define PUT_SDB_TYPE(a)                                       \
31 do {                                                  \
32   extern FILE *asm_out_text_file;                     \
33   fprintf (asm_out_text_file, "\t.etype\t0x%x;", (a));        \
34 } while (0)