]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/mips/mti-elf.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / mips / mti-elf.h
CommitLineData
992bcfac 1/* Target macros for mips*-mti-elf targets.
8d9254fc 2 Copyright (C) 2012-2020 Free Software Foundation, Inc.
992bcfac
SE
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 3, or (at your option)
9any later version.
10
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20#undef DRIVER_SELF_SPECS
21#define DRIVER_SELF_SPECS \
fcd7669c
MF
22 /* Set the ISA for the default multilib. */ \
23 MIPS_DEFAULT_ISA_LEVEL_SPEC, \
24 \
992bcfac
SE
25 /* Make sure a -mips option is present. This helps us to pick \
26 the right multilib, and also makes the later specs easier \
27 to write. */ \
28 MIPS_ISA_LEVEL_SPEC, \
29 \
30 /* Infer the default float setting from -march. */ \
31 MIPS_ARCH_FLOAT_SPEC, \
32 \
33 /* Infer the -msynci setting from -march if not explicitly set. */ \
34 MIPS_ISA_SYNCI_SPEC, \
35 \
36 /* If no ABI option is specified, infer one from the ISA level \
37 or -mgp setting. */ \
38 "%{!mabi=*: %{" MIPS_32BIT_OPTION_SPEC ": -mabi=32;: -mabi=n32}}", \
39 \
050af144
MF
40 /* If no FP ABI option is specified, infer one from the \
41 ABI/ISA level. */ \
6cf538da
RS
42 "%{!msoft-float: %{!msingle-float: %{!mfp*: %{!mmsa: %{mabi=32: %{" \
43 MIPS_FPXX_OPTION_SPEC ": -mfpxx}}}}}}", \
050af144 44 \
992bcfac
SE
45 /* Make sure that an endian option is always present. This makes \
46 things like LINK_SPEC easier to write. */ \
47 "%{!EB:%{!EL:%(endian_spec)}}", \
48 \
49 /* Configuration-independent MIPS rules. */ \
50 BASE_DRIVER_SELF_SPECS