summaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-sb1
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-26 21:16:30 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-26 21:16:30 +0000
commit68b7722621ddb5a3599965f7ba30a704b0deb779 (patch)
tree08d4ee8a6df15e6a8ca8fc0b2b55b1b8391b5f18 /gcc/config/mips/t-sb1
parent54536dfe44f9ad18006cd7c9e2e1fd7a63ec8f4c (diff)
downloadgcc-68b7722621ddb5a3599965f7ba30a704b0deb779.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115024 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/t-sb1')
-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 00000000000..b181bb7d00c
--- /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