2002-05-09 Hassan Aurag <aurag@cae.com>
[official-gcc.git] / gcc / config / mips / iris5gas.h
blobc6454c223b5b1a50ef7a015e29d5160346799a47
1 /* Definitions of target machine for GNU compiler. Irix version 5 with gas. */
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
9 /* GNU as does handle DWARF2 directives. */
10 #undef DWARF2_UNWIND_INFO
11 #define DWARF2_UNWIND_INFO 1
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)
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"); \
27 fprintf (asm_out_text_file, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) (a)); \
28 fprintf (asm_out_text_file, ";"); \
29 } while (0)
31 #undef PUT_SDB_TYPE
32 #define PUT_SDB_TYPE(a) \
33 do { \
34 extern FILE *asm_out_text_file; \
35 fprintf (asm_out_text_file, "\t.etype\t0x%x;", (a)); \
36 } while (0)