|
|
1.1 root 1: /* Definitions of target machine for GNU compiler, for AMD Am29000 CPU, Unix.
2: Copyright (C) 1991 Free Software Foundation, Inc.
3: Contributed by Richard Kenner ([email protected])
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:
22: /* This is mostly the same as a29k.h, except that we define unix instead of
23: EPI and define unix-style machine names. */
24:
25: #include "a29k.h"
26:
27: /* Set our default target to be the 29050; that is the more interesting chip
28: for Unix systems. */
29:
30: #undef TARGET_DEFAULT
31: #define TARGET_DEFAULT (1+2+8+64)
32:
33: #undef CPP_PREDEFINES
34: #define CPP_PREDEFINES "-Dam29k -Da29k -Dam29000"
35:
36: #undef CPP_SPEC
37: #define CPP_SPEC "%{!m29000:-Dam29050 -D__am29050__}"
38:
39: #undef LINK_SPEC
40: #define LINK_SPEC "-c /usr/lib/default.ld"
41:
42: /* We can't say "-lgcc" due to a bug in gld for now. */
43: #define LINK_LIBGCC_SPECIAL
44:
45: /* For some systems, it is best if double-word objects are aligned on a
46: doubleword boundary. We want to maintain compatibility with MetaWare in
47: a29k.h, but do not feel constrained to do so here. */
48:
49: #undef BIGGEST_ALIGNMENT
50: #define BIGGEST_ALIGNMENT 64
1.1.1.2 ! root 51:
! 52: #if 0 /* This would be needed except that the 29k doesn't have strict
! 53: alignment requirements. */
! 54:
! 55: #define FUNCTION_ARG_BOUNDARY(MODE, TYPE) \
! 56: (((TYPE) != 0) \
! 57: ? ((TYPE_ALIGN(TYPE) <= PARM_BOUNDARY) \
! 58: ? PARM_BOUNDARY \
! 59: : TYPE_ALIGN(TYPE)) \
! 60: : ((GET_MODE_ALIGNMENT(MODE) <= PARM_BOUNDARY) \
! 61: ? PARM_BOUNDARY \
! 62: : GET_MODE_ALIGNMENT(MODE)))
! 63: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.