1 # Copyright (C) 2003-2017 Free Software Foundation, Inc.
3 # This file is part of GCC.
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)
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.
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/>.
19 # Multilibs for VxWorks. We want these 8 architecture combinations:
21 # {-mips2,-mips3} x {-EB,-EL} x {-mhard-float,-msoft-float}
23 # where the first option in each group is the default. The -mips2
24 # multilibs use o32 and the -mips3 multilibs use o64.
26 # We want three multilibs for each architecture combination:
27 # default (kernel mode), -mrtp and -mrtp/-fPIC.
28 MULTILIB_OPTIONS = mabi=o64 mips3 EL msoft-float mrtp fPIC
29 MULTILIB_DIRNAMES = o64 mips3 EL msoft-float mrtp pic
30 MULTILIB_MATCHES = EL=mel fPIC=fpic
31 MULTILIB_EXCEPTIONS = mips3* mabi=o64 fPIC \
32 $(addprefix mabi=o64/, EL* msoft-float* mrtp* fPIC*) \
33 $(addsuffix /fPIC, *mabi=o64 *mips3 *EL *msoft-float)
35 MULTILIB_EXTRA_OPTS = -G 0 -mno-branch-likely