Add SB-1 specific multilib support. Patch by Fred Fish.

* config/mips/t-sb1: New file.
* config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
tmake_file list.

From-SVN: r115024
This commit is contained in:
Fred Fish 2006-06-26 21:16:30 +00:00 committed by Jim Wilson
parent ff485e71cf
commit f340b6fc9b
3 changed files with 51 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-06-26 Fred Fish <fnf@specifix.com>
* config/mips/t-sb1: New file.
* config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
tmake_file list.
2006-06-26 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.

View File

@ -1553,7 +1553,7 @@ mipsisa64sr71k-*-elf*)
;;
mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
tm_file="elfos.h ${tm_file} mips/elf.h"
tmake_file=mips/t-elf
tmake_file="mips/t-elf mips/t-sb1"
target_cpu_default="MASK_64BIT|MASK_FLOAT64"
tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sb1\\\" MIPS_ABI_DEFAULT=ABI_O64"
use_fixproto=yes

44
gcc/config/mips/t-sb1 Normal file
View File

@ -0,0 +1,44 @@
# GP-rel: G0 only
#
# Endianness: EB or EL
#
# ABIs: mabi=32
# mabi=o64
# mabi=o64/mlong64
#
# FPU: (default mhard-float)
# msoft-float (only for mabi=32)
#
MULTILIB_EXTRA_OPTS = G0
MULTILIB_OPTIONS = \
EB/EL \
mabi=32/mabi=o64 \
mips32/mips64 \
mlong64/msoft-float \
MULTILIB_DIRNAMES = \
eb el \
o32 o64 \
mips32 mips64 \
long64 soft-float \
MULTILIB_MATCHES = \
EB=meb EL=mel \
MULTILIB_EXCEPTIONS = \
*mabi=32/*mlong64* \
MULTILIB_EXCLUSIONS = \
mips32/!mabi=32 \
mabi=32/!mips32 \
msoft-float/!mabi=32 \
# Small multilib list for quick builds and tests.
# Must either comment out everything above these lines, or everything below
# these lines.
#MULTILIB_OPTIONS = EB/EL msoft-float
#MULTILIB_DIRNAMES = eb el soft-float
#MULTILIB_MATCHES = EB=meb EL=mel