|
|
1.1 root 1: /* Definitions of target machine for GNU compiler.
2: Intel 386 (OSF/1 with ELF) version.
3: Copyright (C) 1993 Free Software Foundation, Inc.
4:
5: This file is part of GNU CC.
6:
7: GNU CC is free software; you can redistribute it and/or modify
8: it under the terms of the GNU General Public License as published by
9: the Free Software Foundation; either version 2, or (at your option)
10: any later version.
11:
12: GNU CC is distributed in the hope that it will be useful,
13: but WITHOUT ANY WARRANTY; without even the implied warranty of
14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: GNU General Public License for more details.
16:
17: You should have received a copy of the GNU General Public License
18: along with GNU CC; see the file COPYING. If not, write to
19: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20:
21: #include "config/i386/osfrose.h"
22:
23: #undef CPP_PREDEFINES
1.1.1.2 ! root 24: #define CPP_PREDEFINES "-DOSF -DOSF1 -Dunix -Di386 -Asystem(unix) -Asystem(xpg4) -Acpu(i386) -Amachine(i386)"
1.1 root 25:
26: #undef CPP_SPEC
27: #define CPP_SPEC "\
1.1.1.2 ! root 28: %{mrose: -D__ROSE__ %{!pic-none: -D__SHARED__}} \
! 29: %{!mrose: -D__ELF__ %{fpic: -D__SHARED__}} \
! 30: %{mno-underscores: -D__NO_UNDERSCORES__} \
! 31: %{!mrose: %{!munderscores: -D__NO_UNDERSCORES__}} \
1.1 root 32: %{.S: %{!ansi:%{!traditional:%{!traditional-cpp:%{!ftraditional: -traditional}}}}} \
33: %{.S: -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
34: %{.cc: -D__LANGUAGE_C_PLUS_PLUS} \
35: %{.cxx: -D__LANGUAGE_C_PLUS_PLUS} \
36: %{.C: -D__LANGUAGE_C_PLUS_PLUS} \
37: %{.m: -D__LANGUAGE_OBJECTIVE_C} \
38: %{!.S: -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
39:
40: /* Turn on -mpic-extern by default (change to later use -fpic. */
41: #undef CC1_SPEC
42: #define CC1_SPEC "\
1.1.1.2 ! root 43: %{!melf: %{!mrose: -melf }} \
! 44: %{!mrose: %{!munderscores: %{!mno-underscores: -mno-underscores }}} \
1.1 root 45: %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
1.1.1.2 ! root 46: %{mrose: %{pic-none: -mno-half-pic} \
! 47: %{pic-extern: } %{pic-lib: } %{pic-calls: } %{pic-names*: } \
! 48: %{!pic-none: -mhalf-pic }}"
1.1 root 49:
50: #undef ASM_SPEC
51: #define ASM_SPEC "%{v*: -v}"
52:
53: #undef LINK_SPEC
1.1.1.2 ! root 54: #define LINK_SPEC "%{v*: -v} \
! 55: %{mrose: %{!noshrlib: %{pic-none: -noshrlib} %{!pic-none: -warn_nopic}} \
! 56: %{nostdlib} %{noshrlib} %{glue}} \
! 57: %{!mrose: %{dy} %{dn} %{glue: } \
! 58: %{h*} %{z*} \
! 59: %{static:-dn -Bstatic} \
! 60: %{shared:-G -dy} \
! 61: %{symbolic:-Bsymbolic -G -dy} \
! 62: %{G:-G} \
! 63: %{!dy: %{!dn: %{!static: %{!shared: %{!symbolic: \
! 64: %{noshrlib: -dn } %{pic-none: -dn } \
! 65: %{!noshrlib: %{!pic-none: -dy}}}}}}}}"
1.1 root 66:
67: #undef TARGET_VERSION_INTERNAL
68: #undef TARGET_VERSION
69:
70: #undef I386_VERSION
71: #define I386_VERSION " 80386, ELF objects"
72:
73: #define TARGET_VERSION_INTERNAL(STREAM) fputs (I386_VERSION, STREAM)
74: #define TARGET_VERSION TARGET_VERSION_INTERNAL (stderr)
75:
76: #undef OBJECT_FORMAT_ROSE
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.