aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2006-06-26 21:16:30 +0000
committerJim Wilson <wilson@gcc.gnu.org>2006-06-26 14:16:30 -0700
commitf340b6fc9b01ed074b92c8f386d1d85fa96ee4e3 (patch)
tree08d4ee8a6df15e6a8ca8fc0b2b55b1b8391b5f18 /gcc/config/mips
parentff485e71cf8f300fc80c6e8c9ca0b0fd0c3590ca (diff)
downloadgcc-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
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/t-sb144
1 files changed, 44 insertions, 0 deletions
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