diff options
author | Fred Fish <fnf@specifix.com> | 2006-06-26 21:16:30 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2006-06-26 14:16:30 -0700 |
commit | f340b6fc9b01ed074b92c8f386d1d85fa96ee4e3 (patch) | |
tree | 08d4ee8a6df15e6a8ca8fc0b2b55b1b8391b5f18 | |
parent | ff485e71cf8f300fc80c6e8c9ca0b0fd0c3590ca (diff) | |
download | gcc-f340b6fc9b01ed074b92c8f386d1d85fa96ee4e3.zip gcc-f340b6fc9b01ed074b92c8f386d1d85fa96ee4e3.tar.gz gcc-f340b6fc9b01ed074b92c8f386d1d85fa96ee4e3.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/mips/t-sb1 | 44 |
3 files changed, 51 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6066846..6ff1846 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config.gcc b/gcc/config.gcc index b184a40..a4b1fb3 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 diff --git a/gcc/config/mips/t-sb1 b/gcc/config/mips/t-sb1 new file mode 100644 index 0000000..b181bb7 --- /dev/null +++ b/gcc/config/mips/t-sb1 @@ -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 |