1# Multilibs for powerpc RTEMS targets. 2# 3# Copyright (C) 2004-2018 Free Software Foundation, Inc. 4# 5# This file is part of GCC. 6# 7# GCC is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by 9# the Free Software Foundation; either version 3, or (at your option) 10# any later version. 11# 12# GCC is distributed in the hope that it will be useful, 13# but WITHOUT ANY WARRANTY; without even the implied warranty of 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15# GNU General Public License for more details. 16# 17# You should have received a copy of the GNU General Public License 18# along with GCC; see the file COPYING3. If not see 19# <http://www.gnu.org/licenses/>. 20 21MULTILIB_OPTIONS = 22MULTILIB_DIRNAMES = 23MULTILIB_MATCHES = 24MULTILIB_EXCEPTIONS = 25MULTILIB_REQUIRED = 26 27MULTILIB_OPTIONS += mcpu=403/mcpu=505/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540/mcpu=e6500 28MULTILIB_DIRNAMES += m403 m505 m603e m604 m860 m7400 m8540 me6500 29 30MULTILIB_OPTIONS += m32/m64 31MULTILIB_DIRNAMES += m32 m64 32 33MULTILIB_OPTIONS += msoft-float 34MULTILIB_DIRNAMES += nof 35 36MULTILIB_OPTIONS += mno-altivec 37MULTILIB_DIRNAMES += noaltivec 38 39MULTILIB_MATCHES += ${MULTILIB_MATCHES_ENDIAN} 40MULTILIB_MATCHES += ${MULTILIB_MATCHES_SYSV} 41# Map 405 to 403 42MULTILIB_MATCHES += mcpu?403=mcpu?405 43# Map 602, 603e, 603 to 603e 44MULTILIB_MATCHES += mcpu?603e=mcpu?602 45MULTILIB_MATCHES += mcpu?603e=mcpu?603 46# Map 801, 821, 823 to 860 47MULTILIB_MATCHES += mcpu?860=mcpu?801 48MULTILIB_MATCHES += mcpu?860=mcpu?821 49MULTILIB_MATCHES += mcpu?860=mcpu?823 50# Map 7450 to 7400 51MULTILIB_MATCHES += mcpu?7400=mcpu?7450 52 53# Map 750 to . 54MULTILIB_MATCHES += mcpu?750= 55 56# Map 8548 to 8540 57MULTILIB_MATCHES += mcpu?8540=mcpu?8548 58 59# Enumeration of multilibs 60 61MULTILIB_REQUIRED += msoft-float 62MULTILIB_REQUIRED += mcpu=403 63MULTILIB_REQUIRED += mcpu=505 64MULTILIB_REQUIRED += mcpu=603e 65MULTILIB_REQUIRED += mcpu=603e/msoft-float 66MULTILIB_REQUIRED += mcpu=604 67MULTILIB_REQUIRED += mcpu=604/msoft-float 68MULTILIB_REQUIRED += mcpu=7400 69MULTILIB_REQUIRED += mcpu=7400/msoft-float 70MULTILIB_REQUIRED += mcpu=8540 71MULTILIB_REQUIRED += mcpu=8540/msoft-float 72MULTILIB_REQUIRED += mcpu=860 73MULTILIB_REQUIRED += mcpu=e6500/m32 74MULTILIB_REQUIRED += mcpu=e6500/m32/msoft-float/mno-altivec 75MULTILIB_REQUIRED += mcpu=e6500/m64 76