From: Ralf Corsepius Date: Sat, 15 Jan 2005 08:38:53 +0000 (+0100) Subject: rtems.h (MIPS_DEFAULT_GVALUE): Set to 0. X-Git-Tag: releases/gcc-4.0.0~1559 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ba9f2a1e4ff069b076c47ec74e84d4a15380f3a;p=thirdparty%2Fgcc.git rtems.h (MIPS_DEFAULT_GVALUE): Set to 0. 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. From-SVN: r93690 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 360e7d80bbed..3d6aba11fca3 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 36d024ad3dd4..91f43734e25d 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 bd7b7adf4679..742e4e32db63 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