|
|
1.1 ! root 1: /* Definitions for Motorola m68k running Linux ! 2: Copyright (C) 1995 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 1, 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: #include <m68k/m68k.h> ! 22: #include <linux-aout.h> ! 23: ! 24: /* 68020 with 68881 */ ! 25: #define TARGET_DEFAULT 7 ! 26: ! 27: #define DBX_DEBUGGING_INFO ! 28: ! 29: #define CPP_PREDEFINES \ ! 30: "-Dunix -Dmc68000 -Dmc68020 -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(m68k) -Amachine(m68k)" ! 31: ! 32: #undef CPP_SPEC ! 33: #if TARGET_DEFAULT & 2 ! 34: #define CPP_SPEC \ ! 35: "%{!msoft-float:-D__HAVE_68881__} %{posix:-D_POSIX_SOURCE}" ! 36: #else ! 37: #define CPP_SPEC \ ! 38: "%{m68881:-D__HAVE_68881__} %{posix:-D_POSIX_SOURCE}" ! 39: #endif ! 40: ! 41: #undef SUBTARGET_SWITCHES ! 42: #define SUBTARGET_SWITCHES {"ieee-fp", 0}, ! 43: ! 44: #undef ASM_SPEC ! 45: #define ASM_SPEC \ ! 46: "%{m68030} %{m68040} %{fpic:-k} %{fPIC:-k}" ! 47: ! 48: #undef LIB_SPEC ! 49: #if 1 ! 50: /* We no longer link with libc_p.a or libg.a by default. If you want ! 51: to profile or debug the Linux C library, please add -lc_p or -ggdb ! 52: to LDFLAGS at the link time, respectively. */ ! 53: #define LIB_SPEC \ ! 54: "%{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}" ! 55: #else ! 56: #define LIB_SPEC \ ! 57: "%{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}" ! 58: #endif ! 59: ! 60: /* We want to pass -v to linker */ ! 61: #undef LINK_SPEC ! 62: #define LINK_SPEC "-m m68klinux %{v:-dll-verbose}" ! 63: ! 64: #define SIZE_TYPE "unsigned int" ! 65: #define PTRDIFF_TYPE "int" ! 66: ! 67: /* Generate calls to memcpy, memcmp and memset. */ ! 68: #define TARGET_MEM_FUNCTIONS ! 69: ! 70: /* Don't default to pcc-struct-return, because gcc is the only compiler. */ ! 71: #undef PCC_STATIC_STRUCT_RETURN ! 72: #define DEFAULT_PCC_STRUCT_RETURN 0 ! 73: ! 74: /* Allow folding division by zero. */ ! 75: #define REAL_INFINITY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.