#define LittleEndian
/*#define NAMES_HAVE_UNDERSCORE*/
#define DO_BACKTRACK 1
#define BUGGY_GNUG
#define USE_LONGJMP

/* Generate the instructions:
   lui $v0,64
   jr $ra
   ori $v0,$v0,400
*/
#define MAKE_RETURN_POINTER_STUB(STUB_ADDRESS, PTR) \
    ((long*)(STUB_ADDRESS))[0] = 0x3c020000|((unsigned long)(PTR)>>16),\
    ((long*)(STUB_ADDRESS))[1] = 0x03e00008,\
    ((long*)(STUB_ADDRESS))[2] = 0x34420000|((unsigned long)(PTR)&0xFFFF);
#define MAKE_RETURN_POINTER_STUB_SIZE 12

#ifdef DO_REF_COUNT
#define MARK(body) /* ??? */
#else
#define MARK(body)
#endif

#define PRIM_HANDLER(exname,label) \
  asm(" .long " UNDERSCORE #exname); asm(" .word 1"); asm(UNDERSCORE label ":")
#define JUMP(label) asm(" bra " label)

#define CONT_SAVE_REGS 12
/*#define CONT_SAVE_FP(H) (char*)(H)->save_regs[10]*/
#ifdef USE_LONGJMP
#define CONT_SAVE_SP(H) (char*)0
#else
#define CONT_SAVE_SP(H) (char*)(H)->save_regs[???]
#endif

#define RELOC_FILE "rel_sun3.c"
#define HAVE_AOUT
#define BSD

#define Ultrix /* Needed by jobs.c */
