|
|
1.1 ! root 1: /* Definitions of target machine for GNU compiler, for a 3b1 using GAS. ! 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: #include "m68k/m68k.h" ! 21: ! 22: /* See m68k.h. 0 means 68000 with no 68881. */ ! 23: #define TARGET_DEFAULT 0 ! 24: ! 25: /* Don't try using XFmode. */ ! 26: #undef LONG_DOUBLE_TYPE_SIZE ! 27: #define LONG_DOUBLE_TYPE_SIZE 64 ! 28: ! 29: /* Define __HAVE_68881 in preprocessor only if -m68881 is specified. ! 30: This will control the use of inline 68881 insns in certain macros. ! 31: Also inform the program which CPU this is for. */ ! 32: #define CPP_SPEC "%{m68881:-D__HAVE_68881__} \ ! 33: %{!ansi:%{m68020:-Dmc68020}%{mc68020:-Dmc68020}%{!mc68020:%{!m68020:-Dmc68010}}}" ! 34: ! 35: /* -m68020 requires special flags to the assembler. */ ! 36: #define ASM_SPEC \ ! 37: "%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!m68020:-mc68010}}" ! 38: ! 39: /* Names to predefine in the preprocessor for this target machine. */ ! 40: #define CPP_PREDEFINES "-Dmc68000 -Dmc68k -Dunix -Dunixpc -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" ! 41: ! 42: /* This is (not really) BSD, so (but) it wants DBX format. */ ! 43: #define DBX_DEBUGGING_INFO ! 44: ! 45: /* Brain damage. */ ! 46: #define SCCS_DIRECTIVE ! 47: ! 48: /* Specify how to pad function arguments. ! 49: Value should be `upward', `downward' or `none'. ! 50: Same as the default, except no padding for large or variable-size args. */ ! 51: #define FUNCTION_ARG_PADDING(MODE, TYPE) \ ! 52: (((MODE) == BLKmode \ ! 53: ? ((TYPE) && TREE_CODE (TYPE_SIZE (TYPE)) == INTEGER_CST \ ! 54: && int_size_in_bytes (TYPE) < PARM_BOUNDARY / BITS_PER_UNIT) \ ! 55: : GET_MODE_BITSIZE (MODE) < PARM_BOUNDARY) \ ! 56: ? downward : none) ! 57: ! 58: /* Override part of the obstack macros. */ ! 59: #define __PTR_TO_INT(P) ((int)(P)) ! 60: #define __INT_TO_PTR(P) ((char *)(P)) ! 61: ! 62: /* Every structure or union's size must be a multiple of 2 bytes. */ ! 63: #define STRUCTURE_SIZE_BOUNDARY 16 ! 64: ! 65: /* Generate calls to memcpy, memcmp and memset. */ ! 66: #define TARGET_MEM_FUNCTIONS ! 67:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.