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

1.1       root        1: /* Definitions of target machine for GNU compiler.
1.1.1.3 ! root        2:    Copyright (C) 1990, 1994 Free Software Foundation, Inc.
1.1       root        3: 
                      4:    Written by Randy Welch
                      5:    Send bug reports, questions and improvements to any of the following
                      6:    addresses:
                      7: 
1.1.1.3 ! root        8:    [email protected]
        !             9:    [email protected]
        !            10:    [email protected]
        !            11:    [email protected]        Plexus users mailing list
        !            12: 
        !            13:    For 680X0 based Plexus Computers running SYSVR2
        !            14: 
        !            15:    The Plexus port of gcc requires you to use gas ( either 1.3X with COFF 
        !            16:    patches or 2.X ),  If you use gas 2.X you have to use binutils-2.X.
        !            17:       
        !            18:    With using gas-2.X the Plexus gcc port is now capabable of generating
        !            19:    output suitable for use by gdb-4.X ( send mail to above address for
        !            20:    info on getting gdb patches or other GNU items for the Plexus )
1.1       root       21: 
                     22:    This is configured for label output default by gas as LXXX instead of
                     23:    plexus cc/as combination requires .LXXX
                     24: 
                     25: This file is part of GNU CC.
                     26: 
                     27: GNU CC is free software; you can redistribute it and/or modify
                     28: it under the terms of the GNU General Public License as published by
                     29: the Free Software Foundation; either version 1, or (at your option)
                     30: any later version.
                     31: 
                     32: GNU CC is distributed in the hope that it will be useful,
                     33: but WITHOUT ANY WARRANTY; without even the implied warranty of
                     34: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     35: GNU General Public License for more details.
                     36: 
                     37: You should have received a copy of the GNU General Public License
                     38: along with GNU CC; see the file COPYING.  If not, write to
                     39: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
                     40: 
                     41: 
                     42: #include "m68k/m68k.h"
                     43: 
                     44: /* Define __HAVE_68881 in preprocessor only if -m68881 is specified.
                     45:    This will control the use of inline 68881 insns in certain macros. */
                     46: 
                     47: #define TARGET_DEFAULT 5                      /* set to 5 if on a '020 box */
                     48: 
                     49: /* Don't try using XFmode.  */
                     50: #undef LONG_DOUBLE_TYPE_SIZE
                     51: #define LONG_DOUBLE_TYPE_SIZE 64
                     52: 
                     53: #define CPP_SPEC "%{m68881:-D__HAVE_68881__}"
1.1.1.2   root       54: #define CPP_PREDEFINES "-Dm68 -Dunix -Dplexus -Asystem(unix)  -Acpu(m68k) -Amachine(m68k)"
1.1       root       55: 
                     56: #if TARGET_DEFAULT & 01
                     57: #define ASM_SPEC\
                     58: "%{m68000:-mc68000}%{mc68000:-mc68000}%{!mc68000:%{!m68000:-mc68020}}"
                     59: #undef STRICT_ALIGNMENT
                     60: #define STRICT_ALIGNMENT 0
                     61: #else
                     62: #define ASM_SPEC\
                     63: "%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!mc68020:-mc68000}}"
                     64: #endif
                     65: 
                     66: /***************************************************************************/
                     67: /*  Un comment the following if you want adb to be able to follow a core   */
                     68: /*  file if you compile a program with -O                                  */
                     69: /***************************************************************************/
                     70: /* #define FRAME_POINTER_REQUIRED */
                     71: 
                     72: /* Let's be compatible with the Plexus C compiler by default.  Why not?  */
                     73: #define PLEXUS_CC_COMPAT
                     74: 
                     75: #ifdef PLEXUS_CC_COMPAT
                     76: #define STRUCTURE_SIZE_BOUNDARY 16     /* for compatibility with cc */
                     77: #undef STACK_BOUNDARY
                     78: #define STACK_BOUNDARY 32              /* ditto */
                     79: #endif
                     80: 
                     81: #undef NEED_PROBE
                     82: #define NEED_PROBE -132                        /* plexus needs a stack probe */
                     83: 
1.1.1.3 ! root       84: /***********************************************************************/
        !            85: /* if you have binutils-2.X and gas-2.X running you can generate code  */
        !            86: /* that gdb can understand ( gdb support available for 4.11 )          */
        !            87: /*                                                                     */
        !            88: /* If you use gas-1.3X don't define this as the version of the coff    */
        !            89: /* patches for gas-1.3x ( stabs in coff ) does not generate coff debug */
        !            90: /* syms                                                                */
        !            91: /***********************************************************************/
        !            92: #define HAVE_GAS_2_X
        !            93: 
        !            94: #ifdef HAVE_GAS_2_X
        !            95: #undef DBX_DEBUGGING_INFO
        !            96: #define SDB_DEBUGGING_INFO
        !            97: 
        !            98: #undef ASM_FILE_START
        !            99: #define ASM_FILE_START(FILE) \
        !           100:   output_file_directive((FILE), main_input_filename)
        !           101: 
        !           102: #else
1.1       root      103: #undef DBX_DEBUGGING_INFO              /* no real debugger */
                    104: #undef SDB_DEBUGGING_INFO
1.1.1.3 ! root      105: #endif
1.1       root      106: #define TARGET_MEM_FUNCTIONS
                    107: 
                    108: /***********************************************************************/
                    109: /*                          items for collect2                         */
                    110: /***********************************************************************/
                    111: 
                    112: #define NM_FLAGS ""
                    113: #define NO_SYS_SIGLIST
                    114: #define NO_DUP2
                    115: 
                    116: #define SIZE_TYPE "int"

unix.superglobalmegacorp.com

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