1# Copyright (C) 2003-2015 Free Software Foundation, Inc. 2# 3# This file is part of GCC. 4# 5# GCC is free software; you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation; either version 3, or (at your option) 8# any later version. 9# 10# GCC is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with GCC; see the file COPYING3. If not see 17# <http://www.gnu.org/licenses/>. 18 19# Multilibs for VxWorks. We want these 8 architecture combinations: 20# 21# {-mips2,-mips3} x {-EB,-EL} x {-mhard-float,-msoft-float} 22# 23# where the first option in each group is the default. The -mips2 24# multilibs use o32 and the -mips3 multilibs use o64. 25# 26# We want three multilibs for each architecture combination: 27# default (kernel mode), -mrtp and -mrtp/-fPIC. 28MULTILIB_OPTIONS = mabi=o64 mips3 EL msoft-float mrtp fPIC 29MULTILIB_DIRNAMES = o64 mips3 EL msoft-float mrtp pic 30MULTILIB_MATCHES = EL=mel fPIC=fpic 31MULTILIB_EXCEPTIONS = mips3* mabi=o64 fPIC \ 32 $(addprefix mabi=o64/, EL* msoft-float* mrtp* fPIC*) \ 33 $(addsuffix /fPIC, *mabi=o64 *mips3 *EL *msoft-float) 34 35MULTILIB_EXTRA_OPTS = -G 0 -mno-branch-likely 36