summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorcorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-15 08:38:53 +0000
committercorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-15 08:38:53 +0000
commitd66cf46312d63482f9ea63d484e73cc08b0b93af (patch)
tree48ad5c62fe4ee5178094efbd6ff9d2d70d4d9ee1 /gcc/config/mips
parent8a7294450f1e1a88725a2509e9a743713a37f479 (diff)
downloadgcc-d66cf46312d63482f9ea63d484e73cc08b0b93af.tar.gz
2005-01-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* config/mips/rtems.h (MIPS_DEFAULT_GVALUE): Set to 0. * config/mips/t-rtems (MULTILIBS_DIRNAMES,MULTILIB_OPTIONS): Remove little endian multilib variants. Add mips32 multilib variant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93690 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/rtems.h9
-rw-r--r--gcc/config/mips/t-rtems4
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/config/mips/rtems.h b/gcc/config/mips/rtems.h
index 36d024ad3dd..91f43734e25 100644
--- a/gcc/config/mips/rtems.h
+++ b/gcc/config/mips/rtems.h
@@ -1,5 +1,6 @@
/* Definitions for rtems targeting a MIPS using ELF.
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2005
+ Free Software Foundation, Inc.
Contributed by Joel Sherrill (joel@OARcorp.com).
This file is part of GCC.
@@ -27,3 +28,9 @@ do { \
builtin_define ("__USE_INIT_FINI__"); \
builtin_assert ("system=rtems"); \
} while (0)
+
+/* No sdata.
+ * The RTEMS BSPs expect -G0
+ */
+#undef MIPS_DEFAULT_GVALUE
+#define MIPS_DEFAULT_GVALUE 0
diff --git a/gcc/config/mips/t-rtems b/gcc/config/mips/t-rtems
index bd7b7adf467..742e4e32db6 100644
--- a/gcc/config/mips/t-rtems
+++ b/gcc/config/mips/t-rtems
@@ -1,5 +1,5 @@
# Custom multilibs for RTEMS
-MULTILIB_OPTIONS = mips1/mips3 msoft-float/msingle-float EL/EB
-MULTILIB_DIRNAMES = mips1 mips3 soft-float single el eb
+MULTILIB_OPTIONS = mips1/mips3/mips32 msoft-float/msingle-float
+MULTILIB_DIRNAMES = mips1 mips3 mips32 soft-float single
MULTILIB_MATCHES = msingle-float=m4650