Annotation of gcc/config/i386sco.h, revision 1.1.1.3

1.1       root        1: /* Definitions for Intel 386 running SCO Unix System V.  */
                      2: 
                      3: 
                      4: /* Mostly it's like AT&T Unix System V. */
                      5: 
                      6: #include "i386v.h"
                      7: 
                      8: /* Use crt1.o as a startup file and crtn.o as a closing file.  */
                      9: 
                     10: #undef STARTFILE_SPEC
1.1.1.2   root       11: #define STARTFILE_SPEC  "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} crtbegin.o%s"
1.1       root       12: 
1.1.1.2   root       13: #define ENDFILE_SPEC "crtend.o%s crtn.o%s"
1.1       root       14: 
                     15: /* Library spec, including SCO international language support. */
                     16: 
                     17: #undef LIB_SPEC
                     18: #define LIB_SPEC \
                     19:  "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} %{scointl:libintl.a%s} -lc"
                     20: 
                     21: /* Specify predefined symbols in preprocessor.  */
                     22: 
                     23: #undef CPP_PREDEFINES
                     24: #define CPP_PREDEFINES "-Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP"
                     25: 
1.1.1.2   root       26: #undef CPP_SPEC
1.1       root       27: #define CPP_SPEC "%{scointl:-DM_INTERNAT}"
                     28: 
1.1.1.2   root       29: /* Use atexit for static destructors, instead of defining
                     30:    our own exit function.  */
                     31: #define HAVE_ATEXIT
                     32: 
1.1.1.3 ! root       33: /* Specify the size_t type.  */
        !            34: #define SIZE_TYPE "unsigned int"
        !            35: 
1.1       root       36: #if 0 /* Not yet certain whether this is needed.  */
                     37: /* If no 387, use the general regs to return floating values,
                     38:    since this system does not emulate the 80387.  */
                     39: 
                     40: #define VALUE_REGNO(MODE) \
                     41:   ((TARGET_80387 && ((MODE) == SFmode || (MODE) == DFmode))
                     42:    ? FIRST_FLOAT_REG : 0)
                     43: 
                     44: #define HARD_REGNO_MODE_OK(REGNO, MODE) \
                     45:   ((REGNO) < 2 ? 1                                                     \
                     46:    : (REGNO) < 4 ? 1                                                   \
                     47:    : (REGNO) >= 8 ? ((GET_MODE_CLASS (MODE) == MODE_FLOAT              \
                     48:                      || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)   \
                     49:                     && TARGET_80387                                    \
                     50:                     && GET_MODE_UNIT_SIZE (MODE) <= 8)                 \
                     51:    : (MODE) != QImode)
                     52: #endif
1.1.1.2   root       53: 
                     54: /* caller has to pop the extra argument passed to functions that return
                     55:    structures. */
                     56: 
                     57: #undef RETURN_POPS_ARGS
                     58: #define RETURN_POPS_ARGS(FUNTYPE,SIZE)   \
                     59:   (TREE_CODE (FUNTYPE) == IDENTIFIER_NODE ? 0                  \
                     60:    : (TARGET_RTD                                               \
                     61:       && (TYPE_ARG_TYPES (FUNTYPE) == 0                                \
                     62:          || (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
                     63:              == void_type_node))) ? (SIZE)                     \
                     64:    : 0)
                     65: /* On other 386 systems, the last line looks like this:
                     66:    : (aggregate_value_p (FUNTYPE)) ? GET_MODE_SIZE (Pmode) : 0)  */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.