Annotation of gcc/tm-sun386i.h, revision 1.1.1.2

1.1       root        1: /* Definitions for Intel 386 running SunOS 4.0.
                      2:    Copyright (C) 1988 Free Software Foundation, Inc.
                      3: 
                      4: This file is part of GNU CC.
                      5: 
1.1.1.2 ! root        6: GNU CC is free software; you can redistribute it and/or modify
        !             7: it under the terms of the GNU General Public License as published by
        !             8: the Free Software Foundation; either version 1, or (at your option)
        !             9: any later version.
        !            10: 
1.1       root       11: GNU CC is distributed in the hope that it will be useful,
1.1.1.2 ! root       12: but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            14: GNU General Public License for more details.
        !            15: 
        !            16: You should have received a copy of the GNU General Public License
        !            17: along with GNU CC; see the file COPYING.  If not, write to
        !            18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
1.1       root       19: 
                     20: 
                     21: #include "tm-i386.h"
                     22: 
                     23: /* Use the Sun assembler syntax.  */
                     24: 
                     25: #include "tm-sun386.h"
                     26: 
                     27: /* By default, target has a 80387.  */
                     28: 
                     29: #define TARGET_DEFAULT 1
                     30: 
                     31: /* Use crt0.o as a startup file.  */
                     32: 
                     33: #define STARTFILE_SPEC  \
                     34:   "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
                     35: 
                     36: #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
                     37: 
                     38: /* Extra switches to give the assembler.  */
                     39: 
                     40: #define ASM_SPEC "-i386"
                     41: 
                     42: /* Specify predefined symbols in preprocessor.  */
                     43: 
                     44: #define CPP_PREDEFINES "-Dunix -Di386 -Dsun386"
                     45: 
                     46: /* Allow #ident and #sccs in preprocessor.  */
                     47: 
                     48: #define IDENT_DIRECTIVE
                     49: #define SCCS_DIRECTIVE
                     50: 
                     51: /* We don't want to output SDB debugging information.  */
                     52: 
                     53: #undef SDB_DEBUGGING_INFO
                     54: 
                     55: /* We want to output DBX debugging information.  */
                     56: 
                     57: #define DBX_DEBUGGING_INFO
                     58: 
                     59: /* Implicit library calls should use memcpy, not bcopy, etc.  */
                     60: 
                     61: #define TARGET_MEM_FUNCTIONS
                     62: 
                     63: 
                     64: /* Define how to find the value returned by a function.
                     65:    VALTYPE is the data type of the value (as a tree).
                     66:    If the precise function being called is known, FUNC is its FUNCTION_DECL;
                     67:    otherwise, FUNC is 0.  */
                     68: 
                     69: #define VALUE_REGNO(MODE) \
                     70:   (((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
                     71: 
                     72: /* 1 if N is a possible register number for a function value. */
                     73: 
                     74: #define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
                     75: 
                     76: /* This is partly guess.  */
                     77: 
                     78: #undef DBX_REGISTER_NUMBER
                     79: #define DBX_REGISTER_NUMBER(n) \
                     80: ((n) == 1 ? 2 : (n) == 2 ? 1 : (n) < 8 ? (n) : 12)
                     81: 
                     82: /* Every debugger symbol must be in the text section.
                     83:    Otherwise the assembler or the linker screws up.  */
                     84: 
                     85: #define DEBUG_SYMS_TEXT

unix.superglobalmegacorp.com

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