OSDN Git Service

* config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}.
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / vr.h
1 /* Definitions of target machine for GNU compiler.
2    NEC VR Series Processors
3    Copyright (c) 2002 Free Software Foundation, Inc.
4    Contributed by Red Hat, Inc.
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
21
22 #define MIPS_CPU_STRING_DEFAULT "vr4100"
23 #define MULTILIB_DEFAULTS \
24         { MULTILIB_ENDIAN_DEFAULT, MULTILIB_ABI_DEFAULT, "march=vr4100" }
25
26 /* Make sure that -mlong64 always appears on the command line when
27    64-bit longs are needed.  Also make sure that -mgp32 doesn't appear
28    if it is redundant.  */
29 #define DRIVER_SELF_SPECS \
30         "%{mabi=eabi:%{!mlong*:%{!mgp32:-mlong64}}}", \
31         "%{mabi=32:%{<mgp32}}"