1 /* Enable debugging. */ 2 #define DBX_DEBUGGING_INFO 1 3 #define SDB_DEBUGGING_INFO 1 4 #define MIPS_DEBUGGING_INFO 1 5 #define DWARF_DEBUGGING_INFO 1 6 7 #undef PREFERRED_DEBUGGING_TYPE 8 #define PREFERRED_DEBUGGING_TYPE DWARF_DEBUG 9 10 /* We need to use .esize and .etype instead of .size and .type to 11 avoid conflicting with ELF directives. These are only recognized 12 by gas, anyhow, not the native assembler. */ 13 #undef PUT_SDB_SIZE 14 #define PUT_SDB_SIZE(a) \ 15 do { \ 16 extern FILE *asm_out_text_file; \ 17 fprintf (asm_out_text_file, "\t.esize\t"); \ 18 fprintf (asm_out_text_file, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) (a)); \ 19 fprintf (asm_out_text_file, ";"); \ 20 } while (0) 21 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) 28 29 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'. */ 33 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) 41