Annotation of gcc/config/sun2.h, revision 1.1.1.1

1.1       root        1: /* Definitions of target machine for GNU compiler.  Sun 68010 version.
                      2:    Copyright (C) 1987, 1988 Free Software Foundation, Inc.
                      3: 
                      4: This file is part of GNU CC.
                      5: 
                      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 2, or (at your option)
                      9: any later version.
                     10: 
                     11: GNU CC is distributed in the hope that it will be useful,
                     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.  */
                     19: 
                     20: 
                     21: #include "m68k.h"
                     22: 
                     23: /* See m68k.h.  0 means 68000 with no 68881.  */
                     24: 
                     25: #define TARGET_DEFAULT 0
                     26: 
                     27: /* Define __HAVE_68881 in preprocessor only if -m68881 is specified.
                     28:    This will control the use of inline 68881 insns in certain macros.
                     29:    Also inform the program which CPU this is for.  */
                     30: 
                     31: #define CPP_SPEC "%{m68881:-D__HAVE_68881__} \
                     32: %{!ansi:%{m68020:-Dmc68020}%{mc68020:-Dmc68020}%{!mc68020:%{!m68020:-Dmc68010}}}"
                     33: 
                     34: /* -m68020 requires special flags to the assembler.  */
                     35: 
                     36: #define ASM_SPEC \
                     37:  "%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!m68020:-mc68010}} \
                     38:   %{fpic:-k} %{fPIC:-k}"
                     39:   
                     40: /* Names to predefine in the preprocessor for this target machine.  */
                     41: 
                     42: #define CPP_PREDEFINES "-Dmc68000 -Dsun -Dunix"
                     43: 
                     44: /* Prevent error on `-sun2' and `-target sun2' options.  */
                     45: 
                     46: #define CC1_SPEC "%{sun2:} %{target:}"
                     47: 
                     48: /* These compiler options take an argument.  We ignore -target for now.  */
                     49: 
                     50: #define WORD_SWITCH_TAKES_ARG(STR)                             \
                     51:  (!strcmp (STR, "Tdata") || !strcmp (STR, "include")           \
                     52:   || !strcmp (STR, "imacros") || !strcmp (STR, "target")       \
                     53:   || !strcmp (STR, "assert"))
                     54: 
                     55: /* Specify what to link with.  */
                     56: 
                     57: /* Link with libg.a when debugging, for dbx's sake.  */
                     58: /* Include the support for -a when appropriate.  */
                     59: #define LIB_SPEC "%{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} \
                     60: %{a:/usr/lib/bb_link.o -lc} "
                     61: 
                     62: /* Alignment of field after `int : 0' in a structure.  */
                     63: 
                     64: #undef EMPTY_FIELD_BOUNDARY
                     65: #define EMPTY_FIELD_BOUNDARY 16
                     66: 
                     67: /* Every structure or union's size must be a multiple of 2 bytes.  */
                     68: 
                     69: #define STRUCTURE_SIZE_BOUNDARY 16
                     70: 
                     71: /* This is BSD, so it wants DBX format.  */
                     72: 
                     73: #define DBX_DEBUGGING_INFO

unix.superglobalmegacorp.com

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