From d66cf46312d63482f9ea63d484e73cc08b0b93af Mon Sep 17 00:00:00 2001 From: corsepiu Date: Sat, 15 Jan 2005 08:38:53 +0000 Subject: [PATCH] 2005-01-15 Ralf Corsepius * 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/mips/rtems.h | 9 ++++++++- gcc/config/mips/t-rtems | 4 ++-- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 360e7d80bbe..3d6aba11fca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-01-15 Ralf Corsepius + + * 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. + 2005-01-15 Kazu Hirata * explow.c (copy_all_reg, stabilize): Remove. 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 -- 2.11.0