summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-10 02:25:41 +0000
committercorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-10 02:25:41 +0000
commit2137eaa90173fa81d14f80e05099670c2354d401 (patch)
treed6b67fec3ce0d0cd913134647872795a81c7196e
parent61d01abc6b403860e1bfaeac6f3e1c00c99a7920 (diff)
downloadgcc-2137eaa90173fa81d14f80e05099670c2354d401.tar.gz
2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* config/mips/t-rtems: Add EL/EB multilib variants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114537 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/t-rtems17
2 files changed, 18 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4cde87ade84..c3e3980aff8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-09 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * config/mips/t-rtems: Add EL/EB multilib variants.
+
2006-06-09 Mike Stump <mrs@apple.com>
* c-typeck.c (c_begin_vm_scope): Fix file_scope processing.
diff --git a/gcc/config/mips/t-rtems b/gcc/config/mips/t-rtems
index 742e4e32db6..b012100415a 100644
--- a/gcc/config/mips/t-rtems
+++ b/gcc/config/mips/t-rtems
@@ -1,5 +1,16 @@
# Custom multilibs for RTEMS
-MULTILIB_OPTIONS = mips1/mips3/mips32 msoft-float/msingle-float
-MULTILIB_DIRNAMES = mips1 mips3 mips32 soft-float single
-MULTILIB_MATCHES = msingle-float=m4650
+# default is mips1 EB hard-float
+MULTILIB_OPTIONS = mips1/mips3/mips32 EB/EL msoft-float
+MULTILIB_DIRNAMES = mips1 mips3 mips32 eb el soft-float
+MULTILIB_MATCHES = EL=mel EB=meb
+
+MULTILIB_EXCEPTIONS =
+
+# Big endian only
+MULTILIB_EXCEPTIONS += EL*
+MULTILIB_EXCEPTIONS += mips32/EL*
+
+# Little endian only
+MULTILIB_EXCEPTIONS += mips3
+MULTILIB_EXCEPTIONS += mips3/msoft-float