|
|
1.1 root 1: /* Target definitions for GNU compiler for Alliant FX/2800 w/Concentrix 2.x
2: Copyright (C) 1991 Free Software Foundation, Inc.
3:
4: Written by Ron Guilmette ([email protected]).
5:
6: This file is part of GNU CC.
7:
8: GNU CC is free software; you can redistribute it and/or modify
9: it under the terms of the GNU General Public License as published by
10: the Free Software Foundation; either version 2, or (at your option)
11: any later version.
12:
13: GNU CC is distributed in the hope that it will be useful,
14: but WITHOUT ANY WARRANTY; without even the implied warranty of
15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: GNU General Public License for more details.
17:
18: You should have received a copy of the GNU General Public License
19: along with GNU CC; see the file COPYING. If not, write to
20: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21:
22: /* The Alliant fx2800 running Concentrix 2.1 is weird. This is basically
23: a BSD 4.3 based operating system, but it runs svr4 ELF format object
24: files and it somehow puts BSD stabs records into the ELF files for
25: symbolic debug information. It also seems to use the assembler from
26: the svr4 reference port, but that assembler has probably been hacked
27: slightly to allow the BSD stabs to be smuggled in.
28:
29: Given that we need to use svr4-style pseudo-ops, and given that the
30: target object file format is ELF, we just include "i860v4.h" here so
31: as to pick-up a set of defines appropriate for for an svr4/ELF target
32: and then we just override the few things that are special for the FX/2800
33: and Concentrix. */
34:
35: #include "i860v4.h"
36:
37: #undef DWARF_DEBUGGING_INFO
38: #define DBX_DEBUGGING_INFO
39:
40: /* Provide a set of pre-definitions and pre-assertions appropriate for
41: the i860 running Concentrix 2.1. */
42:
43: #undef CPP_PREDEFINES
44: #define CPP_PREDEFINES "-Di860 -Dunix -DBSD4_3 -Dalliant -Asystem(unix) -Acpu(i860) -Amachine(i860)"
45:
46: /* Undefine some things defined in i860.h because the native C compiler
47: on the FX/2800 emits code to do these operations inline. For GCC,
48: we will use the default implementation of these things... i.e.
49: generating calls to libgcc1.c routines. */
50:
51: #undef DIVSI3_LIBCALL
52: #undef UDIVSI3_LIBCALL
53: #undef REMSI3_LIBCALL
54: #undef UREMSI3_LIBCALL
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.