]>
Commit | Line | Data |
---|---|---|
992bcfac SE |
1 | /* Target macros for mips*-mti-elf targets. |
2 | Copyright (C) 2012 | |
3 | Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GCC. | |
6 | ||
7 | GCC 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 3, or (at your option) | |
10 | any later version. | |
11 | ||
12 | GCC 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 GCC; see the file COPYING3. If not see | |
19 | <http://www.gnu.org/licenses/>. */ | |
20 | ||
21 | #undef DRIVER_SELF_SPECS | |
22 | #define DRIVER_SELF_SPECS \ | |
23 | /* Make sure a -mips option is present. This helps us to pick \ | |
24 | the right multilib, and also makes the later specs easier \ | |
25 | to write. */ \ | |
26 | MIPS_ISA_LEVEL_SPEC, \ | |
27 | \ | |
28 | /* Infer the default float setting from -march. */ \ | |
29 | MIPS_ARCH_FLOAT_SPEC, \ | |
30 | \ | |
31 | /* Infer the -msynci setting from -march if not explicitly set. */ \ | |
32 | MIPS_ISA_SYNCI_SPEC, \ | |
33 | \ | |
34 | /* If no ABI option is specified, infer one from the ISA level \ | |
35 | or -mgp setting. */ \ | |
36 | "%{!mabi=*: %{" MIPS_32BIT_OPTION_SPEC ": -mabi=32;: -mabi=n32}}", \ | |
37 | \ | |
38 | /* Make sure that an endian option is always present. This makes \ | |
39 | things like LINK_SPEC easier to write. */ \ | |
40 | "%{!EB:%{!EL:%(endian_spec)}}", \ | |
41 | \ | |
42 | /* Configuration-independent MIPS rules. */ \ | |
43 | BASE_DRIVER_SELF_SPECS |