# Wind River GNU/Linux Configuration.
# Copyright (C) 2006, 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/>.

# We want little-endian ARM 926 and big-endian IWMMXT libraries.
MULTILIB_OPTIONS = muclibc tarm926ej-s/tiwmmxt/txscale/tarm920t/tthumb2
MULTILIB_OPTIONS += mfloat-abi=softfp
MULTILIB_DIRNAMES = uclibc tarm926ej-s tiwmmxt txscale tarm920t thumb2
MULTILIB_DIRNAMES += softfp

MULTILIB_EXCEPTIONS = *muclibc*/*tarm920t*

MULTILIB_EXCEPTIONS += *tiwmmxt*/*mfloat-abi=softfp*
MULTILIB_EXCEPTIONS += *txscale*/*mfloat-abi=softfp*
MULTILIB_EXCEPTIONS += *tarm920t*/*mfloat-abi=softfp*
MULTILIB_EXCEPTIONS += *thumb2*/*mfloat-abi=softfp*

MULTILIB_MATCHES = tiwmmxt=tiwmmxt2

# These files must be built for each multilib.
EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o

