summaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-vxworks
blob: ac2fa9d9f38e75e2f8fa603e9a57271960bafa00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (C) 2003, 2007 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GCC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.

# Multilibs for VxWorks.  We want these 8 architecture combinations:
#
#    {-mips2,-mips3} x {-EB,-EL} x {-mhard-float,-msoft-float}
#
# where the first option in each group is the default.  The -mips2
# multilibs use o32 and the -mips3 multilibs use o64.
#
# We want three multilibs for each architecture combination:
# default (kernel mode), -mrtp and -mrtp/-fPIC.
MULTILIB_OPTIONS = mabi=o64 mips3 EL msoft-float mrtp fPIC
MULTILIB_DIRNAMES = o64 mips3 EL msoft-float mrtp pic
MULTILIB_MATCHES = EL=mel fPIC=fpic
MULTILIB_EXCEPTIONS = mips3* mabi=o64 fPIC \
		      $(addprefix mabi=o64/, EL* msoft-float* mrtp* fPIC*) \
		      $(addsuffix /fPIC, *mabi=o64 *mips3 *EL *msoft-float)

MUTLILIB_EXTRA_OPTS = -G 0 -mno-branch-likely