2011-08-22 Matthias Klose <doko@debian.org>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Aug 2011 11:21:55 +0000 (11:21 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Aug 2011 11:21:55 +0000 (11:21 +0000)
        Revert:
        2011-07-11  Arthur Loiret  <aloiret@debian.org>
                    Matthias Klose <doko@debian.org>
        * config/mips/t-linux64 (MULTILIB_DIRNAMES): Set to 'n32 . 64' if
        tm_defines contains MIPS_ABI_DEFAULT ABI_32, to follow the glibc
        convention.
        * config.gcc (tm_defines): Add MIPS_ABI_DEFAULT=ABI_32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177953 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/t-linux64

index 4793d03..76154f2 100644 (file)
@@ -1,3 +1,13 @@
+2011-08-22  Matthias Klose <doko@debian.org>
+
+       Revert:
+       2011-07-11  Arthur Loiret  <aloiret@debian.org>
+                   Matthias Klose <doko@debian.org>
+       * config/mips/t-linux64 (MULTILIB_DIRNAMES): Set to 'n32 . 64' if
+       tm_defines contains MIPS_ABI_DEFAULT ABI_32, to follow the glibc
+       convention.
+       * config.gcc (tm_defines): Add MIPS_ABI_DEFAULT=ABI_32.
+
 2011-08-22  Mikael Pettersson  <mikpe@it.uu.se>
 
        PR bootstrap/50146
index 7f29213..e8e0eeb 100644 (file)
@@ -1854,7 +1854,6 @@ mips*-*-linux*)                           # Linux MIPS, either endian.
        if test x$enable_targets = xall; then
                tm_file="${tm_file} mips/gnu-user64.h mips/linux64.h"
                tmake_file="${tmake_file} mips/t-linux64"
-               tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_32"
        fi
        case ${target} in
         mipsisa32r2*)
index e23743d..0e69517 100644 (file)
 # <http://www.gnu.org/licenses/>.
 
 MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
-ifneq ($(filter MIPS_ABI_DEFAULT=ABI_32,$(tm_defines)),)
-MULTILIB_DIRNAMES = n32 . 64
-else
 MULTILIB_DIRNAMES = n32 32 64
-endif
 MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64
 
 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o