Annotation of gcc/config/m68k/sun2.h, revision 1.1.1.3

1.1       root        1: /* Definitions of target machine for GNU compiler.  Sun 68010 version.
1.1.1.3 ! root        2:    Copyright (C) 1987, 1988, 1995 Free Software Foundation, Inc.
1.1       root        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
1.1.1.3 ! root       18: the Free Software Foundation, 59 Temple Place - Suite 330,
        !            19: Boston, MA 02111-1307, USA.  */
1.1       root       20: 
                     21: 
                     22: #include "m68k/m68k.h"
                     23: 
                     24: /* See m68k.h.  0 means 68000 with no 68881.  */
                     25: 
                     26: #define TARGET_DEFAULT 0
                     27: 
                     28: /* Don't try using XFmode.  */
                     29: #undef LONG_DOUBLE_TYPE_SIZE
                     30: #define LONG_DOUBLE_TYPE_SIZE 64
                     31: 
                     32: /* Define __HAVE_68881 in preprocessor only if -m68881 is specified.
                     33:    This will control the use of inline 68881 insns in certain macros.
                     34:    Also inform the program which CPU this is for.  */
                     35: 
                     36: #define CPP_SPEC "%{m68881:-D__HAVE_68881__} \
                     37: %{!ansi:%{m68020:-Dmc68020}%{mc68020:-Dmc68020}%{!mc68020:%{!m68020:-Dmc68010}}}"
                     38: 
                     39: /* -m68020 requires special flags to the assembler.  */
                     40: 
                     41: #define ASM_SPEC \
                     42:  "%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!m68020:-mc68010}} \
1.1.1.3 ! root       43:   %{fpic:-k} %{fPIC:-k} %{R} %{j} %{J} %{h} %{d2} %{keep-local-as-symbols:-L}"
1.1       root       44:   
                     45: /* Names to predefine in the preprocessor for this target machine.  */
                     46: 
1.1.1.2   root       47: #define CPP_PREDEFINES "-Dmc68000 -Dsun -Dunix -Asystem(unix)  -Asystem(bsd) -Acpu(m68k) -Amachine(m68k)"
1.1       root       48: 
                     49: /* Prevent error on `-sun2' and `-target sun2' options.  */
                     50: 
                     51: #define CC1_SPEC "%{sun2:} %{target:}"
                     52: 
                     53: /* These compiler options take an argument.  We ignore -target for now.  */
                     54: 
                     55: #define WORD_SWITCH_TAKES_ARG(STR)                             \
                     56:  (DEFAULT_WORD_SWITCH_TAKES_ARG (STR)                          \
                     57:   || !strcmp (STR, "target") || !strcmp (STR, "assert"))
                     58: 
                     59: /* Specify what to link with.  */
                     60: 
                     61: /* Link with libg.a when debugging, for dbx's sake.  */
                     62: /* Include the support for -a when appropriate.  */
                     63: #define LIB_SPEC "%{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} \
                     64: %{a:/usr/lib/bb_link.o -lc} "
                     65: 
                     66: /* Alignment of field after `int : 0' in a structure.  */
                     67: 
                     68: #undef EMPTY_FIELD_BOUNDARY
                     69: #define EMPTY_FIELD_BOUNDARY 16
                     70: 
                     71: /* Every structure or union's size must be a multiple of 2 bytes.  */
                     72: 
                     73: #define STRUCTURE_SIZE_BOUNDARY 16
                     74: 
                     75: /* This is BSD, so it wants DBX format.  */
                     76: 
                     77: #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.