OSDN Git Service

2011-07-11 Arthur Loiret <aloiret@debian.org>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jul 2011 11:22:15 +0000 (11:22 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jul 2011 11:22:15 +0000 (11:22 +0000)
commitb167b87ffa239c9cd4d39ee472476a799e7c178a
tree3ceae419a24876fa4fbfb9c66d24a0142b0e3279
parentb1b0dde1d68b5c69b01aa300f950e8d72a9907b3
2011-07-11  Arthur Loiret  <aloiret@debian.org>
            Matthias Klose <doko@debian.org>

        * config.gcc (mips*-*-linux*): If 'enabled_targets' is 'all', build
        a tri-arch compiler defaulting to 32-bit (ABI o32). In this case:
        (tm_file): Add mips/linux64.h.
        (tmake_file): Add mips/t-linux64.
        (tm_defines): Add MIPS_ABI_DEFAULT=ABI_32.
        * config/mips/linux64.h (DRIVER_SELF_SPECS): Use MULTILIB_ABI_DEFAULT
        instead of hardcoded mabi=n32.
        * config/mips/t-linux64 (MULTILIB_DIRNAMES): Set to 'n32 . 64' if
        tm_defines contains MIPS_ABI_DEFAULT ABI_32, to follow the glibc
        convention.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176145 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/linux64.h
gcc/config/mips/t-linux64