Annotation of gcc/config/m68k/vxm68k.h, revision 1.1.1.1

1.1       root        1: /* Definitions of target machine for GNU compiler.  Vxworks m68k version.
                      2:    Copyright (C) 1994 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, 59 Temple Place - Suite 330,
                     19: Boston, MA 02111-1307, USA.  */
                     20: 
                     21: /* This comment is here to see if it will keep Sun's cpp from dying.  */
                     22: 
                     23: #define CPP_PREDEFINES "-Dmc68000 -D__vxworks -D__vxworks_5 -Acpu(m68k) -Amachine(m68k)"
                     24: 
                     25: /* Vxworks header files require that the macro CPU be set, so we must override
                     26:    the CPP_SPEC from m68k-none.h.  */
                     27: 
                     28: #define CPP_SPEC \
                     29: "%{!mc68000:%{!m68000:%{!m68332:%{!msoft-float:%{mfpa:-D__HAVE_FPA__ }%{!mfpa:-D__HAVE_68881__ }}}}}\
                     30: %{!ansi:%{m68000:-DCPU=MC68000 }%{m68010:-Dmc68010 -DCPU=MC68010 }%{m68020:-Dmc68020 -DCPU=MC68020 }%{mc68020:-Dmc68020 -DCPU=MC68020 }%{m68030:-Dmc68030 -DCPU=MC68030 }%{m68040:-Dmc68040 -DCPU=MC68040 }%{m68020-40:-Dmc68020 -Dmc68030 -Dmc68040 -DCPU=MC68020 }%{m68302:-Dmc68302 -DCPU=MC68000 }%{m68332:-Dmc68332 -DCPU=CPU32 }%{!mc68000:%{!m68000:%{!m68010:%{!mc68020:%{!m68020:%{!m68030:%{!m68040:%{!m68020-40:%{!m68302:%{!m68332:-Dmc68020 -DCPU=MC68020 }}}}}}}}}}}\
                     31: %{m68010:-D__mc68010__ -D__mc68010 }%{m68020:-D__mc68020__ -D__mc68020 }%{mc68020:-D__mc68020__ -D__mc68020 }%{m68030:-D__mc68030__ -D__mc68030 }%{m68040:-D__mc68040__ -D__mc68040 }%{m68020-40:-D__mc68020__ -D__mc68030__ -D__mc68040__ -D__mc68020 -D__mc68030 -D__mc68040 }%{m68302:-D__mc68302__ -D__mc68302 }%{m68332:-D__mc68332__ -D__mc68332 }%{!mc68000:%{!m68000:%{!m68010:%{!mc68020:%{!m68020:%{!m68030:%{!m68040:%{!m68020-40:%{!m68302:%{!m68332:-D__mc68020__ -D__mc68020 }}}}}}}}}}"
                     32: 
                     33: #include "m68k/m68k-none.h"
                     34: #include "aoutos.h"
                     35: 
                     36: #define DBX_DEBUGGING_INFO
                     37: #undef SDB_DEBUGGING_INFO
                     38: 
                     39: #undef WCHAR_TYPE
                     40: #define WCHAR_TYPE "short unsigned int"
                     41: #undef SIZE_TYPE
                     42: #define SIZE_TYPE "long unsigned int"
                     43: 
                     44: /* VxWorks does all the library stuff itself.  */
                     45: 
                     46: #define LIB_SPEC ""
                     47: 
                     48: /* Provide required defaults for linker -e. */
                     49:  
                     50: #define LINK_SPEC "%{!nostdlib:%{!r*:%{!e*:-e start}}}"
                     51: 
                     52: /* VxWorks provides the functionality of crt0.o and friends itself.  */
                     53: 
                     54: #define STARTFILE_SPEC ""
                     55: 
                     56: /* Every structure or union's size must be a multiple of 2 bytes.  */
                     57: 
                     58: #define STRUCTURE_SIZE_BOUNDARY 16
                     59: 
                     60: /* Allow folding division by zero.  */
                     61: #define REAL_INFINITY
                     62: 
                     63: /* GCC is the primary compiler for VxWorks, so we don't need this.  */
                     64: #undef PCC_STATIC_STRUCT_RETURN

unix.superglobalmegacorp.com

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