Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/rs6000/t-rtems @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
rev | line source |
---|---|
0 | 1 # Multilibs for powerpc RTEMS targets. |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
3 # Copyright (C) 2004, 2005, 2009 Free Software Foundation, Inc. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 # This file is part of GCC. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
6 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
7 # GCC is free software; you can redistribute it and/or modify |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
8 # it under the terms of the GNU General Public License as published by |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
9 # the Free Software Foundation; either version 3, or (at your option) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 # any later version. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
12 # GCC is distributed in the hope that it will be useful, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
15 # GNU General Public License for more details. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 # along with GCC; see the file COPYING3. If not see |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0 | 20 |
21 MULTILIB_OPTIONS = \ | |
22 mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \ | |
23 Dmpc8260 \ | |
24 msoft-float | |
25 | |
26 MULTILIB_DIRNAMES = \ | |
27 m403 m505 m601 m603e m604 m860 m7400 \ | |
28 mpc8260 \ | |
29 nof | |
30 | |
31 # MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} | |
32 MULTILIB_MATCHES = | |
33 MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN} | |
34 MULTILIB_MATCHES += ${MULTILIB_MATCHES_SYSV} | |
35 # Map 405 to 403 | |
36 MULTILIB_MATCHES += mcpu?403=mcpu?405 | |
37 # Map 602, 603e, 603 to 603e | |
38 MULTILIB_MATCHES += mcpu?603e=mcpu?602 | |
39 MULTILIB_MATCHES += mcpu?603e=mcpu?603 | |
40 # Map 801, 821, 823 to 860 | |
41 MULTILIB_MATCHES += mcpu?860=mcpu?801 | |
42 MULTILIB_MATCHES += mcpu?860=mcpu?821 | |
43 MULTILIB_MATCHES += mcpu?860=mcpu?823 | |
44 # Map 7450 to 7400 | |
45 MULTILIB_MATCHES += mcpu?7400=mcpu?7450 | |
46 | |
47 # Map 750 to . | |
48 MULTILIB_MATCHES += mcpu?750= | |
49 | |
50 # Soft-float only, default implies msoft-float | |
51 # NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES | |
52 MULTILIB_SOFTFLOAT_ONLY = \ | |
53 *mcpu=401/*msoft-float* \ | |
54 *mcpu=403/*msoft-float* \ | |
55 *mcpu=405/*msoft-float* \ | |
56 *mcpu=801/*msoft-float* \ | |
57 *mcpu=821/*msoft-float* \ | |
58 *mcpu=823/*msoft-float* \ | |
59 *mcpu=860/*msoft-float* | |
60 | |
61 # Hard-float only, take out msoft-float | |
62 MULTILIB_HARDFLOAT_ONLY = \ | |
63 *mcpu=505/*msoft-float* | |
64 | |
65 MULTILIB_EXCEPTIONS = | |
66 | |
67 # Disallow -Dppc and -Dmpc without other options | |
68 MULTILIB_EXCEPTIONS += Dppc* Dmpc* | |
69 | |
70 MULTILIB_EXCEPTIONS += \ | |
71 ${MULTILIB_SOFTFLOAT_ONLY} \ | |
72 ${MULTILIB_HARDFLOAT_ONLY} | |
73 | |
74 # Special rules | |
75 # Take out all variants we don't want | |
76 MULTILIB_EXCEPTIONS += *mcpu=403/Dmpc* | |
77 MULTILIB_EXCEPTIONS += *mcpu=505/Dmpc* | |
78 MULTILIB_EXCEPTIONS += *mcpu=601/Dmpc* | |
79 MULTILIB_EXCEPTIONS += *mcpu=604/Dmpc* | |
80 MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc* | |
81 MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc* | |
82 MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc* |