]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/mips/elfoabi.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / mips / elfoabi.h
CommitLineData
e2c14f5d
RS
1/* Target macros for mips*-elf targets that selected between o32 and o64
2 based on the target architecture.
8d9254fc 3 Copyright (C) 1994-2020 Free Software Foundation, Inc.
e2c14f5d
RS
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
2f83c7d6 9the Free Software Foundation; either version 3, or (at your option)
e2c14f5d
RS
10any later version.
11
12GCC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
2f83c7d6
NC
18along with GCC; see the file COPYING3. If not see
19<http://www.gnu.org/licenses/>. */
e2c14f5d 20
7f75ae86 21#undef DRIVER_SELF_SPECS
e2c14f5d 22#define DRIVER_SELF_SPECS \
fcd7669c
MF
23 /* Set the ISA for the default multilib. */ \
24 MIPS_DEFAULT_ISA_LEVEL_SPEC, \
25 \
0ea339ea
NS
26 /* Make sure a -mips option is present. This helps us to pick \
27 the right multilib, and also makes the later specs easier \
28 to write. */ \
e2c14f5d
RS
29 MIPS_ISA_LEVEL_SPEC, \
30 \
e2c14f5d
RS
31 /* If no ABI option is specified, infer one from the ISA level \
32 or -mgp setting. */ \
c388ce34 33 "%{!mabi=*: %{" MIPS_32BIT_OPTION_SPEC ": -mabi=32;: -mabi=o64}}", \
e2c14f5d
RS
34 \
35 /* Remove a redundant -mfp64 for -mabi=o64; we want the !mfp64 \
36 multilibs. There's no need to check whether the architecture \
37 is 64-bit; cc1 will complain if it isn't. */ \
7f75ae86
CM
38 "%{mabi=o64: %<mfp64}", \
39 \
40 /* Configuration-independent MIPS rules.*/ \
41 BASE_DRIVER_SELF_SPECS
42