Import gcc-2.8.1.tar.bz2
[official-gcc.git] / gcc / config / mips / sni-gas.h
blob752866536b8491ffeb1284baa8b410e68b1ec9ec
1 #include "mips/sni-svr4.h"
3 /* Enable debugging. */
4 #define DBX_DEBUGGING_INFO
5 #define SDB_DEBUGGING_INFO
6 #define MIPS_DEBUGGING_INFO
8 #define DWARF_DEBUGGING_INFO
9 #undef PREFERRED_DEBUGGING_TYPE
10 #define PREFERRED_DEBUGGING_TYPE DWARF_DEBUG
12 /* We need to use .esize and .etype instead of .size and .type to
13 avoid conflicting with ELF directives. These are only recognized
14 by gas, anyhow, not the native assembler. */
15 #undef PUT_SDB_SIZE
16 #define PUT_SDB_SIZE(a) \
17 do { \
18 extern FILE *asm_out_text_file; \
19 fprintf (asm_out_text_file, "\t.esize\t%d;", (a)); \
20 } while (0)
22 #undef PUT_SDB_TYPE
23 #define PUT_SDB_TYPE(a) \
24 do { \
25 extern FILE *asm_out_text_file; \
26 fprintf (asm_out_text_file, "\t.etype\t0x%x;", (a)); \
27 } while (0)
30 /* This is how to equate one symbol to another symbol. The syntax used is
31 `SYM1=SYM2'. Note that this is different from the way equates are done
32 with most svr4 assemblers, where the syntax is `.set SYM1,SYM2'. */
34 #define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2) \
35 do { fprintf ((FILE), "\t"); \
36 assemble_name (FILE, LABEL1); \
37 fprintf (FILE, " = "); \
38 assemble_name (FILE, LABEL2); \
39 fprintf (FILE, "\n"); \
40 } while (0)