This is sun4.h in view mode; [Download] [Up]
#define SUN4 #include "bsd.h" #include "sparc.h" #define ADDITIONAL_FEATURES \ ADD_FEATURE("SUN"); \ ADD_FEATURE("SPARC") #define SPARC #define IEEEFLOAT #define USE_C_EXTENDED_DIV /* setjmp does not lay down the other register windows registers, and so we must recurse some to make sure that all registers are forced onto the stack. */ #define N_RECURSION_REQD 8 #define DATA_BEGIN (char *)N_DATADDR(header) #define N_RELOFF N_TRELOFF #define RELOC_FILE "rel_sun4.c" /* width of page size that can be memorprotected log2(getpagesize()) */ #define PAGEWIDTH 12 #define reloc reloc_info_sparc /* in release 4.0 it is SIGSEGV, and release 4.1 it is SIGBUS */ #define INSTALL_MPROTECT_HANDLER (signal(SIGSEGV, memprotect_handler),\ signal(SIGBUS, memprotect_handler)) #include "sparc.h" /* Begin for cmpinclude */ #ifndef __GNUC__ #define HAVE_ALLOCA #include <alloca.h> #endif /* If can mprotect pages and so selective gc will work */ #define SGC /* End for cmpinclude */ /* Sun 4.1 needs to have some cached yp stuff undone at save time */ #define HAVE_YP_UNBIND
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.